diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 9e9835c3f78..07f37bb5b32 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2033,6 +2033,68 @@ components: required: false schema: $ref: "#/components/schemas/SecurityMonitoringSignalsSort" + RUMApplicationIDParameter: + description: RUM application ID. + in: path + name: app_id + required: true + schema: + type: string + RUMExclusionFilterApplicationIDParameter: + description: RUM application ID. + in: path + name: app_id + required: true + schema: + type: string + RUMExclusionFilterIDParameter: + description: Exclusion filter ID. + in: path + name: ef_id + required: true + schema: + type: string + RUMMetricIDParameter: + description: The name of the RUM-based metric, as returned in `data.id` by `ListRUMMetrics`. + in: path + name: metric_id + required: true + schema: + example: rum.sessions.web.count + type: string + RUMPermanentRetentionFilterIDParameter: + description: The identifier of the permanent RUM retention filter. + in: path + name: permanent_rf_id + required: true + schema: + $ref: "#/components/schemas/RUMPermanentRetentionFilterID" + RUMRetentionFilterIDParameter: + description: Retention filter ID. + in: path + name: rf_id + required: true + schema: + type: string + RUMRetentionQuotaScopeIDParameter: + description: |- + The identifier of the scope the retention quota configuration applies to. + For the `application` scope, this is the RUM application ID. + in: path + name: scope_id + required: true + schema: + example: cd73a516-a481-4af5-8352-9b577465c77b + type: string + RUMRetentionQuotaScopeTypeParameter: + description: |- + The type of scope the retention quota configuration applies to. + `application` is the only supported scope type. + in: path + name: scope_type + required: true + schema: + $ref: "#/components/schemas/RUMRetentionQuotaScopeType" RelationInclude: description: Include relationship data. explode: true @@ -2189,68 +2251,6 @@ components: required: true schema: type: string - RumApplicationIDParameter: - description: RUM application ID. - in: path - name: app_id - required: true - schema: - type: string - RumExclusionFilterApplicationIDParameter: - description: RUM application ID. - in: path - name: app_id - required: true - schema: - type: string - RumExclusionFilterIDParameter: - description: Exclusion filter ID. - in: path - name: ef_id - required: true - schema: - type: string - RumMetricIDParameter: - description: The name of the RUM-based metric, as returned in `data.id` by `ListRumMetrics`. - in: path - name: metric_id - required: true - schema: - example: rum.sessions.web.count - type: string - RumPermanentRetentionFilterIDParameter: - description: The identifier of the permanent RUM retention filter. - in: path - name: permanent_rf_id - required: true - schema: - $ref: "#/components/schemas/RumPermanentRetentionFilterID" - RumRetentionFilterIDParameter: - description: Retention filter ID. - in: path - name: rf_id - required: true - schema: - type: string - RumRetentionQuotaScopeIDParameter: - description: |- - The identifier of the scope the retention quota configuration applies to. - For the `application` scope, this is the RUM application ID. - in: path - name: scope_id - required: true - schema: - example: cd73a516-a481-4af5-8352-9b577465c77b - type: string - RumRetentionQuotaScopeTypeParameter: - description: |- - The type of scope the retention quota configuration applies to. - `application` is the only supported scope type. - in: path - name: scope_type - required: true - schema: - $ref: "#/components/schemas/RumRetentionQuotaScopeType" SAMLConfigurationUUIDPathParameter: description: The UUID of the SAML configuration. in: path @@ -3063,7 +3063,7 @@ components: schema: $ref: "#/components/schemas/APIErrorResponse" description: Failed Precondition - RumExclusionFilterMethodNotAllowedResponse: + RUMExclusionFilterMethodNotAllowedResponse: content: application/json: schema: @@ -112455,7 +112455,7 @@ components: type: object PlaylistDataType: default: rum_replay_playlist - description: Rum replay playlist resource type. + description: RUM replay playlist resource type. enum: - rum_replay_playlist example: rum_replay_playlist @@ -118006,6 +118006,356 @@ components: $ref: "#/components/schemas/RUMApplicationList" type: array type: object + RUMArchiveConfig: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMArchiveConfigAttributes" + id: + description: Resource identifier. + example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + type: string + type: + $ref: "#/components/schemas/RUMArchiveConfigType" + required: + - id + - type + - attributes + type: object + RUMArchiveConfigAttributes: + description: Archive configuration. + properties: + enabled: + description: Whether archiving is enabled. + example: true + type: boolean + org_id: + description: Organization ID. + example: 123 + format: int64 + type: integer + retention_days: + description: >- + Configured retention in days; omitted when unset. When archiving is enabled, this is 30, 90, or 180. + example: 90 + format: int32 + maximum: 180 + type: integer + updated_at: + description: Last update time. + example: "2026-09-21T12:00:00Z" + format: date-time + type: string + updated_by: + description: Handle of the user who last updated the configuration. + example: user@example.com + type: string + required: + - org_id + - enabled + type: object + RUMArchiveConfigListResponse: + description: JSON:API document. + properties: + data: + description: Configurations in page order. + items: + $ref: "#/components/schemas/RUMArchiveConfig" + type: array + meta: + $ref: "#/components/schemas/RUMArchiveConfigMeta" + required: + - data + - meta + type: object + RUMArchiveConfigMeta: + description: Pagination metadata. + properties: + page: + $ref: "#/components/schemas/RUMArchiveConfigPage" + required: + - page + type: object + RUMArchiveConfigPage: + description: Page information. + properties: + total_filtered_count: + description: Total configurations for the organization. + example: 0 + format: int64 + minimum: 0 + type: integer + required: + - total_filtered_count + type: object + RUMArchiveConfigResponse: + description: JSON:API document. + properties: + data: + $ref: "#/components/schemas/RUMArchiveConfig" + required: + - data + type: object + RUMArchiveConfigType: + description: JSON:API resource type. + enum: + - rum_archive_config + example: rum_archive_config + type: string + x-enum-varnames: + - RUM_ARCHIVE_CONFIG + RUMArchiveConfigUpsertAttributes: + description: >- + Archive configuration to save. When enabled is true, retention_days is required and must be 30, 90, or 180. When disabled, retention_days can be omitted. + properties: + enabled: + description: Whether archiving is enabled. + example: true + type: boolean + retention_days: + description: >- + Retention in days. When enabled is true, required and restricted to 30, 90, or 180. When enabled is false, this field can be omitted. + example: 90 + format: int32 + maximum: 180 + type: integer + required: + - enabled + type: object + RUMArchiveConfigUpsertData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMArchiveConfigUpsertAttributes" + id: + description: Resource identifier. + example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + type: string + type: + $ref: "#/components/schemas/RUMArchiveConfigType" + required: + - id + - type + - attributes + type: object + RUMArchiveConfigUpsertRequest: + description: JSON:API document. + properties: + data: + $ref: "#/components/schemas/RUMArchiveConfigUpsertData" + required: + - data + type: object + RUMArchiveSession: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMArchiveSessionAttributes" + id: + description: Resource identifier. + example: 11111111-1111-4111-8111-111111111111 + type: string + type: + $ref: "#/components/schemas/RUMArchiveSessionType" + required: + - id + - type + - attributes + type: object + RUMArchiveSessionAttributes: + description: Archived session metadata. + properties: + account_id: + description: Session account id, or null when unavailable. + example: account-123 + nullable: true + type: string + anonymous_id: + description: Session anonymous id, or null when unavailable. + example: anonymous-123 + nullable: true + type: string + application_id: + description: Application UUID. + example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + format: uuid + type: string + country: + description: Session country, or null when unavailable. + example: US + nullable: true + type: string + recovery_status: + $ref: "#/components/schemas/RUMArchiveSessionRecoveryStatus" + service: + description: Service name. + example: web + type: string + session_id: + description: Session identifier. + example: 00000000-0000-4000-8000-000000000001 + type: string + timestamp: + description: Session timestamp in Unix milliseconds. + example: 1789905600000 + format: int64 + type: integer + user_id: + description: Session user id, or null when unavailable. + example: user-123 + nullable: true + type: string + version: + description: Session version, or null when unavailable. + example: 1.0.0 + nullable: true + type: string + required: + - session_id + - application_id + - timestamp + - service + - user_id + - anonymous_id + - account_id + - country + - version + - recovery_status + type: object + RUMArchiveSessionRecoveryStatus: + description: >- + Session recovery state. A missing recovery record can be represented as null. Optional request_id and recovered_at are omitted when unavailable. + nullable: true + properties: + recovered_at: + description: Recovery timestamp, when available. + example: example + format: date-time + type: string + request_id: + description: Associated recovery request ID. + example: 11111111-1111-4111-8111-111111111111 + type: string + status: + $ref: "#/components/schemas/RUMRecoverySessionStatus" + required: + - status + type: object + RUMArchiveSessionType: + description: JSON:API resource type. + enum: + - rum_archive_session + example: rum_archive_session + type: string + x-enum-varnames: + - RUM_ARCHIVE_SESSION + RUMArchiveSessionsMeta: + description: Search metadata. + properties: + page: + $ref: "#/components/schemas/RUMArchiveSessionsPage" + required: + - page + type: object + RUMArchiveSessionsPage: + description: Search pagination. + properties: + next_cursor: + description: Opaque continuation cursor. Omitted when no further page is available. + example: example + type: string + total_count: + description: >- + Search result count. Can be zero on continuation pages even when sessions are returned. Use `next_cursor` to determine whether more pages are available. + example: 0 + format: int64 + minimum: 0 + type: integer + required: + - total_count + type: object + RUMArchiveSessionsResponse: + description: JSON:API document. + properties: + data: + description: Archived sessions. + items: + $ref: "#/components/schemas/RUMArchiveSession" + type: array + meta: + $ref: "#/components/schemas/RUMArchiveSessionsMeta" + required: + - data + - meta + type: object + RUMArchiveSessionsSearchAttributes: + description: >- + Archived-session query. A window wider than configured archive retention is narrowed before searching. + properties: + cursor: + description: Opaque next-page cursor. Keep the query, time range, and hide_retained value unchanged. + example: example + type: string + from: + description: Start of the range in Unix milliseconds. Must be positive and earlier than to. + example: 1789905600000 + format: int64 + minimum: 1 + type: integer + hide_retained: + default: false + description: >- + When true, exclude sessions already present in hot RUM storage. When false, those sessions can appear in the results. Keep this value unchanged when continuing with a cursor. + example: false + type: boolean + limit: + default: 50 + description: Page size, at most 1000 (default 50). Values at or below zero use 50. + example: 0 + format: int32 + maximum: 1000 + type: integer + query: + description: RUM search query. Must not be empty. + example: service:web + type: string + to: + description: End of the range in Unix milliseconds. + example: 1789992000000 + format: int64 + minimum: 1 + type: integer + required: + - query + - from + - to + type: object + RUMArchiveSessionsSearchData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMArchiveSessionsSearchAttributes" + id: + description: >- + Optional resource identifier. + example: 11111111-1111-4111-8111-111111111111 + type: string + type: + description: >- + JSON:API resource type. + example: rum_archive_sessions_request + type: string + required: + - attributes + type: object + RUMArchiveSessionsSearchRequest: + description: JSON:API document. + properties: + data: + $ref: "#/components/schemas/RUMArchiveSessionsSearchData" + required: + - data + type: object RUMBucketGroupByValue: description: The value of a group-by facet for this bucket. A string for string facets, a number for numeric facets and histograms. oneOf: @@ -118053,6 +118403,204 @@ components: enum: ["timeseries", "total"] type: string x-enum-varnames: ["TIMESERIES", "TOTAL"] + RUMConfigAttributes: + description: Attributes of the RUM configuration. + properties: + disabled: + description: Whether the RUM configuration is disabled for the organization. + example: false + type: boolean + enforced_application_tags: + description: Whether application tags are enforced for the RUM applications in the organization. + example: true + type: boolean + enforced_application_tags_updated_at: + description: Timestamp of when the enforced application tags setting was last updated. + example: "2024-01-15T09:30:00.000Z" + format: date-time + type: string + enforced_application_tags_updated_by: + description: Handle of the user who last updated the enforced application tags setting. + example: "user@example.com" + type: string + ootb_metrics_version: + description: Version of the out-of-the-box metrics installed for the organization. + example: 5 + format: int64 + type: integer + ootb_metrics_version_installed_at: + description: Timestamp of when the out-of-the-box metrics version was installed. + example: "2024-01-15T09:30:00.000Z" + format: date-time + type: string + retention_filters_enabled: + description: Whether retention filters are enabled for the organization. + example: true + type: boolean + retention_filters_enabled_updated_at: + description: Timestamp of when the retention filters setting was last updated. + example: "2024-01-15T09:30:00.000Z" + format: date-time + type: string + retention_filters_enabled_updated_by: + description: Handle of the user or job who last updated the retention filters setting. + example: "contract-update-job" + type: string + required: + - enforced_application_tags + - retention_filters_enabled + type: object + RUMConfigCreateAttributes: + description: Attributes of the RUM configuration to create. + properties: + enforced_application_tags: + description: Whether application tags are enforced for the RUM applications in the organization. + example: true + type: boolean + required: + - enforced_application_tags + type: object + RUMConfigCreateData: + description: Object describing the RUM configuration to create. + properties: + attributes: + $ref: "#/components/schemas/RUMConfigCreateAttributes" + type: + $ref: "#/components/schemas/RUMConfigType" + required: + - type + - attributes + type: object + RUMConfigCreateRequest: + description: Request body for creating the RUM configuration. + properties: + data: + $ref: "#/components/schemas/RUMConfigCreateData" + required: + - data + type: object + RUMConfigData: + description: The RUM configuration data. + properties: + attributes: + $ref: "#/components/schemas/RUMConfigAttributes" + id: + description: The organization ID associated with the RUM configuration. + example: "1234" + type: string + type: + $ref: "#/components/schemas/RUMConfigType" + required: + - id + - type + - attributes + type: object + RUMConfigResponse: + description: The RUM configuration object. + properties: + data: + $ref: "#/components/schemas/RUMConfigData" + required: + - data + type: object + RUMConfigType: + default: rum_config + description: The type of the resource. The value should always be `rum_config`. + enum: + - rum_config + example: rum_config + type: string + x-enum-varnames: + - RUM_CONFIG + RUMConfigUpdateAttributes: + description: Attributes of the RUM configuration to update. + properties: + enforced_application_tags: + description: Whether application tags are enforced for the RUM applications in the organization. + example: true + type: boolean + required: + - enforced_application_tags + type: object + RUMConfigUpdateData: + description: Object describing the RUM configuration to update. + properties: + attributes: + $ref: "#/components/schemas/RUMConfigUpdateAttributes" + type: + $ref: "#/components/schemas/RUMConfigType" + required: + - type + - attributes + type: object + RUMConfigUpdateRequest: + description: Request body for updating the RUM configuration. + properties: + data: + $ref: "#/components/schemas/RUMConfigUpdateData" + required: + - data + type: object + RUMCrossProductSampling: + description: The configuration for cross-product retention filters. + properties: + session_replay_enabled: + description: Whether the cross-product retention filter for Session Replay is enabled. + example: true + type: boolean + session_replay_sample_rate: + description: |- + The percentage (0-100) of retained sessions with an ingested replay that keep their replay data. + Values returned by the API are rounded to two decimal places. + example: 75.0 + format: double + maximum: 100 + minimum: 0 + type: number + trace_enabled: + description: Whether the cross-product retention filter for APM traces is enabled. + example: true + type: boolean + trace_sample_rate: + description: The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned by the API are rounded to two decimal places. + example: 25.0 + format: double + maximum: 100 + minimum: 0 + type: number + type: object + RUMCrossProductSamplingCreate: + description: The configuration for cross-product retention filters. + properties: + trace_enabled: + description: Whether the cross-product retention filter for APM traces is enabled. + example: true + type: boolean + trace_sample_rate: + description: The sample rate for the APM cross-product retention filter, between 0 and 100. + example: 25.0 + format: double + maximum: 100 + minimum: 0 + type: number + required: + - trace_sample_rate + type: object + RUMCrossProductSamplingUpdate: + description: The configuration for cross-product retention filters. All fields are optional for partial updates. + properties: + trace_enabled: + description: Whether the cross-product retention filter for APM traces is enabled. + example: true + type: boolean + trace_sample_rate: + description: The sample rate for the APM cross-product retention filter, between 0 and 100. + example: 25.0 + format: double + maximum: 100 + minimum: 0 + type: number + type: object RUMEvent: description: Object description of a RUM event after being processed and stored by Datadog. properties: @@ -118144,6 +118692,185 @@ components: meta: $ref: "#/components/schemas/RUMResponseMetadata" type: object + RUMExclusionFilterAttributes: + description: The attributes of an exclusion filter. + properties: + enabled: + $ref: "#/components/schemas/RUMExclusionFilterEnabled" + event_type: + $ref: "#/components/schemas/RUMExclusionFilterEventType" + name: + $ref: "#/components/schemas/RUMExclusionFilterName" + query: + $ref: "#/components/schemas/RUMExclusionFilterQuery" + type: object + RUMExclusionFilterCreateAttributes: + description: The attributes of an exclusion filter to create. + properties: + enabled: + description: Whether the exclusion filter is active. Defaults to `true`. + example: true + type: boolean + event_type: + $ref: "#/components/schemas/RUMExclusionFilterEventType" + name: + $ref: "#/components/schemas/RUMExclusionFilterName" + query: + $ref: "#/components/schemas/RUMExclusionFilterQuery" + required: + - name + type: object + RUMExclusionFilterCreateData: + description: The new exclusion filter properties to create. + properties: + attributes: + $ref: "#/components/schemas/RUMExclusionFilterCreateAttributes" + type: + $ref: "#/components/schemas/RUMExclusionFilterType" + required: + - type + - attributes + type: object + RUMExclusionFilterCreateRequest: + description: The exclusion filter body to create. + properties: + data: + $ref: "#/components/schemas/RUMExclusionFilterCreateData" + required: + - data + type: object + RUMExclusionFilterData: + description: An exclusion filter. + properties: + attributes: + $ref: "#/components/schemas/RUMExclusionFilterAttributes" + id: + description: The ID of the exclusion filter. + example: "051601eb-54a0-abc0-03f9-cc02efa18892" + type: string + meta: + $ref: "#/components/schemas/RUMExclusionFilterMeta" + type: + $ref: "#/components/schemas/RUMExclusionFilterType" + required: + - id + - type + type: object + RUMExclusionFilterEnabled: + description: Whether the exclusion filter is active. + example: true + type: boolean + RUMExclusionFilterEventType: + description: The type of RUM events to filter on. + enum: + - session + - view + - action + - error + - resource + - long_task + - vital + example: error + type: string + x-enum-varnames: + - SESSION + - VIEW + - ACTION + - ERROR + - RESOURCE + - LONG_TASK + - VITAL + RUMExclusionFilterMeta: + description: Metadata about the exclusion filter. + properties: + enabled_at: + description: Unix epoch (in milliseconds) when the exclusion filter was last enabled. + example: 1735689600000 + format: int64 + type: integer + updated_at: + description: Unix epoch (in milliseconds) of the last update. + example: 1735689600000 + format: int64 + type: integer + updated_by_handle: + description: Handle of the user who last updated the exclusion filter. + example: jane.doe@example.com + type: string + type: object + RUMExclusionFilterName: + description: The name of the exclusion filter. + example: Exclude noisy browser extension errors + type: string + RUMExclusionFilterQuery: + description: |- + Additional query used to further restrict which RUM events are excluded. + Combined with `event_type` when both are provided. + example: "@error.message:*extension*" + type: string + RUMExclusionFilterResponse: + description: An exclusion filter response body. + properties: + data: + $ref: "#/components/schemas/RUMExclusionFilterData" + type: object + RUMExclusionFilterType: + default: exclusion_filters + description: The resource type. The value must be `exclusion_filters`. + enum: + - exclusion_filters + example: exclusion_filters + type: string + x-enum-varnames: + - EXCLUSION_FILTERS + RUMExclusionFilterUpdateAttributes: + description: |- + The attributes of an exclusion filter that can be updated. + For the built-in Error Tracking exclusion filter, only `enabled` can be set; + `name`, `event_type`, and `query` must be omitted. + properties: + enabled: + $ref: "#/components/schemas/RUMExclusionFilterEnabled" + event_type: + $ref: "#/components/schemas/RUMExclusionFilterEventType" + name: + $ref: "#/components/schemas/RUMExclusionFilterName" + query: + $ref: "#/components/schemas/RUMExclusionFilterQuery" + type: object + RUMExclusionFilterUpdateData: + description: The exclusion filter properties to update. + properties: + attributes: + $ref: "#/components/schemas/RUMExclusionFilterUpdateAttributes" + id: + description: The ID of the exclusion filter. Must match the `ef_id` path parameter. + example: "051601eb-54a0-abc0-03f9-cc02efa18892" + type: string + type: + $ref: "#/components/schemas/RUMExclusionFilterType" + required: + - id + - type + - attributes + type: object + RUMExclusionFilterUpdateRequest: + description: The exclusion filter body to update. + properties: + data: + $ref: "#/components/schemas/RUMExclusionFilterUpdateData" + required: + - data + type: object + RUMExclusionFiltersResponse: + description: All exclusion filters for a RUM application. + properties: + data: + description: A list of exclusion filters. + items: + $ref: "#/components/schemas/RUMExclusionFilterData" + type: array + type: object RUMGroupBy: description: A group-by rule. properties: @@ -118226,6 +118953,283 @@ components: RUMGroupByTotalString: description: A string to use as the key value for the total bucket. type: string + RUMManagedArchiveErrorResponse: + description: API error response. + properties: + errors: + description: Errors as plain-text messages or JSON:API error objects containing status, title, and detail. + example: + - Forbidden + items: + description: A plain-text message or a JSON:API error object. + type: array + required: + - errors + type: object + RUMMetricCompute: + description: The compute rule to compute the RUM-based metric. It is set at creation and only `include_percentiles` can be updated afterward. + properties: + aggregation_type: + $ref: "#/components/schemas/RUMMetricComputeAggregationType" + include_percentiles: + $ref: "#/components/schemas/RUMMetricComputeIncludePercentiles" + path: + description: |- + The path of the numeric RUM event attribute the metric aggregates on. + Only valid when `aggregation_type` is `distribution`. + example: "@duration" + type: string + required: + - aggregation_type + type: object + RUMMetricComputeAggregationType: + description: |- + The type of aggregation to use. + `count` counts the matching events. `distribution` aggregates the values found at `path`. + enum: ["count", "distribution"] + example: "distribution" + type: string + x-enum-varnames: ["COUNT", "DISTRIBUTION"] + RUMMetricComputeIncludePercentiles: + description: |- + Toggle to include or exclude percentile aggregations (p50, p75, p90, p95, p99) for distribution metrics. + Required when `aggregation_type` is `distribution`, and must be omitted otherwise. + example: true + type: boolean + RUMMetricCreateAttributes: + description: The object describing the Datadog RUM-based metric to create. + properties: + compute: + $ref: "#/components/schemas/RUMMetricCompute" + event_type: + $ref: "#/components/schemas/RUMMetricEventType" + filter: + $ref: "#/components/schemas/RUMMetricFilter" + group_by: + description: The rules to group the metric by. Each rule creates a tag on the generated metric. If omitted, the metric is not grouped. + items: + $ref: "#/components/schemas/RUMMetricGroupBy" + type: array + uniqueness: + $ref: "#/components/schemas/RUMMetricUniqueness" + required: + - event_type + - compute + type: object + RUMMetricCreateData: + description: The new RUM-based metric properties. + properties: + attributes: + $ref: "#/components/schemas/RUMMetricCreateAttributes" + id: + $ref: "#/components/schemas/RUMMetricID" + type: + $ref: "#/components/schemas/RUMMetricType" + required: + - id + - type + - attributes + type: object + RUMMetricCreateRequest: + description: The new RUM-based metric body. + properties: + data: + $ref: "#/components/schemas/RUMMetricCreateData" + required: + - data + type: object + RUMMetricEventType: + description: The type of RUM events the metric is generated from. It is set at creation and cannot be changed. + enum: ["session", "view", "action", "error", "resource", "long_task", "vital"] + example: "session" + type: string + x-enum-varnames: ["SESSION", "VIEW", "ACTION", "ERROR", "RESOURCE", "LONG_TASK", "VITAL"] + RUMMetricFilter: + description: The RUM-based metric filter. Events matching this filter are aggregated in this metric. The `event_type` filter is added automatically. + properties: + query: + default: "*" + description: |- + The search query, following the [RUM search syntax](https://docs.datadoghq.com/real_user_monitoring/explorer/search_syntax/). + Do not include a `@type` filter, it is derived from `event_type`. + It must not contain invisible or control characters such as non-breaking or zero-width spaces. + When updating a metric, an empty query leaves the filter unchanged. + example: "@service:web-ui" + type: string + required: + - query + type: object + RUMMetricGroupBy: + description: A group by rule. + properties: + path: + description: The path of the RUM event attribute to group the metric by. + example: "@browser.name" + type: string + tag_name: + description: |- + Name of the tag that gets created on the metric. By default, `path` is used as the tag name. + It must be at most 200 characters long, start with a letter, and contain only lowercase letters, digits, underscores, hyphens, colons, periods, and slashes. + example: "browser_name" + maxLength: 200 + type: string + required: + - path + type: object + RUMMetricID: + description: |- + The name of the RUM-based metric. + On creation, it must be 1 to 200 characters long, contain only ASCII letters, digits, underscores, and periods, start with a letter, and not start with `rum.measure` or `rum.investigate`. + It cannot be changed after creation. + example: "rum.sessions.webui.count" + maxLength: 200 + type: string + RUMMetricResponse: + description: The RUM-based metric object. + properties: + data: + $ref: "#/components/schemas/RUMMetricResponseData" + type: object + RUMMetricResponseAttributes: + description: The object describing a Datadog RUM-based metric. + properties: + compute: + $ref: "#/components/schemas/RUMMetricResponseCompute" + event_type: + $ref: "#/components/schemas/RUMMetricEventType" + filter: + $ref: "#/components/schemas/RUMMetricResponseFilter" + group_by: + description: The rules the metric is grouped by. An empty array is returned if the metric is not grouped. + items: + $ref: "#/components/schemas/RUMMetricResponseGroupBy" + type: array + uniqueness: + $ref: "#/components/schemas/RUMMetricResponseUniqueness" + type: object + RUMMetricResponseCompute: + description: The compute rule of the RUM-based metric. + properties: + aggregation_type: + $ref: "#/components/schemas/RUMMetricComputeAggregationType" + include_percentiles: + $ref: "#/components/schemas/RUMMetricComputeIncludePercentiles" + path: + description: |- + The path of the numeric RUM event attribute the metric aggregates on. + Only present when `aggregation_type` is `distribution`. + example: "@duration" + type: string + type: object + RUMMetricResponseData: + description: The RUM-based metric properties. + properties: + attributes: + $ref: "#/components/schemas/RUMMetricResponseAttributes" + id: + $ref: "#/components/schemas/RUMMetricID" + type: + $ref: "#/components/schemas/RUMMetricType" + type: object + RUMMetricResponseFilter: + description: The RUM-based metric filter. RUM events matching this filter are aggregated in this metric. Omitted if the metric only filters on the event type. + properties: + query: + description: The search query, following the [RUM search syntax](https://docs.datadoghq.com/real_user_monitoring/explorer/search_syntax/). It does not include the event type filter. + example: "service:web* AND @http.status_code:[200 TO 299]" + type: string + type: object + RUMMetricResponseGroupBy: + description: A group by rule. + properties: + path: + description: The path of the RUM event attribute the metric is grouped by. + example: "@http.status_code" + type: string + tag_name: + description: Name of the tag created on the metric. By default, `path` is used as the tag name. + example: "status_code" + type: string + type: object + RUMMetricResponseUniqueness: + description: The rule to count updatable events. Only present if `event_type` is `session` or `view`, and absent on older metrics created before this setting existed. + properties: + when: + $ref: "#/components/schemas/RUMMetricUniquenessWhen" + type: object + RUMMetricType: + default: rum_metrics + description: The type of the resource. The value must be `rum_metrics`. + enum: + - rum_metrics + example: rum_metrics + type: string + x-enum-varnames: ["RUM_METRICS"] + RUMMetricUniqueness: + description: |- + The rule to count updatable events. + Required when `event_type` is `session` or `view`, and must be omitted for other event types. It cannot be changed after creation. + properties: + when: + $ref: "#/components/schemas/RUMMetricUniquenessWhen" + required: + - when + type: object + RUMMetricUniquenessWhen: + description: When to count updatable events. `match` when the event is first seen, or `end` when the event is complete. Sessions and views are updated over time, and each one is counted once. + enum: ["match", "end"] + example: "match" + type: string + x-enum-varnames: ["WHEN_MATCH", "WHEN_END"] + RUMMetricUpdateAttributes: + description: The RUM-based metric properties to update. Omitted properties keep their current value. + properties: + compute: + $ref: "#/components/schemas/RUMMetricUpdateCompute" + filter: + $ref: "#/components/schemas/RUMMetricFilter" + group_by: + description: The rules to group the metric by. When provided, replaces all the existing group by rules. + items: + $ref: "#/components/schemas/RUMMetricGroupBy" + type: array + type: object + RUMMetricUpdateCompute: + description: The compute rule properties that can be updated. Only valid for metrics whose `aggregation_type` is `distribution`. + properties: + include_percentiles: + $ref: "#/components/schemas/RUMMetricComputeIncludePercentiles" + type: object + RUMMetricUpdateData: + description: The RUM-based metric properties to update. `id` is required by the API and must match the `metric_id` path parameter. + properties: + attributes: + $ref: "#/components/schemas/RUMMetricUpdateAttributes" + id: + $ref: "#/components/schemas/RUMMetricID" + type: + $ref: "#/components/schemas/RUMMetricType" + required: + - type + - attributes + type: object + RUMMetricUpdateRequest: + description: The RUM-based metric update body. + properties: + data: + $ref: "#/components/schemas/RUMMetricUpdateData" + required: + - data + type: object + RUMMetricsResponse: + description: All the available RUM-based metric objects. + properties: + data: + description: A list of RUM-based metric objects. + items: + $ref: "#/components/schemas/RUMMetricResponseData" + type: array + type: object RUMOperationCreateRequest: description: The request body for creating a RUM operation. properties: @@ -118310,7 +119314,7 @@ components: required: - query type: object - RUMOperationJourneyRum: + RUMOperationJourneyRUM: description: The definition of a RUM operation's journey, used to detect it from RUM events. properties: rum_steps: @@ -118383,7 +119387,7 @@ components: type: string type: array journey_rum: - $ref: "#/components/schemas/RUMOperationJourneyRum" + $ref: "#/components/schemas/RUMOperationJourneyRUM" name: description: The unique name of the RUM operation. Must not contain spaces. example: checkout_completed @@ -118442,7 +119446,7 @@ components: nullable: true type: array journey_rum: - $ref: "#/components/schemas/RUMOperationJourneyRum" + $ref: "#/components/schemas/RUMOperationJourneyRUM" name: description: The unique name of the RUM operation. Must not contain spaces. example: checkout_completed @@ -118831,6 +119835,100 @@ components: example: offset type: string type: object + RUMPermanentRetentionFilterAttributes: + description: The attributes of a permanent RUM retention filter. + properties: + cross_product_sampling: + $ref: "#/components/schemas/RUMCrossProductSampling" + description: + description: A description of what the filter retains. + example: "All sessions generated by Synthetics are retained at 100%." + type: string + editability: + $ref: "#/components/schemas/RUMPermanentRetentionFilterEditability" + name: + description: The display name of the permanent retention filter. + example: "Synthetics Sessions" + type: string + type: object + RUMPermanentRetentionFilterData: + description: A permanent RUM retention filter. + properties: + attributes: + $ref: "#/components/schemas/RUMPermanentRetentionFilterAttributes" + id: + $ref: "#/components/schemas/RUMPermanentRetentionFilterID" + type: + $ref: "#/components/schemas/RUMPermanentRetentionFilterType" + type: object + RUMPermanentRetentionFilterEditability: + description: Indicates which cross-product fields of a permanent RUM retention filter can be updated. + properties: + trace_editable: + description: Whether the APM trace cross-product configuration of the filter can be updated. + example: true + type: boolean + type: object + RUMPermanentRetentionFilterID: + description: The identifier of a permanent RUM retention filter. + enum: + - rum_apm_flat_sampling + - synthetics_sessions + - forced_replay_sessions + example: synthetics_sessions + type: string + x-enum-varnames: ["RUM_APM_FLAT_SAMPLING", "SYNTHETICS_SESSIONS", "FORCED_REPLAY_SESSIONS"] + RUMPermanentRetentionFilterResponse: + description: A permanent RUM retention filter object. + properties: + data: + $ref: "#/components/schemas/RUMPermanentRetentionFilterData" + type: object + RUMPermanentRetentionFilterType: + default: permanent_retention_filters + description: The type of the resource. The value should always be `permanent_retention_filters`. + enum: + - permanent_retention_filters + example: permanent_retention_filters + type: string + x-enum-varnames: ["PERMANENT_RETENTION_FILTERS"] + RUMPermanentRetentionFilterUpdateAttributes: + description: The configuration to update on a permanent RUM retention filter. + properties: + cross_product_sampling: + $ref: "#/components/schemas/RUMCrossProductSamplingUpdate" + type: object + RUMPermanentRetentionFilterUpdateData: + description: The new permanent RUM retention filter configuration to update. + properties: + attributes: + $ref: "#/components/schemas/RUMPermanentRetentionFilterUpdateAttributes" + id: + $ref: "#/components/schemas/RUMPermanentRetentionFilterID" + type: + $ref: "#/components/schemas/RUMPermanentRetentionFilterType" + required: + - id + - type + - attributes + type: object + RUMPermanentRetentionFilterUpdateRequest: + description: The permanent RUM retention filter body to update. + properties: + data: + $ref: "#/components/schemas/RUMPermanentRetentionFilterUpdateData" + required: + - data + type: object + RUMPermanentRetentionFiltersResponse: + description: All permanent RUM retention filters for a RUM application. + properties: + data: + description: A list of permanent RUM retention filters. + items: + $ref: "#/components/schemas/RUMPermanentRetentionFilterData" + type: array + type: object RUMProductAnalyticsRetentionScale: description: Product Analytics retention scale configuration. properties: @@ -118935,1150 +120033,2669 @@ components: maximum: 1000 type: integer type: object - RUMResponseLinks: - description: Links attributes. + RUMRecoveredSession: + description: Progress for one targeted session. properties: - next: - description: |- - Link for the next set of results, only present when there are more results. It always points to the `GET /api/v2/rum/events` endpoint and keeps `filter[query]`, `filter[from]`, `filter[to]`, `sort`, and `page[limit]` of the request. You can also make the request with the - POST endpoint, with `page.cursor` set to `meta.page.after`. - example: "https://api.datadoghq.com/api/v2/rum/events?filter[query]=foo&page[cursor]=eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==" + application_id: + description: Application UUID. + example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + format: uuid type: string - type: object - RUMResponseMetadata: - description: The metadata associated with a request. - properties: - elapsed: - description: The time elapsed in milliseconds. - example: 132 + error_message: + description: Failure details, if present. + example: example + type: string + events_recovered: + description: Recovered event count. + example: 0 format: int64 + minimum: 0 type: integer - page: - $ref: "#/components/schemas/RUMResponsePage" - request_id: - description: The identifier of the request. - example: "MWlFUjVaWGZTTTZPYzM0VXp1OXU2d3xLSVpEMjZKQ0VKUTI0dEYtM3RSOFVR" + session_id: + description: Session identifier. + example: 00000000-0000-4000-8000-000000000001 + format: uuid type: string status: - $ref: "#/components/schemas/RUMResponseStatus" - warnings: - description: |- - A list of warnings (non-fatal errors) encountered. Partial results may return if - warnings are present in the response. - items: - $ref: "#/components/schemas/RUMWarning" - type: array - type: object - RUMResponsePage: - description: Paging attributes. - properties: - after: - description: |- - The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]` (`page.cursor` for the POST endpoint). Absent on the last page. - example: "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==" - type: string - type: object - RUMResponseStatus: - description: The status of the response. `timeout` means the query did not complete in time and the results are partial. - enum: ["done", "timeout"] - example: "done" - type: string - x-enum-varnames: ["DONE", "TIMEOUT"] - RUMSearchEventsRequest: - description: |- - The request for a RUM events list. All attributes are optional: without any, the request returns the first 10 events of the last 15 minutes. - properties: - filter: - $ref: "#/components/schemas/RUMQueryFilter" - options: - $ref: "#/components/schemas/RUMQueryOptions" - page: - $ref: "#/components/schemas/RUMQueryPageOptions" - sort: - $ref: "#/components/schemas/RUMSort" - type: object - RUMSort: - description: Sort parameters when querying events. - enum: - - timestamp - - -timestamp - type: string - x-enum-descriptions: - - Oldest events first - - Newest events first - x-enum-varnames: - - TIMESTAMP_ASCENDING - - TIMESTAMP_DESCENDING - RUMSortOrder: - description: The order to use, ascending or descending. - enum: - - "asc" - - "desc" - example: "asc" - type: string - x-enum-varnames: - - "ASCENDING" - - "DESCENDING" - RUMWarning: - description: A warning message indicating something that went wrong with the query. - properties: - code: - description: A unique code for this type of warning. - example: "unknown_index" - type: string - detail: - description: A detailed explanation of this specific warning. - example: "indexes: foo, bar" - type: string - title: - description: A short human-readable summary of the warning. - example: "One or several indexes are missing or invalid, results hold data from the other indexes" - type: string + $ref: "#/components/schemas/RUMRecoverySessionStatus" + required: + - session_id + - application_id + - status + - events_recovered type: object - RawErrorBudgetRemaining: - description: The raw error budget remaining for the SLO. + RUMRecoveryBatchCreateAttributes: + description: >- + Recover sessions selected by a query. The range cannot exceed 180 days; from cannot be more than 4 years ago and to cannot be more than 1 hour in the future. Session availability depends on the configured archive retention. properties: - unit: - description: The unit of the error budget (for example, `seconds`, `requests`). - example: seconds + estimated_count: + description: >- + Optional client estimate. Creation validates and stores a fresh server estimate instead of this value. + example: 0 + format: int64 + minimum: 0 + type: integer + from: + description: Start of the range in Unix milliseconds. Must be positive and earlier than to. + example: 1789905600000 + format: int64 + minimum: 1 + type: integer + query: + description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. + example: service:web type: string - value: - description: The numeric value of the remaining error budget. - example: 86400.5 - format: double - type: number + request_type: + $ref: "#/components/schemas/RUMRecoveryBatchRequestType" + to: + description: End of the range in Unix milliseconds. + example: 1789992000000 + format: int64 + minimum: 1 + type: integer required: - - value - - unit + - request_type + - query + - from + - to type: object - ReactNativeSourcemapAttributes: - description: Attributes of a React Native source map. + RUMRecoveryBatchListAttributes: + description: >- + Batch recovery progress. Status updates can appear here before they appear in request details. properties: - build_number: - description: The build number. - example: "100" - type: string - bundle_name: - description: The bundle name. - example: com.example.app - type: string - bundle_version: - description: The bundle version. - example: "1.0" - type: string created_at: - description: The timestamp when the source map was created. - example: "2024-01-01T00:00:00Z" + description: Creation time. + example: "2026-09-21T12:00:00Z" format: date-time type: string - debug_id: - description: The debug identifier (UUID format). - example: 550e8400-e29b-41d4-a716-446655440000 - type: string - mapkind: - $ref: "#/components/schemas/ReactNativeSourcemapMapKind" - platform: - description: The platform the source map was built for (e.g., `ios`, `android`). - example: ios - type: string - service: - description: The service name associated with the source map. - example: my-react-native-app + discovery_status: + $ref: "#/components/schemas/RUMRecoveryDiscoveryStatus" + estimated_count: + description: >- + Batch estimate stored at creation, when present. New batches use a fresh server estimate; older batches may contain a client-supplied estimate. + example: 0 + format: int64 + minimum: 0 + type: integer + from: + description: Start of the range in Unix milliseconds. Must be positive and earlier than to. + example: 1789905600000 + format: int64 + minimum: 1 + type: integer + query: + description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. + example: service:web type: string - size: - description: The size of the source map file in bytes. - example: 2048 + sessions_discovered: + description: Discovered sessions. + example: 0 format: int64 + minimum: 0 type: integer - version: - description: The version of the service associated with the source map. - example: 1.0.0 + sessions_failed: + description: Failed sessions. + example: 0 + format: int64 + minimum: 0 + type: integer + sessions_processed: + description: Processed sessions. + example: 0 + format: int64 + minimum: 0 + type: integer + slices_completed: + description: Completed slices. + example: 0 + format: int64 + minimum: 0 + type: integer + slices_failed: + description: Failed slices. + example: 0 + format: int64 + minimum: 0 + type: integer + status: + $ref: "#/components/schemas/RUMRecoveryRequestStatus" + to: + description: End of the range in Unix milliseconds. + example: 1789992000000 + format: int64 + minimum: 1 + type: integer + total_slices: + description: Total discovery slices. + example: 0 + format: int64 + minimum: 0 + type: integer + updated_at: + description: Last update time. + example: "2026-09-21T12:00:00Z" + format: date-time type: string required: - - mapkind - - size + - status + - discovery_status - created_at + - updated_at + - query + - from + - to + - total_slices + - slices_completed + - slices_failed + - sessions_discovered + - sessions_processed + - sessions_failed type: object - ReactNativeSourcemapData: - description: React Native source map data object. + RUMRecoveryBatchListData: + description: JSON:API resource. properties: attributes: - $ref: "#/components/schemas/ReactNativeSourcemapAttributes" + $ref: "#/components/schemas/RUMRecoveryBatchListAttributes" id: - description: The unique identifier of the source map. - example: "10" + description: Resource identifier. + example: 11111111-1111-4111-8111-111111111111 type: string type: - $ref: "#/components/schemas/SourcemapDataType" + $ref: "#/components/schemas/RUMRecoveryBatchListDataType" required: - id - type - attributes type: object - ReactNativeSourcemapMapKind: - description: The type of source map. Always `react` for React Native source maps. + RUMRecoveryBatchListDataType: + description: JSON:API resource type. enum: - - react - example: react + - rum_batch_recovery_request + example: rum_batch_recovery_request type: string x-enum-varnames: - - REACT - ReadinessGate: - additionalProperties: false - description: Used to merge multiple branches into a single branch. + - RUM_BATCH_RECOVERY_REQUEST + RUMRecoveryBatchListMeta: + description: Batch-list pagination metadata. properties: - thresholdType: - $ref: "#/components/schemas/ReadinessGateThresholdType" + next_cursor: + description: Opaque next-page cursor. Omitted on the final page. + example: example + type: string + type: object + RUMRecoveryBatchListResponse: + description: JSON:API document. + properties: + data: + description: >- + Batch requests ordered newest first. A filtered page can be empty while meta.next_cursor is present. + items: + $ref: "#/components/schemas/RUMRecoveryBatchListData" + type: array + meta: + $ref: "#/components/schemas/RUMRecoveryBatchListMeta" required: - - thresholdType + - data + - meta type: object - ReadinessGateThresholdType: - description: The definition of `ReadinessGateThresholdType` object. + RUMRecoveryBatchRequestType: + description: Query-based batch recovery. enum: - - ANY - - ALL - example: ANY + - batch + example: batch type: string x-enum-varnames: - - ANY - - ALL - RecentlyUpdatedEntitiesResponse: - description: Response from the recently updated entities endpoint, containing the entities with the most recent updates in the requested time range, ordered from most to least recently updated. + - BATCH + RUMRecoveryCancelAttributes: + description: Batch cancellation. + properties: + status: + $ref: "#/components/schemas/RUMRecoveryCancelStatus" + required: + - status + type: object + RUMRecoveryCancelData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMRecoveryCancelAttributes" + id: + description: >- + Optional resource identifier. + example: 11111111-1111-4111-8111-111111111111 + type: string + type: + description: >- + JSON:API resource type. + example: rum_recovery_request + type: string + required: + - attributes + type: object + RUMRecoveryCancelRequest: + description: JSON:API document. properties: data: - description: The list of entities with the most recent updates, ordered from most to least recently updated. - items: - $ref: "#/components/schemas/EntityContextEntity" - type: array + $ref: "#/components/schemas/RUMRecoveryCancelData" required: - data type: object - RecommendationsFilterRequest: - description: JSON:API request body for filtering cost recommendations. - example: - data: - attributes: - extra_fields: - - tags.env - scope: ccm - sort: - - expression: "@potential_daily_savings" - order: DESC - id: "@resource_table:aws_ec2_instance" - type: recommendations_filter + RUMRecoveryCancelResponse: + description: JSON:API document. properties: data: - $ref: "#/components/schemas/RecommendationsFilterRequestData" + $ref: "#/components/schemas/RUMRecoveryCancelResponseData" required: - data type: object - RecommendationsFilterRequestData: - description: |- - JSON:API resource containing the cost recommendations filter. This legacy search contract - uses the resource ID for the filter expression rather than as a persistent resource identifier. + RUMRecoveryCancelResponseAttributes: + description: >- + Batch cancellation acknowledgment. + properties: + cancelled_at: + description: Cancellation time. + example: "2026-09-21T12:00:00Z" + format: date-time + type: string + cancelled_by: + description: Handle of the user who canceled the batch. + example: user@example.com + type: string + discovery_status: + $ref: "#/components/schemas/RUMRecoveryDiscoveryStatus" + required: + - discovery_status + - cancelled_at + - cancelled_by + type: object + RUMRecoveryCancelResponseData: + description: JSON:API resource. properties: attributes: - $ref: "#/components/schemas/RecommendationsFilterRequestDataAttributes" + $ref: "#/components/schemas/RUMRecoveryCancelResponseAttributes" id: - description: |- - Filter expression applied to the recommendations when `attributes.filter` is omitted. - When supplied, `attributes.filter` overrides this value, including when empty. If the - resulting filter is empty, it defaults to `*`. Scope, view, and pagination still apply. - example: "@resource_table:aws_ec2_instance" + description: Resource identifier. + example: 11111111-1111-4111-8111-111111111111 type: string type: - $ref: "#/components/schemas/RecommendationsFilterRequestDataType" + $ref: "#/components/schemas/RUMRecoveryRequestType" required: + - id - type + - attributes type: object - RecommendationsFilterRequestDataAttributes: - description: Attributes used to filter and sort cost recommendations. + RUMRecoveryCancelStatus: + description: Requested cancellation state. + enum: + - cancelled + example: cancelled + type: string + x-enum-varnames: + - CANCELLED + RUMRecoveryCountAttributes: + description: >- + Query for a recovery estimate. The range cannot exceed 180 days; from cannot be more than 4 years ago and to cannot be more than 1 hour in the future. Session availability depends on the configured archive retention. properties: - extra_fields: - description: |- - Additional fields to return from the recommendation event's custom attributes, selected - by dotted paths such as `tags.env` or wildcard patterns such as `*target*`. - Arrays are traversed without indexes. Matched objects and arrays are returned whole. - A maximum of 256 selectors can be requested. Selectors that match nothing return no field. - example: - - tags.env - - "*target*" - items: - description: A dotted field path or wildcard pattern. - type: string - maxItems: 256 - type: array - filter: - description: |- - Filter expression applied to the recommendations. When supplied, this attribute overrides - `data.id`, including when empty. When omitted, `data.id` is used. If the resulting filter - is empty, it defaults to `*`. Scope, view, and pagination still apply. - example: "@resource_table:aws_ec2_instance" - type: string - scope: - $ref: "#/components/schemas/RecommendationsFilterRequestScope" - sort: - description: Ordered list of sort clauses applied to the result set. - items: - $ref: "#/components/schemas/RecommendationsFilterRequestSortItems" - type: array - view: - description: |- - Status view to return: `all`, `active` (not dismissed), `dismissed`, `open`, `in-progress`, - or `completed`. Defaults to `all`, which returns recommendations in every status. - example: active + from: + description: Start of the range in Unix milliseconds. Must be positive and earlier than to. + example: 1789905600000 + format: int64 + minimum: 1 + type: integer + query: + description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. + example: service:web type: string + to: + description: End of the range in Unix milliseconds. + example: 1789992000000 + format: int64 + minimum: 1 + type: integer + required: + - query + - from + - to type: object - RecommendationsFilterRequestDataType: - default: recommendations_filter - description: Legacy JSON:API resource type required by the cost recommendations search decoder. - enum: - - recommendations_filter - example: recommendations_filter - type: string - x-enum-varnames: - - RECOMMENDATIONS_FILTER - RecommendationsFilterRequestScope: - description: |- - Recommendations scope. Defaults to `ccm`; use `experiment` for experimental recommendations - or `*` for both. An empty value is treated as `ccm`. - enum: - - ccm - - experiment - - "*" - - "" - example: ccm - type: string - x-enum-varnames: - - CCM - - EXPERIMENT - - ALL - - EMPTY - RecommendationsFilterRequestSortItems: - description: A single sort clause applied to the cost recommendations result set. + RUMRecoveryCountRequest: + description: JSON:API document. properties: - expression: - description: Field to sort by (for example, `@potential_daily_savings`). - example: "@potential_daily_savings" + data: + $ref: "#/components/schemas/RUMRecoveryCountRequestData" + required: + - data + type: object + RUMRecoveryCountRequestData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMRecoveryCountAttributes" + id: + description: >- + Optional resource identifier. + example: 11111111-1111-4111-8111-111111111111 type: string - order: - description: Sort direction, either `ASC` or `DESC` (case-insensitive). - example: DESC + type: + description: >- + JSON:API resource type. + example: rum_recovery_count type: string required: - - order + - attributes type: object - RecommendationsPageMeta: - description: Top-level JSON:API meta object for paginated cost recommendation responses. + RUMRecoveryCountResponse: + description: JSON:API document. properties: - page: - $ref: "#/components/schemas/RecommendationsPageMetaPage" + data: + $ref: "#/components/schemas/RUMRecoveryCountResponseData" + required: + - data type: object - RecommendationsPageMetaPage: - description: Pagination metadata for a page of cost recommendations. + RUMRecoveryCountResponseAttributes: + description: Approximate recoverable count. properties: - filter: - description: The filter expression that was applied to produce this page. - type: string - next_page_token: - description: Opaque token used to fetch the next page; absent on the last page. - type: string - page_size: - description: Number of items returned in this page (1–5000). - format: int32 - maximum: 5000 + estimated_count: + description: >- + Estimated distinct recoverable sessions not already retained in hot storage. The full estimate is returned without capping it at max_recoverable_sessions. + example: 0 + format: int64 + minimum: 0 + type: integer + max_recoverable_sessions: + description: >- + Configured maximum estimated recoverable sessions per batch (100,000 by default). Estimates equal to this value are accepted at creation. + example: 100000 + format: int64 + maximum: 2147483647 minimum: 1 type: integer - page_token: - description: Pagination token echoed back from the request. + required: + - estimated_count + - max_recoverable_sessions + type: object + RUMRecoveryCountResponseData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMRecoveryCountResponseAttributes" + id: + description: Resource identifier. + example: count type: string + type: + $ref: "#/components/schemas/RUMRecoveryCountResponseDataType" + required: + - id + - type + - attributes type: object - ReferenceTableCreateSourceType: - description: >- - The source type for creating reference table data. Only these source types can be created through this API. - enum: - - LOCAL_FILE - - S3 - - GCS - - AZURE - example: "LOCAL_FILE" - type: string - x-enum-varnames: - - LOCAL_FILE - - S3 - - GCS - - AZURE - ReferenceTableSchemaFieldType: - description: The field type for reference table schema fields. - enum: - - STRING - - INT32 - example: "STRING" - type: string - x-enum-varnames: - - STRING - - INT32 - ReferenceTableSortType: - default: "-updated_at" - description: >- - Sort field and direction for reference tables. Use field name for ascending, prefix with "-" for descending. - enum: - - updated_at - - table_name - - status - - "-updated_at" - - "-table_name" - - "-status" - type: string - x-enum-varnames: - - UPDATED_AT - - TABLE_NAME - - STATUS - - MINUS_UPDATED_AT - - MINUS_TABLE_NAME - - MINUS_STATUS - ReferenceTableSourceType: - description: >- - The source type for reference table data. Includes all possible source types that can appear in responses. + RUMRecoveryCountResponseDataType: + description: JSON:API resource type. enum: - - LOCAL_FILE - - S3 - - GCS - - AZURE - - SERVICENOW - - SALESFORCE - - DATABRICKS - - SNOWFLAKE - example: "LOCAL_FILE" + - rum_recovery_count + example: rum_recovery_count type: string x-enum-varnames: - - LOCAL_FILE - - S3 - - GCS - - AZURE - - SERVICENOW - - SALESFORCE - - DATABRICKS - - SNOWFLAKE - RegisterAppKeyResponse: - description: The response object after creating an app key registration. + - RUM_RECOVERY_COUNT + RUMRecoveryCreateAttributes: + description: Targeted recovery (the default) or query-based batch recovery. + oneOf: + - $ref: "#/components/schemas/RUMRecoverySessionsCreateAttributes" + - $ref: "#/components/schemas/RUMRecoveryBatchCreateAttributes" + RUMRecoveryCreateData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMRecoveryCreateAttributes" + type: + description: >- + JSON:API resource type. + example: rum_recovery_request + type: string + required: + - attributes + type: object + RUMRecoveryCreateRequest: + description: JSON:API document. properties: data: - $ref: "#/components/schemas/AppKeyRegistrationData" + $ref: "#/components/schemas/RUMRecoveryCreateData" + required: + - data type: object - RelationAttributes: - description: Relation attributes. + RUMRecoveryCreateResponse: + description: JSON:API document. properties: - from: - $ref: "#/components/schemas/RelationEntity" - to: - $ref: "#/components/schemas/RelationEntity" - type: - $ref: "#/components/schemas/RelationType" + data: + $ref: "#/components/schemas/RUMRecoveryCreateResponseData" + required: + - data type: object - RelationEntity: - description: Relation entity reference. + RUMRecoveryCreateResponseAttributes: + description: Accepted recovery request. properties: - kind: - description: Entity kind. - type: string - name: - description: Entity name. + created_at: + description: Creation time. + example: "2026-09-21T12:00:00Z" + format: date-time type: string - namespace: - description: Entity namespace. + discovery_status: + $ref: "#/components/schemas/RUMRecoveryDiscoveryStatus" + estimated_count: + description: >- + Batch estimate stored at creation, when present. New batches use a fresh server estimate; older batches may contain a client-supplied estimate. + example: 0 + format: int64 + minimum: 0 + type: integer + failed_sessions: + description: Failed session count. + example: 0 + format: int64 + minimum: 0 + type: integer + processed_sessions: + description: Processed session count. + example: 0 + format: int64 + minimum: 0 + type: integer + status: + $ref: "#/components/schemas/RUMRecoveryRequestStatus" + total_sessions: + description: Total targeted sessions. Omitted while a batch total is unknown. + example: 0 + format: int64 + minimum: 0 + type: integer + required: + - status + - processed_sessions + - failed_sessions + - created_at + type: object + RUMRecoveryCreateResponseData: + description: JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/RUMRecoveryCreateResponseAttributes" + id: + description: Resource identifier. + example: 11111111-1111-4111-8111-111111111111 type: string + type: + $ref: "#/components/schemas/RUMRecoveryRequestType" + required: + - id + - type + - attributes type: object - RelationIncludeType: - description: Supported include types for relations. + RUMRecoveryDiscoveryStatus: + description: Batch discovery state. QUEUED indicates that the request is waiting for processing capacity. enum: - - entity - - schema + - QUEUED + - PENDING + - SLICING + - DISCOVERED + - PROCESSING + - COMPLETED + - FAILED + - CANCELLED + example: QUEUED type: string x-enum-varnames: - - ENTITY - - SCHEMA - RelationMeta: - description: Relation metadata. + - QUEUED + - PENDING + - SLICING + - DISCOVERED + - PROCESSING + - COMPLETED + - FAILED + - CANCELLED + RUMRecoveryRequestAttributes: + description: >- + Recovery progress. Batch-only attributes are omitted for targeted requests; request_type is also omitted for targeted requests. properties: - createdAt: - description: Relation creation time. + created_at: + description: Creation time. + example: "2026-09-21T12:00:00Z" format: date-time type: string - definedBy: - description: Relation defined by. + discovery_status: + $ref: "#/components/schemas/RUMRecoveryDiscoveryStatus" + error_message: + description: Failure details, if present. + example: example type: string - modifiedAt: - description: Relation modification time. - format: date-time + estimated_count: + description: >- + Batch estimate stored at creation, when present. New batches use a fresh server estimate; older batches may contain a client-supplied estimate. + example: 0 + format: int64 + minimum: 0 + type: integer + failed_sessions: + description: Failed session count. + example: 0 + format: int64 + minimum: 0 + type: integer + from: + description: Start of the range in Unix milliseconds. Must be positive and earlier than to. + example: 1789905600000 + format: int64 + minimum: 1 + type: integer + processed_sessions: + description: Processed session count. + example: 0 + format: int64 + minimum: 0 + type: integer + query: + description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. + example: service:web type: string - source: - description: Relation source. + request_type: + $ref: "#/components/schemas/RUMRecoveryBatchRequestType" + sessions: + description: Targeted session progress. Omitted when empty or not applicable. + items: + $ref: "#/components/schemas/RUMRecoveredSession" + type: array + sessions_discovered: + description: Discovered sessions. + example: 0 + format: int64 + minimum: 0 + type: integer + sessions_failed: + description: Failed sessions. + example: 0 + format: int64 + minimum: 0 + type: integer + sessions_processed: + description: Processed sessions. + example: 0 + format: int64 + minimum: 0 + type: integer + slices_completed: + description: Completed slices. + example: 0 + format: int64 + minimum: 0 + type: integer + slices_failed: + description: Failed slices. + example: 0 + format: int64 + minimum: 0 + type: integer + status: + $ref: "#/components/schemas/RUMRecoveryRequestStatus" + to: + description: End of the range in Unix milliseconds. + example: 1789992000000 + format: int64 + minimum: 1 + type: integer + total_sessions: + description: Total targeted sessions. Omitted while a batch total is unknown. + example: 0 + format: int64 + minimum: 0 + type: integer + total_slices: + description: Total discovery slices. + example: 0 + format: int64 + minimum: 0 + type: integer + updated_at: + description: Last update time. + example: "2026-09-21T12:00:00Z" + format: date-time type: string + required: + - status + - processed_sessions + - failed_sessions + - created_at + - updated_at type: object - RelationRelationships: - description: Relation relationships. - properties: - fromEntity: - $ref: "#/components/schemas/RelationToEntity" - toEntity: - $ref: "#/components/schemas/RelationToEntity" - type: object - RelationResponse: - description: Relation response data. + RUMRecoveryRequestData: + description: JSON:API resource. properties: attributes: - $ref: "#/components/schemas/RelationAttributes" + $ref: "#/components/schemas/RUMRecoveryRequestAttributes" id: - description: Relation ID. - type: string - meta: - $ref: "#/components/schemas/RelationMeta" - relationships: - $ref: "#/components/schemas/RelationRelationships" - subtype: - description: Relation subtype. + description: Resource identifier. + example: 11111111-1111-4111-8111-111111111111 type: string type: - $ref: "#/components/schemas/RelationResponseType" + $ref: "#/components/schemas/RUMRecoveryRequestType" + required: + - id + - type + - attributes type: object - RelationResponseData: - description: Array of relation responses - items: - $ref: "#/components/schemas/RelationResponse" - type: array - RelationResponseMeta: - description: Relation response metadata. + RUMRecoveryRequestResponse: + description: JSON:API document. properties: - count: - description: Total relations count. - format: int64 - type: integer - includeCount: - description: Total included data count. - format: int64 - type: integer + data: + $ref: "#/components/schemas/RUMRecoveryRequestData" + required: + - data type: object - RelationResponseType: - description: Relation type. - enum: [relation] + RUMRecoveryRequestStatus: + description: >- + Recovery request state. + enum: + - PENDING + - PROCESSING + - COMPLETED + - FAILED + - CANCELLED + - EXPIRED + example: PENDING type: string x-enum-varnames: - - RELATION - RelationToEntity: - description: Relation to entity. - properties: - data: - $ref: "#/components/schemas/RelationshipItem" - meta: - $ref: "#/components/schemas/EntityMeta" - type: object - RelationType: - description: Supported relation types. + - PENDING + - PROCESSING + - COMPLETED + - FAILED + - CANCELLED + - EXPIRED + RUMRecoveryRequestType: + description: JSON:API resource type. enum: - - RelationTypeOwns - - RelationTypeOwnedBy - - RelationTypeDependsOn - - RelationTypeDependencyOf - - RelationTypePartsOf - - RelationTypeHasPart - - RelationTypeOtherOwns - - RelationTypeOtherOwnedBy - - RelationTypeImplementedBy - - RelationTypeImplements + - rum_recovery_request + example: rum_recovery_request type: string x-enum-varnames: - - RELATIONTYPEOWNS - - RELATIONTYPEOWNEDBY - - RELATIONTYPEDEPENDSON - - RELATIONTYPEDEPENDENCYOF - - RELATIONTYPEPARTSOF - - RELATIONTYPEHASPART - - RELATIONTYPEOTHEROWNS - - RELATIONTYPEOTHEROWNEDBY - - RELATIONTYPEIMPLEMENTEDBY - - RELATIONTYPEIMPLEMENTS - RelationshipArray: - description: Relationships. - items: - $ref: "#/components/schemas/RelationshipItem" - type: array - RelationshipItem: - description: Relationship entry. + - RUM_RECOVERY_REQUEST + RUMRecoverySessionInput: + description: Archived session to recover. properties: - id: - description: Associated data ID. + application_id: + description: Application UUID. + example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + format: uuid type: string - type: - description: Relationship type. + session_id: + description: Session UUID. + example: 00000000-0000-4000-8000-000000000001 + format: uuid type: string - type: object - RelationshipToAccessTokenOwner: - description: Relationship to the access token's owner. - properties: - data: - $ref: "#/components/schemas/RelationshipToAccessTokenOwnerData" required: - - data + - application_id + - session_id type: object - RelationshipToAccessTokenOwnerData: - description: Relationship to the access token's owner. + RUMRecoverySessionStatus: + description: >- + Session availability or recovery state. `RECOVERED` indicates that the session is ready to query. + enum: + - AVAILABLE + - PENDING + - PROCESSING + - RECOVERED + - FAILED + - RETAINED + - EXPIRED + - CANCELLED + example: AVAILABLE + type: string + x-enum-varnames: + - AVAILABLE + - PENDING + - PROCESSING + - RECOVERED + - FAILED + - RETAINED + - EXPIRED + - CANCELLED + RUMRecoverySessionsCreateAttributes: + description: Recover 1 to 100 explicit archived sessions. Session IDs must be unique within the request. properties: - id: - description: A unique identifier that represents the owner. - example: "00000000-0000-0000-2345-000000000000" - type: string - type: - $ref: "#/components/schemas/AccessTokenOwnerType" + request_type: + $ref: "#/components/schemas/RUMRecoverySessionsRequestType" + sessions: + description: Sessions to recover. + items: + $ref: "#/components/schemas/RUMRecoverySessionInput" + maxItems: 100 + minItems: 1 + type: array required: - - id - - type + - sessions type: object - RelationshipToIncident: - description: Relationship to incident. + RUMRecoverySessionsRequestType: + default: sessions + description: Targeted recovery. Omitted request_type defaults to sessions. + enum: + - sessions + example: sessions + type: string + x-enum-varnames: + - SESSIONS + RUMResponseLinks: + description: Links attributes. properties: - data: - $ref: "#/components/schemas/RelationshipToIncidentData" - required: - - data + next: + description: |- + Link for the next set of results, only present when there are more results. It always points to the `GET /api/v2/rum/events` endpoint and keeps `filter[query]`, `filter[from]`, `filter[to]`, `sort`, and `page[limit]` of the request. You can also make the request with the + POST endpoint, with `page.cursor` set to `meta.page.after`. + example: "https://api.datadoghq.com/api/v2/rum/events?filter[query]=foo&page[cursor]=eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==" + type: string type: object - RelationshipToIncidentAttachment: - description: A relationship reference for attachments. + RUMResponseMetadata: + description: The metadata associated with a request. properties: - data: + elapsed: + description: The time elapsed in milliseconds. + example: 132 + format: int64 + type: integer + page: + $ref: "#/components/schemas/RUMResponsePage" + request_id: + description: The identifier of the request. + example: "MWlFUjVaWGZTTTZPYzM0VXp1OXU2d3xLSVpEMjZKQ0VKUTI0dEYtM3RSOFVR" + type: string + status: + $ref: "#/components/schemas/RUMResponseStatus" + warnings: description: |- - An array of incident attachments. + A list of warnings (non-fatal errors) encountered. Partial results may return if + warnings are present in the response. items: - $ref: "#/components/schemas/RelationshipToIncidentAttachmentData" + $ref: "#/components/schemas/RUMWarning" type: array - required: - - data type: object - RelationshipToIncidentAttachmentData: - description: The attachment relationship data. + RUMResponsePage: + description: Paging attributes. properties: - id: - description: A unique identifier that represents the attachment. - example: "00000000-0000-abcd-1000-000000000000" + after: + description: |- + The cursor to use to get the next results, if any. To make the next request, use the same parameters with the addition of `page[cursor]` (`page.cursor` for the POST endpoint). Absent on the last page. + example: "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==" type: string - type: - $ref: "#/components/schemas/IncidentAttachmentType" - required: - - id - - type type: object - RelationshipToIncidentData: - description: Relationship to incident object. + RUMResponseStatus: + description: The status of the response. `timeout` means the query did not complete in time and the results are partial. + enum: ["done", "timeout"] + example: "done" + type: string + x-enum-varnames: ["DONE", "TIMEOUT"] + RUMRetentionFilterAttributes: + description: The object describing attributes of a RUM retention filter. properties: - id: - description: A unique identifier that represents the incident. - example: "00000000-0000-0000-1234-000000000000" - type: string - type: - $ref: "#/components/schemas/IncidentType" + cross_product_sampling: + $ref: "#/components/schemas/RUMCrossProductSampling" + enabled: + $ref: "#/components/schemas/RUMRetentionFilterEnabled" + event_type: + $ref: "#/components/schemas/RUMRetentionFilterEventType" + name: + $ref: "#/components/schemas/RunRetentionFilterName" + query: + $ref: "#/components/schemas/RUMRetentionFilterQuery" + sample_rate: + $ref: "#/components/schemas/RUMRetentionFilterSampleRate" + track: + $ref: "#/components/schemas/RUMRetentionFilterTrack" + type: object + RUMRetentionFilterCreateAttributes: + description: The object describing attributes of a RUM retention filter to create. + properties: + cross_product_sampling: + $ref: "#/components/schemas/RUMCrossProductSamplingCreate" + enabled: + $ref: "#/components/schemas/RUMRetentionFilterEnabled" + event_type: + $ref: "#/components/schemas/RUMRetentionFilterEventType" + name: + $ref: "#/components/schemas/RunRetentionFilterName" + query: + $ref: "#/components/schemas/RUMRetentionFilterQuery" + sample_rate: + $ref: "#/components/schemas/RUMRetentionFilterSampleRate" required: - - id - - type + - event_type + - name + - sample_rate type: object - RelationshipToIncidentImpactData: - description: Relationship to impact object. + RUMRetentionFilterCreateData: + description: The new RUM retention filter properties to create. properties: - id: - description: A unique identifier that represents the impact. - example: "00000000-0000-0000-2345-000000000000" - type: string + attributes: + $ref: "#/components/schemas/RUMRetentionFilterCreateAttributes" type: - $ref: "#/components/schemas/IncidentImpactsType" + $ref: "#/components/schemas/RUMRetentionFilterType" required: - - id - type + - attributes type: object - RelationshipToIncidentImpacts: - description: Relationship to impacts. + RUMRetentionFilterCreateRequest: + description: The RUM retention filter body to create. properties: data: - description: An array of incident impacts. - items: - $ref: "#/components/schemas/RelationshipToIncidentImpactData" - type: array + $ref: "#/components/schemas/RUMRetentionFilterCreateData" required: - data type: object - RelationshipToIncidentIntegrationMetadataData: - description: A relationship reference for an integration metadata object. - example: {"id": "00000000-abcd-0002-0000-000000000000", "type": "incident_integrations"} + RUMRetentionFilterData: + description: The RUM retention filter. properties: + attributes: + $ref: "#/components/schemas/RUMRetentionFilterAttributes" id: - description: A unique identifier that represents the integration metadata. - example: "00000000-abcd-0001-0000-000000000000" - type: string + $ref: "#/components/schemas/RUMRetentionFilterID" + meta: + $ref: "#/components/schemas/RUMRetentionFilterMeta" type: - $ref: "#/components/schemas/IncidentIntegrationMetadataType" - required: - - id - - type + $ref: "#/components/schemas/RUMRetentionFilterType" type: object - RelationshipToIncidentIntegrationMetadatas: - description: A relationship reference for multiple integration metadata objects. - example: {"data": [{"id": "00000000-abcd-0005-0000-000000000000", "type": "incident_integrations"}, {"id": "00000000-abcd-0006-0000-000000000000", "type": "incident_integrations"}]} + RUMRetentionFilterEditionMode: + description: |- + The types of changes the retention filter accepts. `complete` filters can be updated and deleted. + `limited` filters are default retention filters that can't be deleted. + enum: + - unknown + - complete + - limited + example: complete + type: string + x-enum-varnames: + - UNKNOWN + - COMPLETE + - LIMITED + RUMRetentionFilterEnabled: + description: Whether the retention filter is enabled. + example: true + type: boolean + RUMRetentionFilterEventType: + description: The type of RUM events to filter on. + enum: ["session", "view", "action", "error", "resource", "long_task", "vital"] + example: "session" + type: string + x-enum-varnames: ["SESSION", "VIEW", "ACTION", "ERROR", "RESOURCE", "LONG_TASK", "VITAL"] + RUMRetentionFilterID: + description: ID of retention filter in UUID. + example: "051601eb-54a0-abc0-03f9-cc02efa18892" + type: string + RUMRetentionFilterMeta: + description: Metadata about the retention filter. properties: - data: - description: Integration metadata relationship array - example: [{"id": "00000000-abcd-0003-0000-000000000000", "type": "incident_integrations"}, {"id": "00000000-abcd-0004-0000-000000000000", "type": "incident_integrations"}] - items: - $ref: "#/components/schemas/RelationshipToIncidentIntegrationMetadataData" - type: array - required: - - data + edition_mode: + $ref: "#/components/schemas/RUMRetentionFilterEditionMode" + source: + $ref: "#/components/schemas/RUMRetentionFilterMetaSource" + updated_at: + description: The time of the last update, as a Unix timestamp in milliseconds. + example: 1735689600000 + format: int64 + type: integer + updated_by_handle: + description: The handle of the user who last updated the retention filter. + example: jane.doe@example.com + type: string type: object - RelationshipToIncidentNotificationTemplate: - description: A relationship reference to a notification template. + RUMRetentionFilterMetaSource: + description: The source of the last update to the retention filter. The value is `unknown` if the request doesn't specify a source. + enum: + - default + - ui + - terraform + - unknown + example: ui + type: string + x-enum-varnames: + - DEFAULT + - UI + - TERRAFORM + - UNKNOWN + RUMRetentionFilterQuery: + description: The query string for a RUM retention filter. + example: "@session.has_replay:true" + type: string + RUMRetentionFilterResponse: + description: The RUM retention filter object. properties: data: - $ref: "#/components/schemas/RelationshipToIncidentNotificationTemplateData" - required: - - data + $ref: "#/components/schemas/RUMRetentionFilterData" type: object - RelationshipToIncidentNotificationTemplateData: - description: The notification template relationship data. + RUMRetentionFilterSampleRate: + description: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. + example: 50.5 + format: double + maximum: 100 + minimum: 0.1 + type: number + RUMRetentionFilterTrack: + description: The product whose events the retention filter applies to. + enum: + - rum + - product_analytics + example: rum + type: string + x-enum-varnames: + - RUM + - PRODUCT_ANALYTICS + RUMRetentionFilterType: + default: retention_filters + description: The type of the resource. The value should always be retention_filters. + enum: + - retention_filters + example: retention_filters + type: string + x-enum-varnames: ["RETENTION_FILTERS"] + RUMRetentionFilterUpdateAttributes: + description: The object describing attributes of a RUM retention filter to update. + properties: + cross_product_sampling: + $ref: "#/components/schemas/RUMCrossProductSamplingUpdate" + enabled: + $ref: "#/components/schemas/RUMRetentionFilterEnabled" + event_type: + $ref: "#/components/schemas/RUMRetentionFilterEventType" + name: + $ref: "#/components/schemas/RunRetentionFilterName" + query: + $ref: "#/components/schemas/RUMRetentionFilterQuery" + sample_rate: + $ref: "#/components/schemas/RUMRetentionFilterSampleRate" + type: object + RUMRetentionFilterUpdateData: + description: The new RUM retention filter properties to update. properties: + attributes: + $ref: "#/components/schemas/RUMRetentionFilterUpdateAttributes" id: - description: The unique identifier of the notification template. - example: "00000000-0000-0000-0000-000000000001" - format: uuid - type: string + $ref: "#/components/schemas/RUMRetentionFilterID" type: - $ref: "#/components/schemas/IncidentNotificationTemplateType" + $ref: "#/components/schemas/RUMRetentionFilterType" required: - id - type + - attributes type: object - RelationshipToIncidentPostmortem: - description: A relationship reference for postmortems. - example: {"data": {"id": "00000000-0000-abcd-3000-000000000000", "type": "incident_postmortems"}} + RUMRetentionFilterUpdateRequest: + description: The RUM retention filter body to update. properties: data: - $ref: "#/components/schemas/RelationshipToIncidentPostmortemData" + $ref: "#/components/schemas/RUMRetentionFilterUpdateData" required: - data type: object - RelationshipToIncidentPostmortemData: - description: The postmortem relationship data. - example: {"id": "00000000-0000-abcd-2000-000000000000", "type": "incident_postmortems"} + RUMRetentionFiltersOrderData: + description: The RUM retention filter data for ordering. properties: id: - description: A unique identifier that represents the postmortem. - example: "00000000-0000-abcd-1000-000000000000" - type: string + $ref: "#/components/schemas/RUMRetentionFilterID" type: - $ref: "#/components/schemas/IncidentPostmortemType" + $ref: "#/components/schemas/RUMRetentionFilterType" required: - id - type type: object - RelationshipToIncidentRequest: - description: Relationship to incident request + RUMRetentionFiltersOrderRequest: + description: |- + The list of RUM retention filter IDs along with their corresponding type to reorder. + All retention filter IDs should be included in the list created for a RUM application. properties: data: - $ref: "#/components/schemas/IncidentRelationshipData" - required: - - data - type: object - RelationshipToIncidentResponderData: - description: Relationship to impact object. - properties: - id: - description: A unique identifier that represents the responder. - example: "00000000-0000-0000-2345-000000000000" - type: string - type: - $ref: "#/components/schemas/IncidentRespondersType" - required: - - id - - type + description: A list of RUM retention filter IDs along with type. + items: + $ref: "#/components/schemas/RUMRetentionFiltersOrderData" + type: array type: object - RelationshipToIncidentResponders: - description: Relationship to incident responders. + RUMRetentionFiltersOrderResponse: + description: The list of RUM retention filter IDs along with type. properties: data: - description: An array of incident responders. + description: A list of RUM retention filter IDs along with type. items: - $ref: "#/components/schemas/RelationshipToIncidentResponderData" + $ref: "#/components/schemas/RUMRetentionFiltersOrderData" type: array - required: - - data type: object - RelationshipToIncidentType: - description: Relationship to an incident type. + RUMRetentionFiltersResponse: + description: All RUM retention filters for a RUM application. properties: data: - $ref: "#/components/schemas/RelationshipToIncidentTypeData" - required: - - data + description: A list of RUM retention filters. + items: + $ref: "#/components/schemas/RUMRetentionFilterData" + type: array type: object - RelationshipToIncidentTypeData: - description: Relationship to incident type object. + RUMRetentionQuotaConfigAttributes: + description: The RUM retention quota configuration properties. properties: - id: - description: The incident type's ID. - example: "00000000-0000-0000-0000-000000000000" + custom: + $ref: "#/components/schemas/RUMRetentionQuotaCustomConfig" + mode: + $ref: "#/components/schemas/RUMRetentionQuotaMode" + org_id: + description: The ID of the organization the retention quota configuration belongs to. + example: 2 + format: int64 + type: integer + updated_at: + description: The date the retention quota configuration was last updated. + example: "2026-03-04T15:37:54.951447Z" + format: date-time + type: string + updated_by: + description: The handle of the user who last updated the retention quota configuration. + example: test@example.com type: string - type: - $ref: "#/components/schemas/IncidentTypeType" required: - - id - - type + - mode + - org_id type: object - RelationshipToIncidentUserDefinedFieldData: - description: Relationship to impact object. + RUMRetentionQuotaConfigData: + description: The RUM retention quota configuration object. properties: + attributes: + $ref: "#/components/schemas/RUMRetentionQuotaConfigAttributes" id: - description: A unique identifier that represents the responder. - example: "00000000-0000-0000-2345-000000000000" + description: The identifier of the scope the retention quota configuration applies to. + example: cd73a516-a481-4af5-8352-9b577465c77b type: string type: - $ref: "#/components/schemas/IncidentUserDefinedFieldType" + $ref: "#/components/schemas/RUMRetentionQuotaConfigType" required: - id - type + - attributes type: object - RelationshipToIncidentUserDefinedFields: - description: Relationship to incident user defined fields. + RUMRetentionQuotaConfigResponse: + description: The RUM retention quota configuration response. properties: data: - description: An array of user defined fields. - items: - $ref: "#/components/schemas/RelationshipToIncidentUserDefinedFieldData" - type: array + $ref: "#/components/schemas/RUMRetentionQuotaConfigData" required: - data type: object - RelationshipToLeakedKey: - description: Relationship to the leak the access token was found in. `data` is null when the access token has not been detected as leaked. + RUMRetentionQuotaConfigType: + default: rum_quota_config + description: The type of the resource, always `rum_quota_config`. + enum: + - rum_quota_config + example: rum_quota_config + type: string + x-enum-varnames: ["RUM_QUOTA_CONFIG"] + RUMRetentionQuotaConfigUpdateAttributes: + description: The RUM retention quota configuration properties to create or update. properties: - data: - $ref: "#/components/schemas/RelationshipToLeakedKeyData" + custom: + $ref: "#/components/schemas/RUMRetentionQuotaCustomConfig" + mode: + $ref: "#/components/schemas/RUMRetentionQuotaMode" required: - - data + - mode type: object - RelationshipToLeakedKeyData: - description: Relationship to the leak the access token was found in. - nullable: true + RUMRetentionQuotaConfigUpdateData: + description: The RUM retention quota configuration to create or update. properties: + attributes: + $ref: "#/components/schemas/RUMRetentionQuotaConfigUpdateAttributes" id: - description: A unique identifier that represents the leak. - example: "00000000-0000-1234-0000-000000000000" + description: |- + The identifier of the scope the retention quota configuration applies to. + Must match `scope_id` in the path. + example: cd73a516-a481-4af5-8352-9b577465c77b type: string type: - $ref: "#/components/schemas/LeakedKeyType" + $ref: "#/components/schemas/RUMRetentionQuotaConfigType" required: - id - type + - attributes type: object - RelationshipToOrganization: - description: Relationship to an organization. + RUMRetentionQuotaConfigUpdateRequest: + description: The body of a request to create or update a RUM retention quota configuration. properties: data: - $ref: "#/components/schemas/RelationshipToOrganizationData" + $ref: "#/components/schemas/RUMRetentionQuotaConfigUpdateData" required: - data type: object - RelationshipToOrganizationData: - description: Relationship to organization object. + RUMRetentionQuotaCustomConfig: + description: The configuration used when `mode` is `custom`. properties: - id: - description: ID of the organization. - example: "00000000-0000-beef-0000-000000000000" + daily_reset_time: + description: The time of day when the daily quota resets, in `HH:MM` 24-hour format. + example: "08:00" + pattern: "^([01]\\d|2[0-3]):[0-5]\\d$" type: string - type: - $ref: "#/components/schemas/OrganizationsType" + daily_reset_timezone: + description: The timezone offset used for the daily reset time, in `±HH:MM` format. + example: "+09:00" + pattern: "^[+-](0\\d|1[0-4]):[0-5]\\d$" + type: string + quota_reached_action: + $ref: "#/components/schemas/RUMRetentionQuotaReachedAction" + session_limit: + description: The maximum number of sessions allowed within the window. Must be at least `1000`. + example: 1000000 + format: int64 + minimum: 1000 + type: integer + window_type: + $ref: "#/components/schemas/RUMRetentionQuotaWindowType" required: - - id - - type + - window_type + - session_limit + - daily_reset_time + - daily_reset_timezone + - quota_reached_action type: object - RelationshipToOrganizations: - description: Relationship to organizations. - properties: - data: - description: Relationships to organization objects. - example: [] - items: - $ref: "#/components/schemas/RelationshipToOrganizationData" - type: array - required: - - data - type: object - RelationshipToOutcome: - description: The JSON:API relationship to a scorecard outcome. + RUMRetentionQuotaMode: + description: |- + The retention quota mode. `custom` enforces a fixed session limit. + `custom` is the only supported mode. + enum: + - custom + example: custom + type: string + x-enum-varnames: ["CUSTOM"] + RUMRetentionQuotaReachedAction: + description: The action to take when the session quota is reached. + enum: + - stop + - slowdown + example: stop + type: string + x-enum-varnames: ["STOP", "SLOWDOWN"] + RUMRetentionQuotaScopeType: + default: application + description: |- + The type of scope the retention quota configuration applies to. + `application` is the only supported scope type. + enum: + - application + example: application + type: string + x-enum-varnames: ["APPLICATION"] + RUMRetentionQuotaWindowType: + description: The window type over which the session limit is enforced. + enum: + - daily + example: daily + type: string + x-enum-varnames: ["DAILY"] + RUMSdkConfigAllowedTracingUrlList: + description: A list of URL configurations for distributed tracing. + items: + $ref: "#/components/schemas/RUMSdkConfigTracingUrlConfig" + type: array + RUMSdkConfigAllowedTrackingOriginList: + description: A list of origin patterns allowed for cross-origin session tracking. + items: + $ref: "#/components/schemas/RUMSdkConfigMatchOption" + type: array + RUMSdkConfigAttributes: + description: Attributes of the RUM SDK configuration. properties: - data: - $ref: "#/components/schemas/RelationshipToOutcomeData" + rum: + $ref: "#/components/schemas/RUMSdkConfigRUMAttributes" + required: + - rum type: object - RelationshipToOutcomeData: - description: The JSON:API relationship to an outcome, which returns the related rule id. + RUMSdkConfigData: + description: The RUM SDK configuration data object. properties: + attributes: + $ref: "#/components/schemas/RUMSdkConfigAttributes" id: - $ref: "#/components/schemas/RuleId" + description: The unique identifier of the RUM SDK configuration. + example: "abc12345-1234-5678-abcd-ef1234567890" + type: string + meta: + $ref: "#/components/schemas/RUMSdkConfigMeta" type: - $ref: "#/components/schemas/RuleType" + $ref: "#/components/schemas/RUMSdkConfigType" + required: + - id + - type + - attributes type: object - RelationshipToPermission: - description: Relationship to a permissions object. + RUMSdkConfigDynamicOption: + description: A dynamic configuration option that extracts a value at runtime using a specified strategy. properties: - data: - $ref: "#/components/schemas/RelationshipToPermissionData" + attribute: + description: The element attribute to read. Used when `strategy` is `dom`. + example: "data-version" + type: string + extractor: + $ref: "#/components/schemas/RUMSdkConfigSerializedRegex" + key: + description: The `localStorage` key to read. Required when `strategy` is `localStorage`. + example: "app.version" + type: string + name: + description: The cookie name to read. Required when `strategy` is `cookie`. + example: "app_version" + type: string + path: + description: The JavaScript path used to extract the value. Required when `strategy` is `js`. + example: "application.version" + type: string + rc_serialized_type: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionSerializedType" + selector: + description: The CSS selector to read from the page. Required when `strategy` is `dom`. + example: "#app-version" + type: string + strategy: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionStrategy" + required: + - rc_serialized_type + - strategy type: object - RelationshipToPermissionData: - description: Relationship to permission object. + RUMSdkConfigDynamicOptionPair: + description: A key-value pair where the value is a dynamic configuration option. properties: - id: - description: ID of the permission. + key: + description: The key name for this dynamic configuration pair. + example: "id" type: string - type: - $ref: "#/components/schemas/PermissionsType" + value: + $ref: "#/components/schemas/RUMSdkConfigDynamicOption" + required: + - key + - value type: object - RelationshipToPermissions: - description: Relationship to multiple permissions objects. + RUMSdkConfigDynamicOptionPairList: + description: A list of dynamic option key-value pairs. + items: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionPair" + type: array + RUMSdkConfigDynamicOptionSerializedType: + description: The type identifier for a dynamic option. Always `dynamic`. + enum: + - dynamic + example: dynamic + type: string + x-enum-varnames: + - DYNAMIC + RUMSdkConfigDynamicOptionStrategy: + description: The strategy used to extract the dynamic value. + enum: + - js + - cookie + - dom + - localStorage + example: js + type: string + x-enum-varnames: + - JS + - COOKIE + - DOM + - LOCAL_STORAGE + RUMSdkConfigMatchOption: + description: A match option used for URL or origin pattern matching. + properties: + rc_serialized_type: + $ref: "#/components/schemas/RUMSdkConfigMatchOptionSerializedType" + value: + description: The value to match against. + example: "https://app.datadoghq.com" + type: string + required: + - rc_serialized_type + - value + type: object + RUMSdkConfigMatchOptionSerializedType: + description: The type of match pattern, either a literal string or a regex. + enum: + - string + - regex + example: string + type: string + x-enum-varnames: + - STRING + - REGEX + RUMSdkConfigMeta: + description: Metadata associated with a RUM SDK configuration. + properties: + updated_at: + description: The timestamp of the last update to this configuration. + example: "2024-01-15T09:30:00.000Z" + format: date-time + type: string + updated_by: + description: The handle of the user who last updated this configuration. + example: "user@datadoghq.com" + type: string + required: + - updated_at + - updated_by + type: object + RUMSdkConfigRUMAttributes: + description: The RUM SDK settings for a configuration. + properties: + allowed_tracing_urls: + $ref: "#/components/schemas/RUMSdkConfigAllowedTracingUrlList" + allowed_tracking_origins: + $ref: "#/components/schemas/RUMSdkConfigAllowedTrackingOriginList" + application_id: + description: The ID of the RUM application this configuration belongs to. + example: "f80e917c-3cd0-4048-ade7-1c4c207baa99" + type: string + context: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionPairList" + default_privacy_level: + description: The default privacy masking level applied to all RUM data. + example: "mask-user-input" + type: string + enable_privacy_for_action_name: + description: Whether to mask user-interaction action names for privacy. + example: false + type: boolean + env: + description: The environment tag for the RUM application. + example: "production" + type: string + service: + description: The service name tag for the RUM application. + example: "my-service" + type: string + session_replay_sample_rate: + description: The percentage of collected sessions for which a replay is captured (0–100). + example: 10 + format: int64 + maximum: 100 + minimum: 0 + type: integer + session_sample_rate: + description: The percentage of user sessions to collect (0–100). + example: 50 + format: int64 + maximum: 100 + minimum: 0 + type: integer + trace_sample_rate: + description: The percentage of requests to forward as APM traces (0–100). + example: 100 + format: int64 + maximum: 100 + minimum: 0 + type: integer + track_session_across_subdomains: + description: Whether to share a session across subdomains of the same site. + example: false + type: boolean + user: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionPairList" + version: + $ref: "#/components/schemas/RUMSdkConfigDynamicOption" + required: + - application_id + - session_sample_rate + - session_replay_sample_rate + - default_privacy_level + - enable_privacy_for_action_name + type: object + RUMSdkConfigRUMUpdateAttributes: + description: The RUM SDK settings to apply when updating a configuration. + properties: + allowed_tracing_urls: + $ref: "#/components/schemas/RUMSdkConfigAllowedTracingUrlList" + allowed_tracking_origins: + $ref: "#/components/schemas/RUMSdkConfigAllowedTrackingOriginList" + context: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionPairList" + default_privacy_level: + description: The default privacy masking level applied to all RUM data. + example: "mask" + type: string + enable_privacy_for_action_name: + description: Whether to mask user-interaction action names for privacy. + example: true + type: boolean + env: + description: The environment tag for the RUM application. + example: "production" + type: string + service: + description: The service name tag for the RUM application. + example: "my-service" + type: string + session_replay_sample_rate: + description: The percentage of collected sessions for which a replay is captured (0–100). + example: 20 + format: int64 + maximum: 100 + minimum: 0 + type: integer + session_sample_rate: + description: The percentage of user sessions to collect (0–100). + example: 75 + format: int64 + maximum: 100 + minimum: 0 + type: integer + trace_sample_rate: + description: The percentage of requests to forward as APM traces (0–100). + example: 100 + format: int64 + maximum: 100 + minimum: 0 + type: integer + track_session_across_subdomains: + description: Whether to share a session across subdomains of the same site. + example: false + type: boolean + user: + $ref: "#/components/schemas/RUMSdkConfigDynamicOptionPairList" + version: + $ref: "#/components/schemas/RUMSdkConfigDynamicOption" + required: + - session_sample_rate + - session_replay_sample_rate + - default_privacy_level + - enable_privacy_for_action_name + type: object + RUMSdkConfigResponse: + description: Response containing a RUM SDK configuration. properties: data: - description: Relationships to permission objects. + $ref: "#/components/schemas/RUMSdkConfigData" + required: + - data + type: object + RUMSdkConfigSerializedRegex: + description: A serialized regex used as an extractor in dynamic options. + properties: + rc_serialized_type: + $ref: "#/components/schemas/RUMSdkConfigSerializedRegexType" + value: + description: The regex pattern used for extraction. + example: "^https://app-.*.datadoghq.com" + type: string + required: + - rc_serialized_type + - value + type: object + RUMSdkConfigSerializedRegexType: + description: The type identifier for a serialized regex. Always `regex`. + enum: + - regex + example: regex + type: string + x-enum-varnames: + - REGEX + RUMSdkConfigTracingUrlConfig: + description: Configuration for a URL that should have distributed tracing enabled. + properties: + match: + $ref: "#/components/schemas/RUMSdkConfigMatchOption" + propagator_types: + description: The list of trace propagator types to use for this URL. + example: + - datadog + - tracecontext items: - $ref: "#/components/schemas/RelationshipToPermissionData" + $ref: "#/components/schemas/RUMSdkConfigTracingUrlPropagatorType" type: array + required: + - match + - propagator_types type: object - RelationshipToRole: - description: Relationship to role. + RUMSdkConfigTracingUrlPropagatorType: + description: A trace propagator type. + enum: + - datadog + - b3 + - b3multi + - tracecontext + example: datadog + type: string + x-enum-varnames: + - DATADOG + - B3 + - B3MULTI + - TRACECONTEXT + RUMSdkConfigType: + default: rum_sdk_config + description: The type of the resource. The value should always be `rum_sdk_config`. + enum: + - rum_sdk_config + example: rum_sdk_config + type: string + x-enum-varnames: + - RUM_SDK_CONFIG + RUMSdkConfigUpdateAttributes: + description: Attributes of the RUM SDK configuration to update. properties: - data: - $ref: "#/components/schemas/RelationshipToRoleData" + rum: + $ref: "#/components/schemas/RUMSdkConfigRUMUpdateAttributes" + required: + - rum type: object - RelationshipToRoleData: - description: Relationship to role object. + RUMSdkConfigUpdateData: + description: The data object for updating a RUM SDK configuration. properties: + attributes: + $ref: "#/components/schemas/RUMSdkConfigUpdateAttributes" id: - description: The unique identifier of the role. - example: "3653d3c6-0c75-11ea-ad28-fb5701eabc7d" + description: The ID of the RUM SDK configuration to update. + example: "abc12345-1234-5678-abcd-ef1234567890" type: string type: - $ref: "#/components/schemas/RolesType" + $ref: "#/components/schemas/RUMSdkConfigType" + required: + - id + - type + - attributes type: object - RelationshipToRoles: - description: Relationship to roles. + RUMSdkConfigUpdateRequest: + description: Request body for updating a RUM SDK configuration. properties: data: - description: An array containing type and the unique identifier of a role. - items: - $ref: "#/components/schemas/RelationshipToRoleData" - type: array + $ref: "#/components/schemas/RUMSdkConfigUpdateData" + required: + - data type: object - RelationshipToRule: - description: Scorecard create rule response relationship. + RUMSearchEventsRequest: + description: |- + The request for a RUM events list. All attributes are optional: without any, the request returns the first 10 events of the last 15 minutes. properties: - scorecard: - $ref: "#/components/schemas/RelationshipToRuleData" + filter: + $ref: "#/components/schemas/RUMQueryFilter" + options: + $ref: "#/components/schemas/RUMQueryOptions" + page: + $ref: "#/components/schemas/RUMQueryPageOptions" + sort: + $ref: "#/components/schemas/RUMSort" type: object - RelationshipToRuleData: - description: Relationship data for a rule. + RUMSort: + description: Sort parameters when querying events. + enum: + - timestamp + - -timestamp + type: string + x-enum-descriptions: + - Oldest events first + - Newest events first + x-enum-varnames: + - TIMESTAMP_ASCENDING + - TIMESTAMP_DESCENDING + RUMSortOrder: + description: The order to use, ascending or descending. + enum: + - "asc" + - "desc" + example: "asc" + type: string + x-enum-varnames: + - "ASCENDING" + - "DESCENDING" + RUMWarning: + description: A warning message indicating something that went wrong with the query. properties: - data: - $ref: "#/components/schemas/RelationshipToRuleDataObject" + code: + description: A unique code for this type of warning. + example: "unknown_index" + type: string + detail: + description: A detailed explanation of this specific warning. + example: "indexes: foo, bar" + type: string + title: + description: A short human-readable summary of the warning. + example: "One or several indexes are missing or invalid, results hold data from the other indexes" + type: string type: object - RelationshipToRuleDataObject: - description: Rule relationship data. + RawErrorBudgetRemaining: + description: The raw error budget remaining for the SLO. properties: - id: - description: The unique ID for a scorecard. - example: q8MQxk8TCqrHnWkp + unit: + description: The unit of the error budget (for example, `seconds`, `requests`). + example: seconds type: string - type: - $ref: "#/components/schemas/ScorecardType" + value: + description: The numeric value of the remaining error budget. + example: 86400.5 + format: double + type: number + required: + - value + - unit type: object - RelationshipToSAMLAssertionAttribute: - description: AuthN Mapping relationship to SAML Assertion Attribute. + ReactNativeSourcemapAttributes: + description: Attributes of a React Native source map. properties: - data: - $ref: "#/components/schemas/RelationshipToSAMLAssertionAttributeData" + build_number: + description: The build number. + example: "100" + type: string + bundle_name: + description: The bundle name. + example: com.example.app + type: string + bundle_version: + description: The bundle version. + example: "1.0" + type: string + created_at: + description: The timestamp when the source map was created. + example: "2024-01-01T00:00:00Z" + format: date-time + type: string + debug_id: + description: The debug identifier (UUID format). + example: 550e8400-e29b-41d4-a716-446655440000 + type: string + mapkind: + $ref: "#/components/schemas/ReactNativeSourcemapMapKind" + platform: + description: The platform the source map was built for (e.g., `ios`, `android`). + example: ios + type: string + service: + description: The service name associated with the source map. + example: my-react-native-app + type: string + size: + description: The size of the source map file in bytes. + example: 2048 + format: int64 + type: integer + version: + description: The version of the service associated with the source map. + example: 1.0.0 + type: string required: - - data + - mapkind + - size + - created_at type: object - RelationshipToSAMLAssertionAttributeData: - description: Data of AuthN Mapping relationship to SAML Assertion Attribute. + ReactNativeSourcemapData: + description: React Native source map data object. properties: + attributes: + $ref: "#/components/schemas/ReactNativeSourcemapAttributes" id: - description: The ID of the SAML assertion attribute. - example: "0" + description: The unique identifier of the source map. + example: "10" type: string type: - $ref: "#/components/schemas/SAMLAssertionAttributesType" + $ref: "#/components/schemas/SourcemapDataType" required: - id - type + - attributes type: object - RelationshipToServiceAccount: - description: Relationship to service account. + ReactNativeSourcemapMapKind: + description: The type of source map. Always `react` for React Native source maps. + enum: + - react + example: react + type: string + x-enum-varnames: + - REACT + ReadinessGate: + additionalProperties: false + description: Used to merge multiple branches into a single branch. + properties: + thresholdType: + $ref: "#/components/schemas/ReadinessGateThresholdType" + required: + - thresholdType + type: object + ReadinessGateThresholdType: + description: The definition of `ReadinessGateThresholdType` object. + enum: + - ANY + - ALL + example: ANY + type: string + x-enum-varnames: + - ANY + - ALL + RecentlyUpdatedEntitiesResponse: + description: Response from the recently updated entities endpoint, containing the entities with the most recent updates in the requested time range, ordered from most to least recently updated. properties: data: - $ref: "#/components/schemas/RelationshipToServiceAccountData" + description: The list of entities with the most recent updates, ordered from most to least recently updated. + items: + $ref: "#/components/schemas/EntityContextEntity" + type: array required: - data type: object - RelationshipToServiceAccountData: - description: Relationship to service account object. + RecommendationsFilterRequest: + description: JSON:API request body for filtering cost recommendations. + example: + data: + attributes: + extra_fields: + - tags.env + scope: ccm + sort: + - expression: "@potential_daily_savings" + order: DESC + id: "@resource_table:aws_ec2_instance" + type: recommendations_filter + properties: + data: + $ref: "#/components/schemas/RecommendationsFilterRequestData" + required: + - data + type: object + RecommendationsFilterRequestData: + description: |- + JSON:API resource containing the cost recommendations filter. This legacy search contract + uses the resource ID for the filter expression rather than as a persistent resource identifier. properties: + attributes: + $ref: "#/components/schemas/RecommendationsFilterRequestDataAttributes" id: - description: A unique identifier that represents the service account. - example: "00000000-0000-0000-2345-000000000000" + description: |- + Filter expression applied to the recommendations when `attributes.filter` is omitted. + When supplied, `attributes.filter` overrides this value, including when empty. If the + resulting filter is empty, it defaults to `*`. Scope, view, and pagination still apply. + example: "@resource_table:aws_ec2_instance" type: string type: - $ref: "#/components/schemas/ServiceAccountType" + $ref: "#/components/schemas/RecommendationsFilterRequestDataType" required: - - id - type type: object - RelationshipToTeam: - description: Relationship to team. + RecommendationsFilterRequestDataAttributes: + description: Attributes used to filter and sort cost recommendations. properties: - data: - $ref: "#/components/schemas/RelationshipToTeamData" + extra_fields: + description: |- + Additional fields to return from the recommendation event's custom attributes, selected + by dotted paths such as `tags.env` or wildcard patterns such as `*target*`. + Arrays are traversed without indexes. Matched objects and arrays are returned whole. + A maximum of 256 selectors can be requested. Selectors that match nothing return no field. + example: + - tags.env + - "*target*" + items: + description: A dotted field path or wildcard pattern. + type: string + maxItems: 256 + type: array + filter: + description: |- + Filter expression applied to the recommendations. When supplied, this attribute overrides + `data.id`, including when empty. When omitted, `data.id` is used. If the resulting filter + is empty, it defaults to `*`. Scope, view, and pagination still apply. + example: "@resource_table:aws_ec2_instance" + type: string + scope: + $ref: "#/components/schemas/RecommendationsFilterRequestScope" + sort: + description: Ordered list of sort clauses applied to the result set. + items: + $ref: "#/components/schemas/RecommendationsFilterRequestSortItems" + type: array + view: + description: |- + Status view to return: `all`, `active` (not dismissed), `dismissed`, `open`, `in-progress`, + or `completed`. Defaults to `all`, which returns recommendations in every status. + example: active + type: string type: object - RelationshipToTeamData: - description: Relationship to Team object. + RecommendationsFilterRequestDataType: + default: recommendations_filter + description: Legacy JSON:API resource type required by the cost recommendations search decoder. + enum: + - recommendations_filter + example: recommendations_filter + type: string + x-enum-varnames: + - RECOMMENDATIONS_FILTER + RecommendationsFilterRequestScope: + description: |- + Recommendations scope. Defaults to `ccm`; use `experiment` for experimental recommendations + or `*` for both. An empty value is treated as `ccm`. + enum: + - ccm + - experiment + - "*" + - "" + example: ccm + type: string + x-enum-varnames: + - CCM + - EXPERIMENT + - ALL + - EMPTY + RecommendationsFilterRequestSortItems: + description: A single sort clause applied to the cost recommendations result set. properties: - id: - description: The unique identifier of the team. - example: f9bb8444-af7f-11ec-ac2c-da7ad0900001 + expression: + description: Field to sort by (for example, `@potential_daily_savings`). + example: "@potential_daily_savings" + type: string + order: + description: Sort direction, either `ASC` or `DESC` (case-insensitive). + example: DESC + type: string + required: + - order + type: object + RecommendationsPageMeta: + description: Top-level JSON:API meta object for paginated cost recommendation responses. + properties: + page: + $ref: "#/components/schemas/RecommendationsPageMetaPage" + type: object + RecommendationsPageMetaPage: + description: Pagination metadata for a page of cost recommendations. + properties: + filter: + description: The filter expression that was applied to produce this page. + type: string + next_page_token: + description: Opaque token used to fetch the next page; absent on the last page. + type: string + page_size: + description: Number of items returned in this page (1–5000). + format: int32 + maximum: 5000 + minimum: 1 + type: integer + page_token: + description: Pagination token echoed back from the request. type: string + type: object + ReferenceTableCreateSourceType: + description: >- + The source type for creating reference table data. Only these source types can be created through this API. + enum: + - LOCAL_FILE + - S3 + - GCS + - AZURE + example: "LOCAL_FILE" + type: string + x-enum-varnames: + - LOCAL_FILE + - S3 + - GCS + - AZURE + ReferenceTableSchemaFieldType: + description: The field type for reference table schema fields. + enum: + - STRING + - INT32 + example: "STRING" + type: string + x-enum-varnames: + - STRING + - INT32 + ReferenceTableSortType: + default: "-updated_at" + description: >- + Sort field and direction for reference tables. Use field name for ascending, prefix with "-" for descending. + enum: + - updated_at + - table_name + - status + - "-updated_at" + - "-table_name" + - "-status" + type: string + x-enum-varnames: + - UPDATED_AT + - TABLE_NAME + - STATUS + - MINUS_UPDATED_AT + - MINUS_TABLE_NAME + - MINUS_STATUS + ReferenceTableSourceType: + description: >- + The source type for reference table data. Includes all possible source types that can appear in responses. + enum: + - LOCAL_FILE + - S3 + - GCS + - AZURE + - SERVICENOW + - SALESFORCE + - DATABRICKS + - SNOWFLAKE + example: "LOCAL_FILE" + type: string + x-enum-varnames: + - LOCAL_FILE + - S3 + - GCS + - AZURE + - SERVICENOW + - SALESFORCE + - DATABRICKS + - SNOWFLAKE + RegisterAppKeyResponse: + description: The response object after creating an app key registration. + properties: + data: + $ref: "#/components/schemas/AppKeyRegistrationData" + type: object + RelationAttributes: + description: Relation attributes. + properties: + from: + $ref: "#/components/schemas/RelationEntity" + to: + $ref: "#/components/schemas/RelationEntity" type: - $ref: "#/components/schemas/TeamType" + $ref: "#/components/schemas/RelationType" type: object - RelationshipToTeamLinkData: - description: Relationship between a link and a team + RelationEntity: + description: Relation entity reference. + properties: + kind: + description: Entity kind. + type: string + name: + description: Entity name. + type: string + namespace: + description: Entity namespace. + type: string + type: object + RelationIncludeType: + description: Supported include types for relations. + enum: + - entity + - schema + type: string + x-enum-varnames: + - ENTITY + - SCHEMA + RelationMeta: + description: Relation metadata. + properties: + createdAt: + description: Relation creation time. + format: date-time + type: string + definedBy: + description: Relation defined by. + type: string + modifiedAt: + description: Relation modification time. + format: date-time + type: string + source: + description: Relation source. + type: string + type: object + RelationRelationships: + description: Relation relationships. + properties: + fromEntity: + $ref: "#/components/schemas/RelationToEntity" + toEntity: + $ref: "#/components/schemas/RelationToEntity" + type: object + RelationResponse: + description: Relation response data. properties: + attributes: + $ref: "#/components/schemas/RelationAttributes" id: - description: The team link's identifier - example: f9bb8444-af7f-11ec-ac2c-da7ad0900001 + description: Relation ID. + type: string + meta: + $ref: "#/components/schemas/RelationMeta" + relationships: + $ref: "#/components/schemas/RelationRelationships" + subtype: + description: Relation subtype. type: string type: - $ref: "#/components/schemas/TeamLinkType" - required: - - id - - type + $ref: "#/components/schemas/RelationResponseType" type: object - RelationshipToTeamLinks: - description: Relationship between a team and a team link + RelationResponseData: + description: Array of relation responses + items: + $ref: "#/components/schemas/RelationResponse" + type: array + RelationResponseMeta: + description: Relation response metadata. + properties: + count: + description: Total relations count. + format: int64 + type: integer + includeCount: + description: Total included data count. + format: int64 + type: integer + type: object + RelationResponseType: + description: Relation type. + enum: [relation] + type: string + x-enum-varnames: + - RELATION + RelationToEntity: + description: Relation to entity. properties: data: - description: Related team links - items: - $ref: "#/components/schemas/RelationshipToTeamLinkData" - type: array - links: - $ref: "#/components/schemas/TeamRelationshipsLinks" + $ref: "#/components/schemas/RelationshipItem" + meta: + $ref: "#/components/schemas/EntityMeta" type: object - RelationshipToUser: - description: Relationship to user. + RelationType: + description: Supported relation types. + enum: + - RelationTypeOwns + - RelationTypeOwnedBy + - RelationTypeDependsOn + - RelationTypeDependencyOf + - RelationTypePartsOf + - RelationTypeHasPart + - RelationTypeOtherOwns + - RelationTypeOtherOwnedBy + - RelationTypeImplementedBy + - RelationTypeImplements + type: string + x-enum-varnames: + - RELATIONTYPEOWNS + - RELATIONTYPEOWNEDBY + - RELATIONTYPEDEPENDSON + - RELATIONTYPEDEPENDENCYOF + - RELATIONTYPEPARTSOF + - RELATIONTYPEHASPART + - RELATIONTYPEOTHEROWNS + - RELATIONTYPEOTHEROWNEDBY + - RELATIONTYPEIMPLEMENTEDBY + - RELATIONTYPEIMPLEMENTS + RelationshipArray: + description: Relationships. + items: + $ref: "#/components/schemas/RelationshipItem" + type: array + RelationshipItem: + description: Relationship entry. + properties: + id: + description: Associated data ID. + type: string + type: + description: Relationship type. + type: string + type: object + RelationshipToAccessTokenOwner: + description: Relationship to the access token's owner. properties: data: - $ref: "#/components/schemas/RelationshipToUserData" + $ref: "#/components/schemas/RelationshipToAccessTokenOwnerData" required: - data type: object - RelationshipToUserData: - description: Relationship to user object. + RelationshipToAccessTokenOwnerData: + description: Relationship to the access token's owner. properties: id: - description: A unique identifier that represents the user. + description: A unique identifier that represents the owner. example: "00000000-0000-0000-2345-000000000000" type: string type: - $ref: "#/components/schemas/UsersType" + $ref: "#/components/schemas/AccessTokenOwnerType" required: - id - type type: object - RelationshipToUserTeamPermission: - description: Relationship between a user team permission and a team + RelationshipToIncident: + description: Relationship to incident. properties: data: - $ref: "#/components/schemas/RelationshipToUserTeamPermissionData" - links: - $ref: "#/components/schemas/TeamRelationshipsLinks" + $ref: "#/components/schemas/RelationshipToIncidentData" + required: + - data type: object - RelationshipToUserTeamPermissionData: - description: Related user team permission data - nullable: true + RelationshipToIncidentAttachment: + description: A relationship reference for attachments. + properties: + data: + description: |- + An array of incident attachments. + items: + $ref: "#/components/schemas/RelationshipToIncidentAttachmentData" + type: array + required: + - data + type: object + RelationshipToIncidentAttachmentData: + description: The attachment relationship data. properties: id: - description: The ID of the user team permission - example: UserTeamPermissions-aeadc05e-98a8-11ec-ac2c-da7ad0900001-416595 + description: A unique identifier that represents the attachment. + example: "00000000-0000-abcd-1000-000000000000" type: string type: - $ref: "#/components/schemas/UserTeamPermissionType" + $ref: "#/components/schemas/IncidentAttachmentType" required: - id - type type: object - RelationshipToUserTeamTeam: - description: Relationship between team membership and team + RelationshipToIncidentData: + description: Relationship to incident object. properties: - data: - $ref: "#/components/schemas/RelationshipToUserTeamTeamData" + id: + description: A unique identifier that represents the incident. + example: "00000000-0000-0000-1234-000000000000" + type: string + type: + $ref: "#/components/schemas/IncidentType" required: - - data + - id + - type type: object - RelationshipToUserTeamTeamData: - description: The team associated with the membership + RelationshipToIncidentImpactData: + description: Relationship to impact object. properties: id: - description: The ID of the team associated with the membership - example: d7e15d9d-d346-43da-81d8-3d9e71d9a5e9 + description: A unique identifier that represents the impact. + example: "00000000-0000-0000-2345-000000000000" type: string type: - $ref: "#/components/schemas/UserTeamTeamType" + $ref: "#/components/schemas/IncidentImpactsType" required: - id - type type: object - RelationshipToUserTeamUser: - description: Relationship between team membership and user + RelationshipToIncidentImpacts: + description: Relationship to impacts. properties: data: - $ref: "#/components/schemas/RelationshipToUserTeamUserData" + description: An array of incident impacts. + items: + $ref: "#/components/schemas/RelationshipToIncidentImpactData" + type: array required: - data type: object - RelationshipToUserTeamUserData: - description: A user's relationship with a team + RelationshipToIncidentIntegrationMetadataData: + description: A relationship reference for an integration metadata object. + example: {"id": "00000000-abcd-0002-0000-000000000000", "type": "incident_integrations"} properties: id: - description: The ID of the user associated with the team - example: b8626d7e-cedd-11eb-abf5-da7ad0900001 + description: A unique identifier that represents the integration metadata. + example: "00000000-abcd-0001-0000-000000000000" type: string type: - $ref: "#/components/schemas/UserTeamUserType" + $ref: "#/components/schemas/IncidentIntegrationMetadataType" required: - id - type type: object - RelationshipToUsers: - description: Relationship to users. + RelationshipToIncidentIntegrationMetadatas: + description: A relationship reference for multiple integration metadata objects. + example: {"data": [{"id": "00000000-abcd-0005-0000-000000000000", "type": "incident_integrations"}, {"id": "00000000-abcd-0006-0000-000000000000", "type": "incident_integrations"}]} properties: data: - description: Relationships to user objects. - example: [] + description: Integration metadata relationship array + example: [{"id": "00000000-abcd-0003-0000-000000000000", "type": "incident_integrations"}, {"id": "00000000-abcd-0004-0000-000000000000", "type": "incident_integrations"}] items: - $ref: "#/components/schemas/RelationshipToUserData" + $ref: "#/components/schemas/RelationshipToIncidentIntegrationMetadataData" type: array required: - data type: object - Remediation: - description: Vulnerability remediation. + RelationshipToIncidentNotificationTemplate: + description: A relationship reference to a notification template. properties: - auto_solvable: - description: Whether the vulnerability can be resolved when recompiling the package or not. - example: false - type: boolean + data: + $ref: "#/components/schemas/RelationshipToIncidentNotificationTemplateData" + required: + - data + type: object + RelationshipToIncidentNotificationTemplateData: + description: The notification template relationship data. + properties: + id: + description: The unique identifier of the notification template. + example: "00000000-0000-0000-0000-000000000001" + format: uuid + type: string + type: + $ref: "#/components/schemas/IncidentNotificationTemplateType" + required: + - id + - type + type: object + RelationshipToIncidentPostmortem: + description: A relationship reference for postmortems. + example: {"data": {"id": "00000000-0000-abcd-3000-000000000000", "type": "incident_postmortems"}} + properties: + data: + $ref: "#/components/schemas/RelationshipToIncidentPostmortemData" + required: + - data + type: object + RelationshipToIncidentPostmortemData: + description: The postmortem relationship data. + example: {"id": "00000000-0000-abcd-2000-000000000000", "type": "incident_postmortems"} + properties: + id: + description: A unique identifier that represents the postmortem. + example: "00000000-0000-abcd-1000-000000000000" + type: string + type: + $ref: "#/components/schemas/IncidentPostmortemType" + required: + - id + - type + type: object + RelationshipToIncidentRequest: + description: Relationship to incident request + properties: + data: + $ref: "#/components/schemas/IncidentRelationshipData" + required: + - data + type: object + RelationshipToIncidentResponderData: + description: Relationship to impact object. + properties: + id: + description: A unique identifier that represents the responder. + example: "00000000-0000-0000-2345-000000000000" + type: string + type: + $ref: "#/components/schemas/IncidentRespondersType" + required: + - id + - type + type: object + RelationshipToIncidentResponders: + description: Relationship to incident responders. + properties: + data: + description: An array of incident responders. + items: + $ref: "#/components/schemas/RelationshipToIncidentResponderData" + type: array + required: + - data + type: object + RelationshipToIncidentType: + description: Relationship to an incident type. + properties: + data: + $ref: "#/components/schemas/RelationshipToIncidentTypeData" + required: + - data + type: object + RelationshipToIncidentTypeData: + description: Relationship to incident type object. + properties: + id: + description: The incident type's ID. + example: "00000000-0000-0000-0000-000000000000" + type: string + type: + $ref: "#/components/schemas/IncidentTypeType" + required: + - id + - type + type: object + RelationshipToIncidentUserDefinedFieldData: + description: Relationship to impact object. + properties: + id: + description: A unique identifier that represents the responder. + example: "00000000-0000-0000-2345-000000000000" + type: string + type: + $ref: "#/components/schemas/IncidentUserDefinedFieldType" + required: + - id + - type + type: object + RelationshipToIncidentUserDefinedFields: + description: Relationship to incident user defined fields. + properties: + data: + description: An array of user defined fields. + items: + $ref: "#/components/schemas/RelationshipToIncidentUserDefinedFieldData" + type: array + required: + - data + type: object + RelationshipToLeakedKey: + description: Relationship to the leak the access token was found in. `data` is null when the access token has not been detected as leaked. + properties: + data: + $ref: "#/components/schemas/RelationshipToLeakedKeyData" + required: + - data + type: object + RelationshipToLeakedKeyData: + description: Relationship to the leak the access token was found in. + nullable: true + properties: + id: + description: A unique identifier that represents the leak. + example: "00000000-0000-1234-0000-000000000000" + type: string + type: + $ref: "#/components/schemas/LeakedKeyType" + required: + - id + - type + type: object + RelationshipToOrganization: + description: Relationship to an organization. + properties: + data: + $ref: "#/components/schemas/RelationshipToOrganizationData" + required: + - data + type: object + RelationshipToOrganizationData: + description: Relationship to organization object. + properties: + id: + description: ID of the organization. + example: "00000000-0000-beef-0000-000000000000" + type: string + type: + $ref: "#/components/schemas/OrganizationsType" + required: + - id + - type + type: object + RelationshipToOrganizations: + description: Relationship to organizations. + properties: + data: + description: Relationships to organization objects. + example: [] + items: + $ref: "#/components/schemas/RelationshipToOrganizationData" + type: array + required: + - data + type: object + RelationshipToOutcome: + description: The JSON:API relationship to a scorecard outcome. + properties: + data: + $ref: "#/components/schemas/RelationshipToOutcomeData" + type: object + RelationshipToOutcomeData: + description: The JSON:API relationship to an outcome, which returns the related rule id. + properties: + id: + $ref: "#/components/schemas/RuleId" + type: + $ref: "#/components/schemas/RuleType" + type: object + RelationshipToPermission: + description: Relationship to a permissions object. + properties: + data: + $ref: "#/components/schemas/RelationshipToPermissionData" + type: object + RelationshipToPermissionData: + description: Relationship to permission object. + properties: + id: + description: ID of the permission. + type: string + type: + $ref: "#/components/schemas/PermissionsType" + type: object + RelationshipToPermissions: + description: Relationship to multiple permissions objects. + properties: + data: + description: Relationships to permission objects. + items: + $ref: "#/components/schemas/RelationshipToPermissionData" + type: array + type: object + RelationshipToRole: + description: Relationship to role. + properties: + data: + $ref: "#/components/schemas/RelationshipToRoleData" + type: object + RelationshipToRoleData: + description: Relationship to role object. + properties: + id: + description: The unique identifier of the role. + example: "3653d3c6-0c75-11ea-ad28-fb5701eabc7d" + type: string + type: + $ref: "#/components/schemas/RolesType" + type: object + RelationshipToRoles: + description: Relationship to roles. + properties: + data: + description: An array containing type and the unique identifier of a role. + items: + $ref: "#/components/schemas/RelationshipToRoleData" + type: array + type: object + RelationshipToRule: + description: Scorecard create rule response relationship. + properties: + scorecard: + $ref: "#/components/schemas/RelationshipToRuleData" + type: object + RelationshipToRuleData: + description: Relationship data for a rule. + properties: + data: + $ref: "#/components/schemas/RelationshipToRuleDataObject" + type: object + RelationshipToRuleDataObject: + description: Rule relationship data. + properties: + id: + description: The unique ID for a scorecard. + example: q8MQxk8TCqrHnWkp + type: string + type: + $ref: "#/components/schemas/ScorecardType" + type: object + RelationshipToSAMLAssertionAttribute: + description: AuthN Mapping relationship to SAML Assertion Attribute. + properties: + data: + $ref: "#/components/schemas/RelationshipToSAMLAssertionAttributeData" + required: + - data + type: object + RelationshipToSAMLAssertionAttributeData: + description: Data of AuthN Mapping relationship to SAML Assertion Attribute. + properties: + id: + description: The ID of the SAML assertion attribute. + example: "0" + type: string + type: + $ref: "#/components/schemas/SAMLAssertionAttributesType" + required: + - id + - type + type: object + RelationshipToServiceAccount: + description: Relationship to service account. + properties: + data: + $ref: "#/components/schemas/RelationshipToServiceAccountData" + required: + - data + type: object + RelationshipToServiceAccountData: + description: Relationship to service account object. + properties: + id: + description: A unique identifier that represents the service account. + example: "00000000-0000-0000-2345-000000000000" + type: string + type: + $ref: "#/components/schemas/ServiceAccountType" + required: + - id + - type + type: object + RelationshipToTeam: + description: Relationship to team. + properties: + data: + $ref: "#/components/schemas/RelationshipToTeamData" + type: object + RelationshipToTeamData: + description: Relationship to Team object. + properties: + id: + description: The unique identifier of the team. + example: f9bb8444-af7f-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: "#/components/schemas/TeamType" + type: object + RelationshipToTeamLinkData: + description: Relationship between a link and a team + properties: + id: + description: The team link's identifier + example: f9bb8444-af7f-11ec-ac2c-da7ad0900001 + type: string + type: + $ref: "#/components/schemas/TeamLinkType" + required: + - id + - type + type: object + RelationshipToTeamLinks: + description: Relationship between a team and a team link + properties: + data: + description: Related team links + items: + $ref: "#/components/schemas/RelationshipToTeamLinkData" + type: array + links: + $ref: "#/components/schemas/TeamRelationshipsLinks" + type: object + RelationshipToUser: + description: Relationship to user. + properties: + data: + $ref: "#/components/schemas/RelationshipToUserData" + required: + - data + type: object + RelationshipToUserData: + description: Relationship to user object. + properties: + id: + description: A unique identifier that represents the user. + example: "00000000-0000-0000-2345-000000000000" + type: string + type: + $ref: "#/components/schemas/UsersType" + required: + - id + - type + type: object + RelationshipToUserTeamPermission: + description: Relationship between a user team permission and a team + properties: + data: + $ref: "#/components/schemas/RelationshipToUserTeamPermissionData" + links: + $ref: "#/components/schemas/TeamRelationshipsLinks" + type: object + RelationshipToUserTeamPermissionData: + description: Related user team permission data + nullable: true + properties: + id: + description: The ID of the user team permission + example: UserTeamPermissions-aeadc05e-98a8-11ec-ac2c-da7ad0900001-416595 + type: string + type: + $ref: "#/components/schemas/UserTeamPermissionType" + required: + - id + - type + type: object + RelationshipToUserTeamTeam: + description: Relationship between team membership and team + properties: + data: + $ref: "#/components/schemas/RelationshipToUserTeamTeamData" + required: + - data + type: object + RelationshipToUserTeamTeamData: + description: The team associated with the membership + properties: + id: + description: The ID of the team associated with the membership + example: d7e15d9d-d346-43da-81d8-3d9e71d9a5e9 + type: string + type: + $ref: "#/components/schemas/UserTeamTeamType" + required: + - id + - type + type: object + RelationshipToUserTeamUser: + description: Relationship between team membership and user + properties: + data: + $ref: "#/components/schemas/RelationshipToUserTeamUserData" + required: + - data + type: object + RelationshipToUserTeamUserData: + description: A user's relationship with a team + properties: + id: + description: The ID of the user associated with the team + example: b8626d7e-cedd-11eb-abf5-da7ad0900001 + type: string + type: + $ref: "#/components/schemas/UserTeamUserType" + required: + - id + - type + type: object + RelationshipToUsers: + description: Relationship to users. + properties: + data: + description: Relationships to user objects. + example: [] + items: + $ref: "#/components/schemas/RelationshipToUserData" + type: array + required: + - data + type: object + Remediation: + description: Vulnerability remediation. + properties: + auto_solvable: + description: Whether the vulnerability can be resolved when recompiling the package or not. + example: false + type: boolean avoided_advisories: description: Avoided advisories. items: @@ -120844,5330 +123461,2713 @@ components: description: Link to the next page, or `null` if it is unavailable. example: "https://api.datadoghq.com/api/v2/reporting/schedule/list?page[offset]=25&page[limit]=25" nullable: true - type: string - prev: - description: Link to the previous page, or `null` if it is unavailable. - example: "https://api.datadoghq.com/api/v2/reporting/schedule/list?page[offset]=0&page[limit]=25" - nullable: true - type: string - self: - description: Link to the current page. - example: "https://api.datadoghq.com/api/v2/reporting/schedule/list?page[limit]=25" - nullable: true - type: string - type: object - ReportScheduleListResponseMeta: - description: Metadata for a paginated report schedule list response. - properties: - pagination: - $ref: "#/components/schemas/ReportScheduleListResponsePagination" - type: object - ReportScheduleListResponsePagination: - description: Offset and limit pagination metadata for a report schedule list response. - properties: - first_offset: - description: The first offset. - example: 0 - format: int64 - type: integer - last_offset: - description: The last offset when the total count is known, or `null` if it is unavailable. - example: 0 - format: int64 - nullable: true - type: integer - limit: - description: The maximum number of schedules returned. - example: 25 - format: int64 - type: integer - next_offset: - description: The next offset. - example: 25 - format: int64 - type: integer - offset: - description: The current offset. - example: 0 - format: int64 - type: integer - prev_offset: - description: The previous offset. - example: 0 - format: int64 - type: integer - total: - description: The total number of matching schedules. - example: 1 - format: int64 - type: integer - type: - $ref: "#/components/schemas/ReportScheduleListResponsePaginationType" - type: object - ReportScheduleListResponsePaginationType: - description: The pagination type. - enum: - - offset_limit - example: offset_limit - type: string - x-enum-varnames: - - OFFSET_LIMIT - ReportScheduleListResponseRelationships: - description: Relationships for a report schedule in a list response. - properties: - author: - $ref: "#/components/schemas/ReportScheduleAuthorRelationship" - resource: - $ref: "#/components/schemas/ReportScheduleListResourceRelationship" - required: - - author - type: object - ReportSchedulePatchRequest: - description: Request body for updating a report schedule. - properties: - data: - $ref: "#/components/schemas/ReportSchedulePatchRequestData" - required: - - data - type: object - ReportSchedulePatchRequestAttributes: - description: |- - The updated configuration of the report schedule. These values replace the existing - ones; the targeted resource (`resource_id` and `resource_type`) cannot be changed. - properties: - delivery_format: - $ref: "#/components/schemas/ReportScheduleDeliveryFormat" - description: - description: A description of the report, up to 4096 characters. - example: "Updated weekly summary of infrastructure health." - maxLength: 4096 - type: string - recipients: - description: |- - The recipients of the report. Each entry is an email address, a Slack channel - reference in the form `slack:{team_id}.{channel_id}.{channel_name}`, or a Microsoft - Teams channel reference in the form `teams:{tenant_id}|{team_id}|{channel_id}`. - example: - - "user@example.com" - - "slack:T01234567.C01234567.alerts" - - "teams:11111111-1111-1111-1111-111111111111|22222222-2222-2222-2222-222222222222|19:exampleChannelId@thread.tacv2" - items: - description: A single recipient (email address, Slack channel reference, or Microsoft Teams channel reference). - type: string - type: array - rrule: - description: The recurrence rule for the schedule, expressed as an iCalendar `RRULE` string. - example: "DTSTART;TZID=America/New_York:20260601T090000\nRRULE:FREQ=WEEKLY;BYDAY=MO;BYHOUR=9;BYMINUTE=0" - type: string - tab_id: - description: The identifier of the dashboard tab to render, when the dashboard has tabs. - example: "66666666-7777-8888-9999-000000000000" - format: uuid - type: string - template_variables: - description: The dashboard template variables applied when rendering the report. - items: - $ref: "#/components/schemas/ReportScheduleTemplateVariable" - type: array - timeframe: - description: The relative timeframe of data to include in the report. - example: "1w" - type: string - timezone: - description: The IANA time zone identifier the recurrence rule is evaluated in. - example: "America/New_York" - type: string - title: - description: The title of the report, between 1 and 78 characters. - example: "Weekly Infrastructure Report" - maxLength: 78 - minLength: 1 - type: string - required: - - recipients - - rrule - - timezone - - template_variables - - timeframe - - title - - description - type: object - ReportSchedulePatchRequestData: - description: The JSON:API data object for a report schedule update request. - properties: - attributes: - $ref: "#/components/schemas/ReportSchedulePatchRequestAttributes" - type: - $ref: "#/components/schemas/ReportScheduleType" - required: - - type - - attributes - type: object - ReportScheduleResource: - description: A report target resource included as a related JSON:API resource. - properties: - attributes: - $ref: "#/components/schemas/ReportScheduleResourceAttributes" - id: - description: The resource identifier. - example: "abc-def-ghi" - type: string - type: - $ref: "#/components/schemas/ReportScheduleIncludedResourceType" - required: - - type - - id - - attributes - type: object - ReportScheduleResourceAttributes: - description: Attributes of an included report target resource. - properties: - resource_type: - $ref: "#/components/schemas/ReportScheduleResourceType" - template_variables: - description: Template variable metadata from the dashboard resource, when available. - items: - $ref: "#/components/schemas/ReportScheduleIndexTemplateVariable" - nullable: true - type: array - title: - description: The title of the dashboard or integration dashboard resource, when available. - example: "Infrastructure Overview" - nullable: true - type: string - required: - - resource_type - type: object - ReportScheduleResourceType: - description: The type of dashboard resource the report schedule targets. - enum: - - dashboard - - integration_dashboard - example: dashboard - type: string - x-enum-varnames: - - DASHBOARD - - INTEGRATION_DASHBOARD - ReportScheduleResponse: - description: Response containing a single report schedule. - properties: - data: - $ref: "#/components/schemas/ReportScheduleResponseData" - included: - description: Related resources included with the report schedule, such as the author. - items: - $ref: "#/components/schemas/ReportScheduleIncludedResource" - type: array - required: - - data - type: object - ReportScheduleResponseAttributes: - description: The configuration and derived state of a report schedule. - properties: - delivery_format: - $ref: "#/components/schemas/ReportScheduleResponseAttributesDeliveryFormat" - description: - description: The description of the report. - example: "Weekly summary of infrastructure health." - type: string - next_recurrence: - description: The Unix timestamp, in milliseconds, of the next scheduled delivery, or `null` if none is scheduled. - example: 1780923600000 - format: int64 - nullable: true - type: integer - recipients: - description: The recipients of the report (email addresses, Slack channel references, or Microsoft Teams channel references). - example: - - "user@example.com" - - "slack:T01234567.C01234567.alerts" - - "teams:11111111-1111-1111-1111-111111111111|22222222-2222-2222-2222-222222222222|19:exampleChannelId@thread.tacv2" - items: - description: A single recipient (email address, Slack channel reference, or Microsoft Teams channel reference). - type: string - type: array - resource_id: - description: The identifier of the resource rendered in the report. - example: "abc-def-ghi" - type: string - resource_type: - $ref: "#/components/schemas/ReportScheduleResourceType" - rrule: - description: The recurrence rule for the schedule, expressed as an iCalendar `RRULE` string. - example: "DTSTART;TZID=America/New_York:20260601T090000\nRRULE:FREQ=WEEKLY;BYDAY=MO;BYHOUR=9;BYMINUTE=0" - type: string - status: - $ref: "#/components/schemas/ReportScheduleStatus" - tab_id: - description: The identifier of the dashboard tab rendered in the report, or `null` if not set. - example: "66666666-7777-8888-9999-000000000000" - nullable: true - type: string - template_variables: - description: The dashboard template variables applied when rendering the report. - items: - $ref: "#/components/schemas/ReportScheduleTemplateVariable" - type: array - timeframe: - description: The relative timeframe of data included in the report, or `null` if not set. - example: "1w" - nullable: true - type: string - timezone: - description: The IANA time zone identifier the recurrence rule is evaluated in. - example: "America/New_York" - type: string - title: - description: The title of the report. - example: "Weekly Infrastructure Report" - type: string - required: - - status - - resource_id - - resource_type - - recipients - - rrule - - timezone - - template_variables - - title - - description - - timeframe - - next_recurrence - - tab_id - type: object - ReportScheduleResponseAttributesDeliveryFormat: - description: The delivery format for dashboard report schedules, or `null` if not set. - enum: - - pdf - - png - - pdf_and_png - example: pdf - nullable: true - type: string - x-enum-varnames: - - PDF - - PNG - - PDF_AND_PNG - ReportScheduleResponseData: - description: The JSON:API data object representing a report schedule. - properties: - attributes: - $ref: "#/components/schemas/ReportScheduleResponseAttributes" - id: - description: The unique identifier of the report schedule. - example: "11111111-2222-3333-4444-555555555555" - type: string - relationships: - $ref: "#/components/schemas/ReportScheduleResponseRelationships" - type: - $ref: "#/components/schemas/ReportScheduleType" - required: - - id - - type - - attributes - - relationships - type: object - ReportScheduleResponseRelationships: - description: Relationships for the report schedule. - properties: - author: - $ref: "#/components/schemas/ReportScheduleAuthorRelationship" - required: - - author - type: object - ReportScheduleStatus: - description: Whether the schedule is currently delivering reports (`active`) or paused (`inactive`). - enum: - - active - - inactive - example: active - type: string - x-enum-varnames: - - ACTIVE - - INACTIVE - ReportScheduleTemplateVariable: - description: A dashboard template variable applied when rendering the report. - properties: - name: - description: The name of the template variable. - example: env - type: string - values: - description: The selected values for the template variable. - example: - - "prod" - items: - description: A single selected template variable value. - type: string - type: array - required: - - name - - values - type: object - ReportScheduleToggleRequest: - description: Request body for toggling a report schedule. - properties: - data: - $ref: "#/components/schemas/ReportScheduleToggleRequestData" - required: - - data - type: object - ReportScheduleToggleRequestAttributes: - description: The status to set on the report schedule. - properties: - status: - $ref: "#/components/schemas/ReportScheduleStatus" - required: - - status - type: object - ReportScheduleToggleRequestData: - description: The JSON:API data object for a report schedule toggle request. - properties: - attributes: - $ref: "#/components/schemas/ReportScheduleToggleRequestAttributes" - type: - $ref: "#/components/schemas/ReportScheduleType" - required: - - type - - attributes - type: object - ReportScheduleType: - description: JSON:API resource type for report schedules. - enum: - - schedule - example: schedule - type: string - x-enum-varnames: - - SCHEDULE - RerouteOnCallPageRequest: - description: Full request to reroute an On-Call Page to a different team or user. - example: - data: - attributes: - comment: Rerouting to the database team. - target: - identifier: my-team - type: team_handle - type: reroute - properties: - data: - $ref: "#/components/schemas/RerouteOnCallPageRequestData" - required: - - data - type: object - RerouteOnCallPageRequestData: - description: The data for rerouting an On-Call Page, including attributes and resource type. - properties: - attributes: - $ref: "#/components/schemas/RerouteOnCallPageRequestDataAttributes" - type: - $ref: "#/components/schemas/RerouteOnCallPageRequestDataType" - required: - - attributes - - type - type: object - RerouteOnCallPageRequestDataAttributes: - description: Details about where to reroute the On-Call Page. - properties: - comment: - description: An optional comment explaining why the page is being rerouted. - example: Rerouting to the database team. - type: string - target: - $ref: "#/components/schemas/CreatePageRequestDataAttributesTarget" - required: - - target - type: object - RerouteOnCallPageRequestDataType: - default: reroute - description: The type of resource used when rerouting an On-Call Page. - enum: - - reroute - example: reroute - type: string - x-enum-varnames: - - REROUTE - ResolveVulnerableSymbolsRequest: - description: The top-level request object for resolving vulnerable symbols in a set of packages. - properties: - data: - $ref: "#/components/schemas/ResolveVulnerableSymbolsRequestData" - type: object - ResolveVulnerableSymbolsRequestData: - description: >- - The data object in a request to resolve vulnerable symbols, containing the package PURLs and request type. - properties: - attributes: - $ref: "#/components/schemas/ResolveVulnerableSymbolsRequestDataAttributes" - id: - description: An optional identifier for this request data object. - type: string - type: - $ref: "#/components/schemas/ResolveVulnerableSymbolsRequestDataType" - required: - - type - type: object - ResolveVulnerableSymbolsRequestDataAttributes: - description: >- - The attributes of a request to resolve vulnerable symbols, containing the list of package PURLs to check. - properties: - purls: - description: The list of Package URLs (PURLs) for which to resolve vulnerable symbols. - items: - description: A Package URL (PURL) identifying a specific package and version. - type: string - type: array - type: object - ResolveVulnerableSymbolsRequestDataType: - default: resolve-vulnerable-symbols-request - description: The type identifier for requests to resolve vulnerable symbols. - enum: - - resolve-vulnerable-symbols-request - example: resolve-vulnerable-symbols-request - type: string - x-enum-varnames: - - RESOLVE_VULNERABLE_SYMBOLS_REQUEST - ResolveVulnerableSymbolsResponse: - description: The top-level response object returned when resolving vulnerable symbols for a set of packages. - properties: - data: - $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseData" - type: object - ResolveVulnerableSymbolsResponseData: - description: >- - The data object in a response for resolving vulnerable symbols, containing the result attributes and response type. - properties: - attributes: - $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseDataAttributes" - id: - description: The unique identifier for this response data object. - type: string - type: - $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseDataType" - required: - - type - type: object - ResolveVulnerableSymbolsResponseDataAttributes: - description: The attributes of a response containing resolved vulnerable symbols, organized by package. - properties: - results: - description: The list of resolved vulnerable symbol results, one entry per queried package. - items: - $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseResults" - type: array - type: object - ResolveVulnerableSymbolsResponseDataType: - default: resolve-vulnerable-symbols-response - description: The type identifier for responses containing resolved vulnerable symbols. - enum: - - resolve-vulnerable-symbols-response - example: resolve-vulnerable-symbols-response - type: string - x-enum-varnames: - - RESOLVE_VULNERABLE_SYMBOLS_RESPONSE - ResolveVulnerableSymbolsResponseResults: - description: The result of resolving vulnerable symbols for a specific package, identified by its PURL. - properties: - purl: - description: >- - The Package URL (PURL) uniquely identifying the package for which vulnerable symbols are resolved. - type: string - vulnerable_symbols: - description: The list of vulnerable symbol groups found in this package, organized by advisory. - items: - $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseResultsVulnerableSymbols" - type: array - type: object - ResolveVulnerableSymbolsResponseResultsVulnerableSymbols: - description: A collection of vulnerable symbols associated with a specific security advisory. - properties: - advisory_id: - description: The identifier of the security advisory that describes the vulnerability. - type: string - symbols: - description: The list of symbols that are vulnerable according to this advisory. - items: - $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseResultsVulnerableSymbolsSymbols" - type: array - type: object - ResolveVulnerableSymbolsResponseResultsVulnerableSymbolsSymbols: - description: A symbol identified as vulnerable within a dependency, including its name, type, and value. - properties: - name: - description: The name of the vulnerable symbol. - type: string - type: - description: The type classification of the vulnerable symbol (e.g., function, class, variable). - type: string - value: - description: The value or identifier associated with the vulnerable symbol. - type: string - type: object - ResourceFilterAttributes: - description: Attributes of a resource filter. - example: - aws: - "123456789": - - environment:production - - team:devops - azure: - sub-001: - - app:frontend - gcp: - project-abc: - - region:us-central1 - properties: - cloud_provider: - additionalProperties: - additionalProperties: - items: - description: Tag filter in format "key:value" - example: environment:production - type: string - type: array - type: object - description: A map of cloud provider names (e.g., "aws", "gcp", "azure") to a map of account/resource IDs and their associated tag filters. - type: object - uuid: - description: The UUID of the resource filter. - type: string - required: - - cloud_provider - type: object - ResourceFilterRequestType: - description: Constant string to identify the request type. - enum: - - csm_resource_filter - example: csm_resource_filter - type: string - x-enum-varnames: - - CSM_RESOURCE_FILTER - ResponseMetaAttributes: - description: Object describing meta attributes of response. - properties: - page: - $ref: "#/components/schemas/Pagination" - type: object - RestrictionPolicy: - description: Restriction policy object. - properties: - attributes: - $ref: "#/components/schemas/RestrictionPolicyAttributes" - id: - description: The identifier, always equivalent to the value specified in the `resource_id` path parameter. - example: "dashboard:abc-def-ghi" - type: string - type: - $ref: "#/components/schemas/RestrictionPolicyType" - required: - - type - - id - - attributes - type: object - RestrictionPolicyAttributes: - description: Restriction policy attributes. - example: {"bindings": []} - properties: - bindings: - description: An array of bindings. - items: - $ref: "#/components/schemas/RestrictionPolicyBinding" - type: array - required: - - bindings - type: object - RestrictionPolicyBinding: - description: Specifies which principals are associated with a relation. - properties: - principals: - description: |- - An array of principals. A principal is a subject or group of subjects. - Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. - The org ID can be obtained through the api/v2/current_user API. - The user principal type accepts service account IDs. - example: ["role:00000000-0000-1111-0000-000000000000"] - items: - description: |- - Subject or group of subjects. Each principal is formatted as `type:id`. - Supported types: `role`, `team`, `user`, and `org`. - The org ID can be obtained through the api/v2/current_user API. - The user principal type accepts service account IDs. - type: string - type: array - relation: - description: The role/level of access. - example: editor - type: string - required: - - relation - - principals - type: object - RestrictionPolicyResponse: - description: Response containing information about a single restriction policy. - properties: - data: - $ref: "#/components/schemas/RestrictionPolicy" - required: - - data - type: object - RestrictionPolicyType: - default: restriction_policy - description: Restriction policy type. - enum: - - restriction_policy - example: restriction_policy - type: string - x-enum-varnames: - - RESTRICTION_POLICY - RestrictionPolicyUpdateRequest: - description: Update request for a restriction policy. - properties: - data: - $ref: "#/components/schemas/RestrictionPolicy" - required: - - data - type: object - RestrictionQueryAttributes: - description: Attributes of the restriction query. - properties: - created_at: - description: Creation time of the restriction query. - example: "2020-03-17T21:06:44.000Z" - format: date-time - readOnly: true - type: string - last_modifier_email: - description: Email of the user who last modified this restriction query. - example: "user@example.com" - readOnly: true - type: string - last_modifier_name: - description: Name of the user who last modified this restriction query. - example: "John Doe" - readOnly: true - type: string - modified_at: - description: Time of last restriction query modification. - example: "2020-03-17T21:15:15.000Z" - format: date-time - readOnly: true - type: string - restriction_query: - description: The query that defines the restriction. Only the content matching the query can be returned. - example: "env:sandbox" - type: string - role_count: - description: Number of roles associated with this restriction query. - example: 3 - format: int64 - readOnly: true - type: integer - user_count: - description: Number of users associated with this restriction query. - example: 5 - format: int64 - readOnly: true - type: integer - type: object - RestrictionQueryCreateAttributes: - description: Attributes of the created restriction query. - properties: - restriction_query: - description: The restriction query. - example: "env:sandbox" - type: string - required: - - restriction_query - type: object - RestrictionQueryCreateData: - description: Data related to the creation of a restriction query. - properties: - attributes: - $ref: "#/components/schemas/RestrictionQueryCreateAttributes" - type: - $ref: "#/components/schemas/LogsRestrictionQueriesType" - type: object - RestrictionQueryCreatePayload: - description: Create a restriction query. - properties: - data: - $ref: "#/components/schemas/RestrictionQueryCreateData" - type: object - RestrictionQueryListResponse: - description: Response containing information about multiple restriction queries. - properties: - data: - description: Array of returned restriction queries. - items: - $ref: "#/components/schemas/RestrictionQueryWithoutRelationships" - type: array - type: object - RestrictionQueryResponseIncludedItem: - description: An object related to a restriction query. - oneOf: - - $ref: "#/components/schemas/RestrictionQueryRole" - RestrictionQueryRole: - description: Partial role object. - properties: - attributes: - $ref: "#/components/schemas/RestrictionQueryRoleAttribute" - id: - description: ID of the role. - example: "" - type: string - type: - $ref: "#/components/schemas/RolesType" - required: - - type - - id - - attributes - type: object - RestrictionQueryRoleAttribute: - description: Attributes of the role for a restriction query. - properties: - name: - description: The role name. - example: "Datadog Admin Role" - type: string - type: object - RestrictionQueryRolesResponse: - description: Response containing information about roles attached to a restriction query. - properties: - data: - description: Array of roles. - items: - $ref: "#/components/schemas/RestrictionQueryRole" - type: array - type: object - RestrictionQueryUpdateAttributes: - description: Attributes of the edited restriction query. - properties: - restriction_query: - description: The restriction query. - example: "env:sandbox" - type: string - required: - - restriction_query - type: object - RestrictionQueryUpdateData: - description: Data related to the update of a restriction query. - properties: - attributes: - $ref: "#/components/schemas/RestrictionQueryUpdateAttributes" - type: - $ref: "#/components/schemas/LogsRestrictionQueriesType" - type: object - RestrictionQueryUpdatePayload: - description: Update a restriction query. - properties: - data: - $ref: "#/components/schemas/RestrictionQueryUpdateData" - type: object - RestrictionQueryWithRelationships: - description: Restriction query object returned by the API. - properties: - attributes: - $ref: "#/components/schemas/RestrictionQueryAttributes" - id: - description: ID of the restriction query. - example: "79a0e60a-644a-11ea-ad29-43329f7f58b5" - type: string - relationships: - $ref: "#/components/schemas/UserRelationships" - type: - $ref: "#/components/schemas/LogsRestrictionQueriesType" - type: object - RestrictionQueryWithRelationshipsResponse: - description: Response containing information about a single restriction query. - properties: - data: - $ref: "#/components/schemas/RestrictionQueryWithRelationships" - included: - description: Array of objects related to the restriction query. - items: - $ref: "#/components/schemas/RestrictionQueryResponseIncludedItem" - type: array - type: object - RestrictionQueryWithoutRelationships: - description: Restriction query object returned by the API. - properties: - attributes: - $ref: "#/components/schemas/RestrictionQueryAttributes" - id: - description: ID of the restriction query. - example: "79a0e60a-644a-11ea-ad29-43329f7f58b5" - type: string - type: - default: logs_restriction_queries - description: Restriction queries type. - example: "logs_restriction_queries" - readOnly: true - type: string - type: object - RestrictionQueryWithoutRelationshipsResponse: - description: Response containing information about a single restriction query. - properties: - data: - $ref: "#/components/schemas/RestrictionQueryWithoutRelationships" - type: object - RetentionFilter: - description: The definition of the retention filter. - properties: - attributes: - $ref: "#/components/schemas/RetentionFilterAttributes" - id: - description: The ID of the retention filter. - example: "7RBOb7dLSYWI01yc3pIH8w" - type: string - type: - $ref: "#/components/schemas/ApmRetentionFilterType" - required: - - id - - type - - attributes - type: object - RetentionFilterAll: - description: The definition of the retention filter. - properties: - attributes: - $ref: "#/components/schemas/RetentionFilterAllAttributes" - id: - description: The ID of the retention filter. - example: "7RBOb7dLSYWI01yc3pIH8w" - type: string - type: - $ref: "#/components/schemas/ApmRetentionFilterType" - required: - - id - - type - - attributes - type: object - RetentionFilterAllAttributes: - description: The attributes of the retention filter. - properties: - created_at: - description: The creation timestamp of the retention filter. - format: int64 - type: integer - created_by: - description: The creator of the retention filter. - type: string - editable: - description: Shows whether the filter can be edited. - example: true - type: boolean - enabled: - description: The status of the retention filter (Enabled/Disabled). - example: true - type: boolean - execution_order: - description: The execution order of the retention filter. - format: int64 - type: integer - filter: - $ref: "#/components/schemas/SpansFilter" - filter_type: - $ref: "#/components/schemas/RetentionFilterAllType" - modified_at: - description: The modification timestamp of the retention filter. - format: int64 - type: integer - modified_by: - description: The modifier of the retention filter. - type: string - name: - description: The name of the retention filter. - example: my retention filter - type: string - rate: - description: |- - Sample rate to apply to spans going through this retention filter. - A value of 1.0 keeps all spans matching the query. - example: 1.0 - format: double - type: number - trace_rate: - description: |- - Sample rate to apply to traces containing spans going through this retention filter. - A value of 1.0 keeps all traces with spans matching the query. - example: 1.0 - format: double - type: number - type: object - RetentionFilterAllType: - default: spans-sampling-processor - description: The type of retention filter. - enum: - - spans-sampling-processor - - spans-errors-sampling-processor - - spans-appsec-sampling-processor - example: spans-sampling-processor - type: string - x-enum-varnames: - - SPANS_SAMPLING_PROCESSOR - - SPANS_ERRORS_SAMPLING_PROCESSOR - - SPANS_APPSEC_SAMPLING_PROCESSOR - RetentionFilterAttributes: - description: The attributes of the retention filter. - properties: - created_at: - description: The creation timestamp of the retention filter. - format: int64 - type: integer - created_by: - description: The creator of the retention filter. - type: string - editable: - description: Shows whether the filter can be edited. - example: true - type: boolean - enabled: - description: The status of the retention filter (Enabled/Disabled). - example: true - type: boolean - execution_order: - description: The execution order of the retention filter. - format: int64 - type: integer - filter: - $ref: "#/components/schemas/SpansFilter" - filter_type: - $ref: "#/components/schemas/RetentionFilterType" - modified_at: - description: The modification timestamp of the retention filter. - format: int64 - type: integer - modified_by: - description: The modifier of the retention filter. - type: string - name: - description: The name of the retention filter. - example: my retention filter - type: string - rate: - description: |- - Sample rate to apply to spans going through this retention filter. - A value of 1.0 keeps all spans matching the query. - example: 1.0 - format: double - type: number - trace_rate: - description: |- - Sample rate to apply to traces containing spans going through this retention filter. - A value of 1.0 keeps all traces with spans matching the query. - example: 1.0 - format: double - type: number - type: object - RetentionFilterCreateAttributes: - description: The object describing the configuration of the retention filter to create/update. - properties: - enabled: - description: Enable/Disable the retention filter. - example: true - type: boolean - filter: - $ref: "#/components/schemas/SpansFilterCreate" - filter_type: - $ref: "#/components/schemas/RetentionFilterType" - name: - description: The name of the retention filter. - example: my retention filter - type: string - rate: - description: |- - Sample rate to apply to spans going through this retention filter. - A value of 1.0 keeps all spans matching the query. - example: 1.0 - format: double - type: number - trace_rate: - description: |- - Sample rate to apply to traces containing spans going through this retention filter. - A value of 1.0 keeps all traces with spans matching the query. - example: 1.0 - format: double - type: number - required: - - name - - filter - - enabled - - filter_type - - rate - type: object - RetentionFilterCreateData: - description: The body of the retention filter to be created. - properties: - attributes: - $ref: "#/components/schemas/RetentionFilterCreateAttributes" - type: - $ref: "#/components/schemas/ApmRetentionFilterType" - required: - - attributes - - type - type: object - RetentionFilterCreateRequest: - description: The body of the retention filter to be created. - properties: - data: - $ref: "#/components/schemas/RetentionFilterCreateData" - required: - - data - type: object - RetentionFilterCreateResponse: - description: The retention filters definition. - properties: - data: - $ref: "#/components/schemas/RetentionFilter" - type: object - RetentionFilterResponse: - description: The retention filters definition. - properties: - data: - $ref: "#/components/schemas/RetentionFilterAll" - type: object - RetentionFilterType: - default: spans-sampling-processor - description: The type of retention filter. The value should always be spans-sampling-processor. - enum: - - spans-sampling-processor - example: spans-sampling-processor - type: string - x-enum-varnames: - - SPANS_SAMPLING_PROCESSOR - RetentionFilterUpdateAttributes: - description: The object describing the configuration of the retention filter to create/update. - properties: - enabled: - description: Enable/Disable the retention filter. - example: true - type: boolean - filter: - $ref: "#/components/schemas/SpansFilterCreate" - filter_type: - $ref: "#/components/schemas/RetentionFilterAllType" - name: - description: The name of the retention filter. - example: my retention filter - type: string - rate: - description: |- - Sample rate to apply to spans going through this retention filter. - A value of 1.0 keeps all spans matching the query. - example: 1.0 - format: double - type: number - trace_rate: - description: |- - Sample rate to apply to traces containing spans going through this retention filter. - A value of 1.0 keeps all traces with spans matching the query. - example: 1.0 - format: double - type: number - required: - - name - - filter - - enabled - - filter_type - - rate - type: object - RetentionFilterUpdateData: - description: The body of the retention filter to be updated. - properties: - attributes: - $ref: "#/components/schemas/RetentionFilterUpdateAttributes" - id: - description: The ID of the retention filter. - example: "retention-filter-id" - type: string - type: - $ref: "#/components/schemas/ApmRetentionFilterType" - required: - - id - - attributes - - type - type: object - RetentionFilterUpdateRequest: - description: The body of the retention filter to be updated. - properties: - data: - $ref: "#/components/schemas/RetentionFilterUpdateData" - required: - - data - type: object - RetentionFilterWithoutAttributes: - description: The retention filter object . - properties: - id: - description: The ID of the retention filter. - example: "7RBOb7dLSYWI01yc3pIH8w" - type: string - type: - $ref: "#/components/schemas/ApmRetentionFilterType" - required: - - id - - type - type: object - RetentionFiltersResponse: - description: An ordered list of retention filters. - properties: - data: - description: A list of retention filters objects. - items: - $ref: "#/components/schemas/RetentionFilterAll" - type: array - required: - - data - type: object - RetryStrategy: - additionalProperties: false - description: The definition of `RetryStrategy` object. - properties: - kind: - $ref: "#/components/schemas/RetryStrategyKind" - linear: - $ref: "#/components/schemas/RetryStrategyLinear" - required: - - kind - - linear - type: object - RetryStrategyKind: - description: The definition of `RetryStrategyKind` object. - enum: - - RETRY_STRATEGY_LINEAR - example: RETRY_STRATEGY_LINEAR - type: string - x-enum-varnames: - - RETRY_STRATEGY_LINEAR - RetryStrategyLinear: - additionalProperties: false - description: The definition of `RetryStrategyLinear` object. - properties: - interval: - description: The `RetryStrategyLinear` `interval`. The expected format is the number of seconds ending with an s. For example, 1 day is 86400s - example: "" - pattern: ^[1-9][0-9]*s$ - type: string - maxRetries: - description: The `RetryStrategyLinear` `maxRetries`. - example: 0 - format: int32 - maximum: 2147483647 - minimum: 0 - type: integer - required: - - interval - - maxRetries - type: object - RevertCustomRuleRevisionDataType: - description: Request type - enum: [revert_custom_rule_revision_request] - type: string - x-enum-varnames: - - REVERT_CUSTOM_RULE_REVISION_REQUEST - RevertCustomRuleRevisionRequest: - description: Request body for reverting a custom rule to a previous revision. - properties: - data: - $ref: "#/components/schemas/RevertCustomRuleRevisionRequestData" - type: object - RevertCustomRuleRevisionRequestData: - description: Data object for a request to revert a custom rule to a previous revision. - properties: - attributes: - $ref: "#/components/schemas/RevertCustomRuleRevisionRequestDataAttributes" - id: - description: Request identifier - type: string - type: - $ref: "#/components/schemas/RevertCustomRuleRevisionDataType" - type: object - RevertCustomRuleRevisionRequestDataAttributes: - description: Attributes specifying the current and target revision IDs for a revert operation. - properties: - currentRevision: - description: Current revision ID - type: string - revertToRevision: - description: Target revision ID to revert to - type: string - type: object - Role: - description: Role object returned by the API. - properties: - attributes: - $ref: "#/components/schemas/RoleAttributes" - id: - description: The unique identifier of the role. - type: string - relationships: - $ref: "#/components/schemas/RoleResponseRelationships" - type: - $ref: "#/components/schemas/RolesType" - required: - - type - type: object - RoleAttributes: - additionalProperties: {} - description: Attributes of the role. - properties: - created_at: - description: Creation time of the role. - format: date-time - readOnly: true - type: string - modified_at: - description: Time of last role modification. - format: date-time - readOnly: true - type: string - name: - description: The name of the role. The name is neither unique nor a stable identifier of the role. - type: string - receives_permissions_from: - description: |- - The managed role from which this role automatically inherits new permissions. - Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". - If empty or not specified, the role does not automatically inherit permissions from any managed role. - items: - description: Name of a managed role to inherit permissions from. - type: string - type: array - user_count: - description: Number of users with that role. - format: int64 - readOnly: true - type: integer - type: object - RoleClone: - description: Data for the clone role request. - properties: - attributes: - $ref: "#/components/schemas/RoleCloneAttributes" - type: - $ref: "#/components/schemas/RolesType" - required: - - type - - attributes - type: object - RoleCloneAttributes: - description: Attributes required to create a new role by cloning an existing one. - properties: - name: - description: Name of the new role that is cloned. - example: "cloned-role" - type: string - receives_permissions_from: - description: |- - The managed role from which this role automatically inherits new permissions. - Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". - If empty or not specified, the role does not automatically inherit permissions from any managed role. - items: - description: Name of a managed role to inherit permissions from. - type: string - type: array - required: - - name - type: object - RoleCloneRequest: - description: Request to create a role by cloning an existing role. - properties: - data: - $ref: "#/components/schemas/RoleClone" - required: - - data - type: object - RoleCreateAttributes: - description: Attributes of the created role. - properties: - created_at: - description: Creation time of the role. - format: date-time - readOnly: true - type: string - default_permissions_opt_out: - description: |- - Whether to exclude restricted default permissions from this role. - Restricted default permissions are automatically assigned to every role by default. Set this field to `true` to exclude them. - Some of these permissions can only be excluded after Minimal Access Roles is enabled for the organization. - type: boolean - modified_at: - description: Time of last role modification. - format: date-time - readOnly: true - type: string - name: - description: Name of the role. - example: developers - type: string - receives_permissions_from: - description: |- - The managed role from which this role automatically inherits new permissions. - Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". - If empty or not specified, the role does not automatically inherit permissions from any managed role. - items: - description: Name of a managed role to inherit permissions from. - type: string - type: array - required: - - name - type: object - RoleCreateData: - description: Data related to the creation of a role. - properties: - attributes: - $ref: "#/components/schemas/RoleCreateAttributes" - relationships: - $ref: "#/components/schemas/RoleRelationships" - type: - $ref: "#/components/schemas/RolesType" - required: - - attributes - type: object - RoleCreateRequest: - description: Create a role. - properties: - data: - $ref: "#/components/schemas/RoleCreateData" - required: - - data - type: object - RoleCreateResponse: - description: Response containing information about a created role. - properties: - data: - $ref: "#/components/schemas/RoleCreateResponseData" - type: object - RoleCreateResponseData: - description: Role object returned by the API. - properties: - attributes: - $ref: "#/components/schemas/RoleCreateAttributes" - id: - description: The unique identifier of the role. - type: string - relationships: - $ref: "#/components/schemas/RoleResponseRelationships" - type: - $ref: "#/components/schemas/RolesType" - required: - - type - type: object - RoleRelationships: - description: Relationships of the role object. - properties: - permissions: - $ref: "#/components/schemas/RelationshipToPermissions" - type: object - RoleResponse: - description: Response containing information about a single role. - properties: - data: - $ref: "#/components/schemas/Role" - type: object - RoleResponseRelationships: - description: Relationships of the role object returned by the API. - properties: - permissions: - $ref: "#/components/schemas/RelationshipToPermissions" - type: object - RoleTemplateArray: - description: The definition of `RoleTemplateArray` object. - properties: - data: - description: The `RoleTemplateArray` `data`. - items: - $ref: "#/components/schemas/RoleTemplateData" - type: array - required: - - data - type: object - RoleTemplateData: - description: The definition of `RoleTemplateData` object. - properties: - attributes: - $ref: "#/components/schemas/RoleTemplateDataAttributes" - id: - description: The `RoleTemplateData` `id`. - type: string - relationships: - $ref: "#/components/schemas/RoleResponseRelationships" - type: - $ref: "#/components/schemas/RoleTemplateDataType" - required: - - type - type: object - RoleTemplateDataAttributes: - description: The definition of `RoleTemplateDataAttributes` object. - properties: - description: - description: The `attributes` `description`. - type: string - name: - description: The `attributes` `name`. - type: string - type: object - RoleTemplateDataType: - default: roles - description: Roles resource type. - enum: - - roles - example: roles - type: string - x-enum-varnames: - - ROLES - RoleUpdateAttributes: - description: Attributes of the role. - properties: - created_at: - description: Creation time of the role. - format: date-time - readOnly: true - type: string - default_permissions_opt_out: - description: |- - Whether to exclude restricted default permissions from this role. - Restricted default permissions are automatically assigned to every role by default. Set this field to `true` to exclude them. - Some of these permissions can only be excluded after Minimal Access Roles is enabled for the organization. - type: boolean - modified_at: - description: Time of last role modification. - format: date-time - readOnly: true - type: string - name: - description: Name of the role. - type: string - receives_permissions_from: - description: |- - The managed role from which this role automatically inherits new permissions. - Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". - If empty or not specified, the role does not automatically inherit permissions from any managed role. - items: - description: Name of a managed role to inherit permissions from. - type: string - type: array - team_count: - description: Number of teams with that role. - format: int64 - readOnly: true - type: integer - user_count: - description: The user count. - format: int32 - maximum: 2147483647 - type: integer - type: object - RoleUpdateData: - description: Data related to the update of a role. - properties: - attributes: - $ref: "#/components/schemas/RoleUpdateAttributes" - id: - description: The unique identifier of the role. - example: "00000000-0000-1111-0000-000000000000" - type: string - relationships: - $ref: "#/components/schemas/RoleRelationships" - type: - $ref: "#/components/schemas/RolesType" - required: - - attributes - - type - - id - type: object - RoleUpdateRequest: - description: Update a role. - properties: - data: - $ref: "#/components/schemas/RoleUpdateData" - required: - - data - type: object - RoleUpdateResponse: - description: Response containing information about an updated role. - properties: - data: - $ref: "#/components/schemas/RoleUpdateResponseData" - type: object - RoleUpdateResponseData: - description: Role object returned by the API. - properties: - attributes: - $ref: "#/components/schemas/RoleUpdateAttributes" - id: - description: The unique identifier of the role. - type: string - relationships: - $ref: "#/components/schemas/RoleResponseRelationships" - type: - $ref: "#/components/schemas/RolesType" - required: - - type - type: object - RolesResponse: - description: Response containing information about multiple roles. - properties: - data: - description: Array of returned roles. - items: - $ref: "#/components/schemas/Role" - type: array - meta: - $ref: "#/components/schemas/ResponseMetaAttributes" - type: object - RolesSort: - default: name - description: Sorting options for roles. - enum: - - name - - -name - - modified_at - - -modified_at - - user_count - - -user_count - type: string - x-enum-varnames: - - NAME_ASCENDING - - NAME_DESCENDING - - MODIFIED_AT_ASCENDING - - MODIFIED_AT_DESCENDING - - USER_COUNT_ASCENDING - - USER_COUNT_DESCENDING - RolesType: - default: roles - description: Roles type. - enum: - - roles - example: roles - type: string - x-enum-varnames: - - ROLES - RolloutOptions: - description: Applied progression options for a progressive rollout. - properties: - autostart: - description: Whether the schedule starts automatically. - example: false - type: boolean - selection_interval_ms: - description: Interval in milliseconds for uniform interval strategies. - example: 3600000 - format: int64 - type: integer - strategy: - $ref: "#/components/schemas/RolloutStrategy" - required: - - strategy - - autostart - - selection_interval_ms - type: object - RolloutOptionsRequest: - description: Rollout options request payload. - properties: - autostart: - description: Whether the schedule should begin automatically. - example: false - nullable: true - type: boolean - selection_interval_ms: - description: Interval in milliseconds for uniform interval strategies. - example: 3600000 - format: int64 - type: integer - strategy: - $ref: "#/components/schemas/RolloutStrategy" - required: - - strategy - type: object - RolloutStrategy: - description: The progression strategy used by a progressive rollout. - enum: - - UNIFORM_INTERVALS - - NO_ROLLOUT - example: "UNIFORM_INTERVALS" - type: string - x-enum-varnames: - - UNIFORM_INTERVALS - - NO_ROLLOUT - RoutingRule: - description: Represents a routing rule, including its attributes, relationships, and unique identifier. - properties: - attributes: - $ref: "#/components/schemas/RoutingRuleAttributes" - id: - description: Specifies the unique identifier of this routing rule. - type: string - relationships: - $ref: "#/components/schemas/RoutingRuleRelationships" - type: - $ref: "#/components/schemas/RoutingRuleType" - required: - - type - type: object - RoutingRuleAction: - description: "Defines an action that is executed when a routing rule matches certain criteria." - oneOf: - - $ref: "#/components/schemas/SendSlackMessageAction" - - $ref: "#/components/schemas/SendTeamsMessageAction" - - $ref: "#/components/schemas/TriggerWorkflowAutomationAction" - - $ref: "#/components/schemas/RoutingRuleEscalationPolicyAction" - - $ref: "#/components/schemas/RoutingRuleRerouteToTeamAction" - RoutingRuleAttributes: - description: Defines the configurable attributes of a routing rule, such as actions, query, time restriction, and urgency. - properties: - actions: - description: Specifies the list of actions to perform when the routing rule matches. - items: - $ref: "#/components/schemas/RoutingRuleAction" - type: array - query: - description: Defines the query or condition that triggers this routing rule. - type: string - time_restriction: - $ref: "#/components/schemas/TimeRestrictions" - nullable: true - urgency: - $ref: "#/components/schemas/Urgency" - type: object - RoutingRuleEscalationPolicyAction: - description: "Triggers an escalation policy." - properties: - ack_timeout_minutes: - description: "The number of minutes before an acknowledged Page is re-triggered." - example: 30 - format: int64 - type: integer - policy_id: - description: "The ID of the escalation policy to route to." - example: "00000000-0000-0000-0000-000000000000" - type: string - support_hours: - $ref: "#/components/schemas/RoutingRuleEscalationPolicyActionSupportHours" - type: - $ref: "#/components/schemas/RoutingRuleEscalationPolicyActionType" - urgency: - $ref: "#/components/schemas/Urgency" - required: - - type - - policy_id - type: object - RoutingRuleEscalationPolicyActionSupportHours: - description: "Support hours during which the escalation policy will be executed. Outside of these hours, the escalation policy will be on hold and triggered once the next support hours window starts. This is mutually exclusive with the top-level `time_restriction` field on the routing rule." - properties: - restrictions: - description: "The list of support hours time windows." - items: - $ref: "#/components/schemas/TimeRestriction" - type: array - time_zone: - description: "The time zone in which the support hours are expressed." - example: "" - type: string - required: - - time_zone - type: object - RoutingRuleEscalationPolicyActionType: - default: escalation_policy - description: "Indicates that the action pages an escalation policy. This action can be set once per routing rule item, and is mutually exclusive with the top-level `policy_id` field on the routing rule." - enum: - - escalation_policy - example: escalation_policy - type: string - x-enum-varnames: - - ESCALATION_POLICY - RoutingRuleRelationships: - description: Specifies relationships for a routing rule, linking to associated policy resources. - properties: - policy: - $ref: "#/components/schemas/RoutingRuleRelationshipsPolicy" - type: object - RoutingRuleRelationshipsPolicy: - description: Defines the relationship that links a routing rule to a policy. - properties: - data: - $ref: "#/components/schemas/RoutingRuleRelationshipsPolicyData" - nullable: true - type: object - RoutingRuleRelationshipsPolicyData: - description: Represents the policy data reference, containing the policy's ID and resource type. - properties: - id: - description: Specifies the unique identifier of the policy. - example: "" - type: string - type: - $ref: "#/components/schemas/RoutingRuleRelationshipsPolicyDataType" - required: - - type - - id - type: object - RoutingRuleRelationshipsPolicyDataType: - default: policies - description: "Indicates that the resource is of type `policies`." - enum: - - policies - example: policies - type: string - x-enum-varnames: - - POLICIES - RoutingRuleRerouteToTeamAction: - description: "Reroutes the Page to another team, which then evaluates it against its own routing rules. Each routing rule can include this action only once. It can be combined only with `send_slack_message` and `send_teams_message` actions. It can't be used with `escalation_policy` or `workflow` actions, or when the routing rule sets `policy_id`." - properties: - destination_team_id: - description: "The ID of the team to reroute the Page to." - example: "00000000-0000-0000-0000-000000000000" - format: uuid - type: string - type: - $ref: "#/components/schemas/RoutingRuleRerouteToTeamActionType" - required: - - type - - destination_team_id - type: object - RoutingRuleRerouteToTeamActionType: - default: reroute_to_team - description: "Indicates that the action reroutes the Page to another team's routing rules." - enum: - - reroute_to_team - example: reroute_to_team - type: string - x-enum-varnames: - - REROUTE_TO_TEAM - RoutingRuleType: - default: team_routing_rules - description: Team routing rules resource type. - enum: - - team_routing_rules - example: team_routing_rules - type: string - x-enum-varnames: - - TEAM_ROUTING_RULES - RuleAttributes: - description: Details of a rule. - properties: - category: - deprecated: true - description: The scorecard name to which this rule must belong. - type: string - created_at: - description: Creation time of the rule outcome. - format: date-time - type: string - custom: - description: Defines if the rule is a custom rule. - type: boolean - description: - description: Explanation of the rule. - type: string - enabled: - description: If enabled, the rule is calculated as part of the score. - example: true - type: boolean - level: - $ref: "#/components/schemas/RuleLevel" - modified_at: - description: Time of the last rule outcome modification. - format: date-time - type: string - name: - description: Name of the rule. - example: Team Defined - type: string - owner: - description: Owner of the rule. - type: string - scope_query: - description: A query to filter which entities this rule applies to. - example: "kind:service" - type: string - scorecard_name: - description: The scorecard name to which this rule must belong. - example: Deployments automated via Deployment Trains - type: string - type: object - RuleAttributesRequest: - description: Attributes for creating or updating a rule. Server-managed fields (created_at, modified_at, custom) are excluded. - properties: - description: - description: Explanation of the rule. - type: string - enabled: - description: If enabled, the rule is calculated as part of the score. - example: true - type: boolean - level: - $ref: "#/components/schemas/RuleLevel" - name: - description: Name of the rule. - example: Team Defined - type: string - owner: - description: Owner of the rule. - type: string - scope_query: - description: A query to filter which entities this rule applies to. - example: "kind:service" - type: string - scorecard_name: - description: The scorecard name to which this rule must belong. - example: Deployments automated via Deployment Trains - type: string - type: object - RuleBasedViewAttributes: - description: Attributes of the rule-based view. - properties: - count: - description: Total number of rules in the view. - example: 1 - format: int64 - type: integer - rules: - $ref: "#/components/schemas/RuleBasedViewRules" - required: - - count - - rules - type: object - RuleBasedViewComplianceFramework: - description: Compliance framework mapping for a rule. - properties: - control: - description: Identifier of the control inside the requirement. - example: 164.308-a-4-i - type: string - framework: - description: Handle of the compliance framework. - example: hipaa - type: string - is_default: - description: Whether the framework is a Datadog default framework. `true` indicates a Datadog framework and `false` indicates a custom framework. - example: true - type: boolean - message: - description: Optional message describing the framework mapping for the rule. - example: "" - type: string - requirement: - description: Name of the requirement that contains the control. - example: Information-Access-Management - type: string - version: - description: Version of the compliance framework. - example: "1" - type: string - type: object - RuleBasedViewComplianceFrameworks: - description: List of compliance framework mappings associated with the rule. - items: - $ref: "#/components/schemas/RuleBasedViewComplianceFramework" - type: array - RuleBasedViewData: - description: Data envelope for the rule-based view response. - properties: - attributes: - $ref: "#/components/schemas/RuleBasedViewAttributes" - id: - description: Unique identifier of the rule-based view document. - example: JSONAPI_USELESS_ID - type: string - type: - $ref: "#/components/schemas/RuleBasedViewType" - required: - - attributes - - id - - type - type: object - RuleBasedViewResourceAttributes: - description: List of resource attribute names exposed by the rule. - example: - - instance_id - items: - description: Name of a resource attribute exposed by the rule. - example: instance_id - type: string - type: array - RuleBasedViewResponse: - description: Response containing an aggregated view of compliance rules with their finding statistics. - properties: - data: - $ref: "#/components/schemas/RuleBasedViewData" - required: - - data - type: object - RuleBasedViewRule: - description: A compliance rule along with its evaluation statistics and framework mappings. - properties: - compliance_frameworks: - $ref: "#/components/schemas/RuleBasedViewComplianceFrameworks" - enabled: - description: Whether the rule is enabled. - example: true - type: boolean - id: - description: Unique identifier of the rule. - example: qjx-udx-xo8 - type: string - name: - description: Human-readable name of the rule. - example: IAM roles should not allow untrusted GitHub Actions to assume them - type: string - resourceAttributes: - $ref: "#/components/schemas/RuleBasedViewResourceAttributes" - resourceCategory: - description: Resource category targeted by the rule. - example: identity - type: string - resourceType: - description: Resource type targeted by the rule. - example: aws_iam_role - type: string - stats: - $ref: "#/components/schemas/RuleBasedViewRuleStats" - status: - description: Severity associated with the rule (for example, `info`, `low`, `medium`, `high`, or `critical`). - example: critical - type: string - tags: - $ref: "#/components/schemas/RuleBasedViewRuleTags" - type: - $ref: "#/components/schemas/RuleBasedViewRuleCategory" - required: - - compliance_frameworks - - enabled - - id - - name - - resourceAttributes - - resourceCategory - - resourceType - - stats - - status - - tags - - type - type: object - RuleBasedViewRuleCategory: - description: The category of the security rule. - enum: - - cloud_configuration - - infrastructure_configuration - - api_security - example: cloud_configuration - type: string - x-enum-varnames: - - CLOUD_CONFIGURATION - - INFRASTRUCTURE_CONFIGURATION - - API_SECURITY - RuleBasedViewRuleStats: - description: Counts of findings for the rule, grouped by their evaluation status. - properties: - fail: - description: Number of findings that failed evaluation. - example: 0 - format: int64 - type: integer - muted: - description: Number of findings that have been muted. - example: 0 - format: int64 - type: integer - pass: - description: Number of findings that passed evaluation. - example: 3 - format: int64 - type: integer - required: - - fail - - pass - - muted - type: object - RuleBasedViewRuleTags: - description: List of tags attached to the rule. - example: - - security:compliance - items: - description: A tag attached to the rule. - example: security:compliance - type: string - type: array - RuleBasedViewRules: - description: List of rules in the rule-based view. - items: - $ref: "#/components/schemas/RuleBasedViewRule" - type: array - RuleBasedViewType: - default: rule_based_view - description: The type of the resource. The value should always be `rule_based_view`. - enum: - - rule_based_view - example: rule_based_view - type: string - x-enum-varnames: - - RULE_BASED_VIEW - RuleId: - description: The unique ID for a scorecard rule. - example: q8MQxk8TCqrHnWkx - type: string - RuleLevel: - description: The maturity level of the rule (1, 2, or 3). - example: 2 - format: int32 - maximum: 3 - minimum: 1 - type: integer - RuleName: - description: Name of the notification rule. - example: Rule 1 - type: string - RuleOutcomeRelationships: - description: The JSON:API relationship to a scorecard rule. - properties: - rule: - $ref: "#/components/schemas/RelationshipToOutcome" - type: object - RuleSeverity: - description: Severity of a security rule. - enum: - - critical - - high - - medium - - low - - unknown - - info - example: critical - type: string - x-enum-varnames: - - CRITICAL - - HIGH - - MEDIUM - - LOW - - UNKNOWN - - INFO - RuleType: - default: rule - description: The JSON:API type for scorecard rules. - enum: - - rule - example: rule - type: string - x-enum-varnames: - - RULE - RuleTypes: - description: Security rule types used as filters in security rules. - example: [misconfiguration, attack_path] - items: - $ref: "#/components/schemas/RuleTypesItems" - type: array - RuleTypesItems: - description: |- - Security rule type which can be used in security rules. - Signal-based notification rules can filter signals based on rule types application_security, log_detection, - workload_security, signal_correlation, cloud_configuration and infrastructure_configuration. - Vulnerability-based notification rules can filter vulnerabilities based on rule types application_code_vulnerability, - application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, - api_security, host_vulnerability, iac_misconfiguration, sast_vulnerability, secret_vulnerability, workload_activity, - sensitive_data and serverless_function_code_vulnerability. - enum: - - application_security - - log_detection - - workload_security - - signal_correlation - - cloud_configuration - - infrastructure_configuration - - application_code_vulnerability - - application_library_vulnerability - - attack_path - - container_image_vulnerability - - identity_risk - - misconfiguration - - api_security - - host_vulnerability - - iac_misconfiguration - - sast_vulnerability - - secret_vulnerability - - workload_activity - - sensitive_data - - serverless_function_code_vulnerability - example: log_detection - type: string - x-enum-varnames: - - APPLICATION_SECURITY - - LOG_DETECTION - - WORKLOAD_SECURITY - - SIGNAL_CORRELATION - - CLOUD_CONFIGURATION - - INFRASTRUCTURE_CONFIGURATION - - APPLICATION_CODE_VULNERABILITY - - APPLICATION_LIBRARY_VULNERABILITY - - ATTACK_PATH - - CONTAINER_IMAGE_VULNERABILITY - - IDENTITY_RISK - - MISCONFIGURATION - - API_SECURITY - - HOST_VULNERABILITY - - IAC_MISCONFIGURATION - - SAST_VULNERABILITY - - SECRET_VULNERABILITY - - WORKLOAD_ACTIVITY - - SENSITIVE_DATA - - SERVERLESS_FUNCTION_CODE_VULNERABILITY - RuleUser: - description: User creating or modifying a rule. - properties: - handle: - description: The user handle. - example: john.doe@domain.com - type: string - name: - description: The user name. - example: John Doe - type: string - type: object - RuleVersionHistory: - description: Response object containing the version history of a rule. - properties: - count: - description: The number of rule versions. - format: int32 - maximum: 2147483647 - type: integer - data: - additionalProperties: - $ref: "#/components/schemas/RuleVersions" - description: A rule version with a list of updates. - description: The `RuleVersionHistory` `data`. - type: object - type: object - RuleVersions: - description: A rule version with a list of updates. - properties: - changes: - description: A list of changes. - items: - $ref: "#/components/schemas/VersionHistoryUpdate" - type: array - rule: - $ref: "#/components/schemas/SecurityMonitoringRuleResponse" - type: object - RulesValidateQueryRequest: - description: The definition of `RulesValidateQueryRequest` object. - example: - data: - attributes: - query: example:query AND test:true - type: validate_query - properties: - data: - $ref: "#/components/schemas/RulesValidateQueryRequestData" - type: object - RulesValidateQueryRequestData: - description: The definition of `RulesValidateQueryRequestData` object. - properties: - attributes: - $ref: "#/components/schemas/RulesValidateQueryRequestDataAttributes" - id: - description: The `RulesValidateQueryRequestData` `id`. - type: string - type: - $ref: "#/components/schemas/RulesValidateQueryRequestDataType" - required: - - type - type: object - RulesValidateQueryRequestDataAttributes: - description: The definition of `RulesValidateQueryRequestDataAttributes` object. - properties: - query: - description: >- - The tag pipeline rule query to validate, in Datadog tag query syntax: `tag:value` terms combined with `AND`, `OR`, and `NOT`. - example: "example:query AND test:true" - type: string - required: - - query - type: object - RulesValidateQueryRequestDataType: - default: validate_query - description: Validate query resource type. - enum: - - validate_query - example: validate_query - type: string - x-enum-varnames: - - VALIDATE_QUERY - RulesValidateQueryResponse: - description: The definition of `RulesValidateQueryResponse` object. - example: - data: - attributes: - Canonical: canonical query representation - type: validate_response - properties: - data: - $ref: "#/components/schemas/RulesValidateQueryResponseData" - type: object - RulesValidateQueryResponseData: - description: The definition of `RulesValidateQueryResponseData` object. - properties: - attributes: - $ref: "#/components/schemas/RulesValidateQueryResponseDataAttributes" - id: - description: The `RulesValidateQueryResponseData` `id`. - type: string - type: - $ref: "#/components/schemas/RulesValidateQueryResponseDataType" - required: - - type - type: object - RulesValidateQueryResponseDataAttributes: - description: The definition of `RulesValidateQueryResponseDataAttributes` object. - properties: - Canonical: - description: The `attributes` `Canonical`. - example: "" - type: string - required: - - Canonical - type: object - RulesValidateQueryResponseDataType: - default: validate_response - description: Validate response resource type. - enum: - - validate_response - example: validate_response - type: string - x-enum-varnames: - - VALIDATE_RESPONSE - RulesetItemMetadata: - additionalProperties: - type: string - description: The `items` `metadata`. - nullable: true - type: object - RulesetResp: - description: The definition of `RulesetResp` object. - example: - data: - attributes: - created: - enabled: true - last_modified_user_uuid: "" - modified: - name: Example Ruleset - position: 0 - rules: - - enabled: false - mapping: - metadata: - name: RC test rule edited1 - query: - addition: - key: abc - value: ww - case_insensitivity: false - if_tag_exists: do_not_apply - query: billingcurrency:"USD" AND account_name:"SZA96462" AND billingcurrency:"USD" - reference_table: - - enabled: true - mapping: - destination_key: h - if_tag_exists: do_not_apply - source_keys: - - accountname - - accountownerid - metadata: - name: rule with empty source key - query: - reference_table: - - enabled: true - mapping: - metadata: - name: New table rule with new UI - query: - reference_table: - case_insensitivity: true - field_pairs: - - input_column: status_type - output_key: status - - input_column: status_description - output_key: dess - if_tag_exists: append - source_keys: - - http_status - - status_description - table_name: http_status_codes - version: 1 - id: "12345" - type: ruleset - properties: - data: - $ref: "#/components/schemas/RulesetRespData" - type: object - RulesetRespArray: - description: The definition of `RulesetRespArray` object. - example: - data: - - attributes: - created: - enabled: true - last_modified_user_uuid: "" - modified: - name: Production Cost Allocation Rules - position: 0 - rules: - - enabled: true - mapping: - metadata: - name: AWS Production Account Tagging - query: - addition: - key: environment - value: production - case_insensitivity: false - if_tag_exists: do_not_apply - query: billingcurrency:"USD" AND account_name:"prod-account" - reference_table: - - enabled: true - mapping: - destination_key: team_owner - if_tag_exists: do_not_apply - source_keys: - - account_name - - service - metadata: - name: Team Mapping Rule - query: - reference_table: - - enabled: true - mapping: - metadata: - name: New table rule with new UI - query: - reference_table: - case_insensitivity: true - field_pairs: - - input_column: status_type - output_key: status - - input_column: status_description - output_key: dess - if_tag_exists: append - source_keys: - - http_status - - status_description - table_name: http_status_codes - version: 2 - id: "55ef2385-9ae1-4410-90c4-5ac1b60fec10" - type: ruleset - - attributes: - created: - enabled: true - last_modified_user_uuid: "" - modified: - name: Development Environment Rules - position: 0 - rules: - - enabled: true - mapping: - metadata: - name: Dev Account Cost Center - query: - addition: - key: cost_center - value: engineering - case_insensitivity: true - if_tag_exists: do_not_apply - query: account_name:"dev-*" - reference_table: - version: 1 - id: "a7b8c9d0-1234-5678-9abc-def012345678" - type: ruleset - properties: - data: - description: The `RulesetRespArray` `data`. - items: - $ref: "#/components/schemas/RulesetRespData" - type: array - required: - - data + type: string + prev: + description: Link to the previous page, or `null` if it is unavailable. + example: "https://api.datadoghq.com/api/v2/reporting/schedule/list?page[offset]=0&page[limit]=25" + nullable: true + type: string + self: + description: Link to the current page. + example: "https://api.datadoghq.com/api/v2/reporting/schedule/list?page[limit]=25" + nullable: true + type: string type: object - RulesetRespData: - description: The definition of `RulesetRespData` object. + ReportScheduleListResponseMeta: + description: Metadata for a paginated report schedule list response. properties: - attributes: - $ref: "#/components/schemas/RulesetRespDataAttributes" - id: - description: The `RulesetRespData` `id`. - type: string - type: - $ref: "#/components/schemas/RulesetRespDataType" - required: - - type + pagination: + $ref: "#/components/schemas/ReportScheduleListResponsePagination" type: object - RulesetRespDataAttributes: - description: The definition of `RulesetRespDataAttributes` object. + ReportScheduleListResponsePagination: + description: Offset and limit pagination metadata for a report schedule list response. properties: - created: - $ref: "#/components/schemas/RulesetRespDataAttributesCreated" - enabled: - description: The `attributes` `enabled`. - example: false - type: boolean - last_modified_user_uuid: - description: The `attributes` `last_modified_user_uuid`. - example: "" - type: string - modified: - $ref: "#/components/schemas/RulesetRespDataAttributesModified" - name: - description: The `attributes` `name`. - example: "" - type: string - position: - description: The `attributes` `position`. + first_offset: + description: The first offset. example: 0 - format: int32 - maximum: 2147483647 + format: int64 type: integer - processing_status: - description: The `attributes` `processing_status`. - example: "" - type: string - rules: - description: The `attributes` `rules`. - items: - $ref: "#/components/schemas/RulesetRespDataAttributesRulesItems" - type: array - version: - description: The `attributes` `version`. + last_offset: + description: The last offset when the total count is known, or `null` if it is unavailable. example: 0 format: int64 + nullable: true type: integer - required: - - created - - enabled - - last_modified_user_uuid - - modified - - name - - position - - rules - - version - type: object - RulesetRespDataAttributesCreated: - description: The definition of `RulesetRespDataAttributesCreated` object. - properties: - nanos: - description: The `created` `nanos`. - format: int32 - maximum: 2147483647 + limit: + description: The maximum number of schedules returned. + example: 25 + format: int64 type: integer - seconds: - description: The `created` `seconds`. + next_offset: + description: The next offset. + example: 25 format: int64 type: integer - type: object - RulesetRespDataAttributesModified: - description: The definition of `RulesetRespDataAttributesModified` object. - properties: - nanos: - description: The `modified` `nanos`. - format: int32 - maximum: 2147483647 + offset: + description: The current offset. + example: 0 + format: int64 type: integer - seconds: - description: The `modified` `seconds`. + prev_offset: + description: The previous offset. + example: 0 + format: int64 + type: integer + total: + description: The total number of matching schedules. + example: 1 format: int64 type: integer + type: + $ref: "#/components/schemas/ReportScheduleListResponsePaginationType" type: object - RulesetRespDataAttributesRulesItems: - description: The definition of `RulesetRespDataAttributesRulesItems` object. + ReportScheduleListResponsePaginationType: + description: The pagination type. + enum: + - offset_limit + example: offset_limit + type: string + x-enum-varnames: + - OFFSET_LIMIT + ReportScheduleListResponseRelationships: + description: Relationships for a report schedule in a list response. properties: - enabled: - description: The `items` `enabled`. - example: false - type: boolean - mapping: - $ref: "#/components/schemas/DataAttributesRulesItemsMapping" - metadata: - $ref: "#/components/schemas/RulesetItemMetadata" - name: - description: The `items` `name`. - example: "" - type: string - query: - $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsQuery" - reference_table: - $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsReferenceTable" + author: + $ref: "#/components/schemas/ReportScheduleAuthorRelationship" + resource: + $ref: "#/components/schemas/ReportScheduleListResourceRelationship" required: - - enabled - - name + - author type: object - RulesetRespDataAttributesRulesItemsQuery: - description: The definition of `RulesetRespDataAttributesRulesItemsQuery` object. - nullable: true + ReportSchedulePatchRequest: + description: Request body for updating a report schedule. properties: - addition: - $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsQueryAddition" - case_insensitivity: - description: The `query` `case_insensitivity`. - type: boolean - if_not_exists: - deprecated: true - description: Deprecated. Use `if_tag_exists` instead. The `query` `if_not_exists`. - type: boolean - if_tag_exists: - $ref: "#/components/schemas/DataAttributesRulesItemsIfTagExists" - query: - description: The `query` `query`. - example: "" - type: string + data: + $ref: "#/components/schemas/ReportSchedulePatchRequestData" required: - - addition - - query + - data type: object - RulesetRespDataAttributesRulesItemsQueryAddition: - description: The definition of `RulesetRespDataAttributesRulesItemsQueryAddition` object. - nullable: true + ReportSchedulePatchRequestAttributes: + description: |- + The updated configuration of the report schedule. These values replace the existing + ones; the targeted resource (`resource_id` and `resource_type`) cannot be changed. properties: - key: - description: The `addition` `key`. - example: "" - type: string - value: - description: The `addition` `value`. - example: "" + delivery_format: + $ref: "#/components/schemas/ReportScheduleDeliveryFormat" + description: + description: A description of the report, up to 4096 characters. + example: "Updated weekly summary of infrastructure health." + maxLength: 4096 type: string - required: - - key - - value - type: object - RulesetRespDataAttributesRulesItemsReferenceTable: - description: The definition of `RulesetRespDataAttributesRulesItemsReferenceTable` object. - nullable: true - properties: - case_insensitivity: - description: The `reference_table` `case_insensitivity`. - type: boolean - field_pairs: - description: The `reference_table` `field_pairs`. - items: - $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems" - type: array - if_not_exists: - deprecated: true - description: Deprecated. Use `if_tag_exists` instead. The `reference_table` `if_not_exists`. - type: boolean - if_tag_exists: - $ref: "#/components/schemas/DataAttributesRulesItemsIfTagExists" - source_keys: - description: The `reference_table` `source_keys`. + recipients: + description: |- + The recipients of the report. Each entry is an email address, a Slack channel + reference in the form `slack:{team_id}.{channel_id}.{channel_name}`, or a Microsoft + Teams channel reference in the form `teams:{tenant_id}|{team_id}|{channel_id}`. example: - - "" + - "user@example.com" + - "slack:T01234567.C01234567.alerts" + - "teams:11111111-1111-1111-1111-111111111111|22222222-2222-2222-2222-222222222222|19:exampleChannelId@thread.tacv2" items: - description: A source key for the reference table lookup. + description: A single recipient (email address, Slack channel reference, or Microsoft Teams channel reference). type: string type: array - table_name: - description: The `reference_table` `table_name`. - example: "" + rrule: + description: The recurrence rule for the schedule, expressed as an iCalendar `RRULE` string. + example: "DTSTART;TZID=America/New_York:20260601T090000\nRRULE:FREQ=WEEKLY;BYDAY=MO;BYHOUR=9;BYMINUTE=0" + type: string + tab_id: + description: The identifier of the dashboard tab to render, when the dashboard has tabs. + example: "66666666-7777-8888-9999-000000000000" + format: uuid + type: string + template_variables: + description: The dashboard template variables applied when rendering the report. + items: + $ref: "#/components/schemas/ReportScheduleTemplateVariable" + type: array + timeframe: + description: The relative timeframe of data to include in the report. + example: "1w" + type: string + timezone: + description: The IANA time zone identifier the recurrence rule is evaluated in. + example: "America/New_York" + type: string + title: + description: The title of the report, between 1 and 78 characters. + example: "Weekly Infrastructure Report" + maxLength: 78 + minLength: 1 type: string required: - - field_pairs - - source_keys - - table_name + - recipients + - rrule + - timezone + - template_variables + - timeframe + - title + - description type: object - RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems: - description: The definition of `RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems` object. + ReportSchedulePatchRequestData: + description: The JSON:API data object for a report schedule update request. properties: - input_column: - description: The `items` `input_column`. - example: "" + attributes: + $ref: "#/components/schemas/ReportSchedulePatchRequestAttributes" + type: + $ref: "#/components/schemas/ReportScheduleType" + required: + - type + - attributes + type: object + ReportScheduleResource: + description: A report target resource included as a related JSON:API resource. + properties: + attributes: + $ref: "#/components/schemas/ReportScheduleResourceAttributes" + id: + description: The resource identifier. + example: "abc-def-ghi" type: string - output_key: - description: The `items` `output_key`. - example: "" + type: + $ref: "#/components/schemas/ReportScheduleIncludedResourceType" + required: + - type + - id + - attributes + type: object + ReportScheduleResourceAttributes: + description: Attributes of an included report target resource. + properties: + resource_type: + $ref: "#/components/schemas/ReportScheduleResourceType" + template_variables: + description: Template variable metadata from the dashboard resource, when available. + items: + $ref: "#/components/schemas/ReportScheduleIndexTemplateVariable" + nullable: true + type: array + title: + description: The title of the dashboard or integration dashboard resource, when available. + example: "Infrastructure Overview" + nullable: true type: string required: - - input_column - - output_key + - resource_type type: object - RulesetRespDataType: - default: ruleset - description: Ruleset resource type. + ReportScheduleResourceType: + description: The type of dashboard resource the report schedule targets. enum: - - ruleset - example: ruleset + - dashboard + - integration_dashboard + example: dashboard type: string x-enum-varnames: - - RULESET - RulesetStatusRespArray: - description: Processing statuses for all tag pipeline rulesets in the specified organization. - example: - data: - - attributes: - processing_status: processing - id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10 - type: ruleset_status - - attributes: - processing_status: done - id: a7b8c9d0-1234-5678-9abc-def012345678 - type: ruleset_status + - DASHBOARD + - INTEGRATION_DASHBOARD + ReportScheduleResponse: + description: Response containing a single report schedule. properties: data: - description: Processing status for a tag pipeline ruleset. + $ref: "#/components/schemas/ReportScheduleResponseData" + included: + description: Related resources included with the report schedule, such as the author. items: - $ref: "#/components/schemas/RulesetStatusRespData" + $ref: "#/components/schemas/ReportScheduleIncludedResource" type: array required: - data type: object - RulesetStatusRespData: - description: Processing status for a tag pipeline ruleset. + ReportScheduleResponseAttributes: + description: The configuration and derived state of a report schedule. properties: - attributes: - $ref: "#/components/schemas/RulesetStatusRespDataAttributes" - id: - description: The unique identifier of the ruleset. - example: 55ef2385-9ae1-4410-90c4-5ac1b60fec10 + delivery_format: + $ref: "#/components/schemas/ReportScheduleResponseAttributesDeliveryFormat" + description: + description: The description of the report. + example: "Weekly summary of infrastructure health." type: string - type: - $ref: "#/components/schemas/RulesetStatusRespDataType" - required: - - id - - type - - attributes - type: object - RulesetStatusRespDataAttributes: - description: Processing status for a tag pipeline ruleset. - properties: - processing_status: - description: The processing status of the ruleset. - example: processing + next_recurrence: + description: The Unix timestamp, in milliseconds, of the next scheduled delivery, or `null` if none is scheduled. + example: 1780923600000 + format: int64 + nullable: true + type: integer + recipients: + description: The recipients of the report (email addresses, Slack channel references, or Microsoft Teams channel references). + example: + - "user@example.com" + - "slack:T01234567.C01234567.alerts" + - "teams:11111111-1111-1111-1111-111111111111|22222222-2222-2222-2222-222222222222|19:exampleChannelId@thread.tacv2" + items: + description: A single recipient (email address, Slack channel reference, or Microsoft Teams channel reference). + type: string + type: array + resource_id: + description: The identifier of the resource rendered in the report. + example: "abc-def-ghi" + type: string + resource_type: + $ref: "#/components/schemas/ReportScheduleResourceType" + rrule: + description: The recurrence rule for the schedule, expressed as an iCalendar `RRULE` string. + example: "DTSTART;TZID=America/New_York:20260601T090000\nRRULE:FREQ=WEEKLY;BYDAY=MO;BYHOUR=9;BYMINUTE=0" + type: string + status: + $ref: "#/components/schemas/ReportScheduleStatus" + tab_id: + description: The identifier of the dashboard tab rendered in the report, or `null` if not set. + example: "66666666-7777-8888-9999-000000000000" + nullable: true + type: string + template_variables: + description: The dashboard template variables applied when rendering the report. + items: + $ref: "#/components/schemas/ReportScheduleTemplateVariable" + type: array + timeframe: + description: The relative timeframe of data included in the report, or `null` if not set. + example: "1w" + nullable: true + type: string + timezone: + description: The IANA time zone identifier the recurrence rule is evaluated in. + example: "America/New_York" + type: string + title: + description: The title of the report. + example: "Weekly Infrastructure Report" type: string required: - - processing_status + - status + - resource_id + - resource_type + - recipients + - rrule + - timezone + - template_variables + - title + - description + - timeframe + - next_recurrence + - tab_id type: object - RulesetStatusRespDataType: - default: ruleset_status - description: Ruleset status resource type. + ReportScheduleResponseAttributesDeliveryFormat: + description: The delivery format for dashboard report schedules, or `null` if not set. enum: - - ruleset_status - example: ruleset_status + - pdf + - png + - pdf_and_png + example: pdf + nullable: true type: string x-enum-varnames: - - RULESET_STATUS - RumArchiveConfig: - description: JSON:API resource. + - PDF + - PNG + - PDF_AND_PNG + ReportScheduleResponseData: + description: The JSON:API data object representing a report schedule. properties: attributes: - $ref: "#/components/schemas/RumArchiveConfigAttributes" + $ref: "#/components/schemas/ReportScheduleResponseAttributes" id: - description: Resource identifier. - example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + description: The unique identifier of the report schedule. + example: "11111111-2222-3333-4444-555555555555" type: string + relationships: + $ref: "#/components/schemas/ReportScheduleResponseRelationships" type: - $ref: "#/components/schemas/RumArchiveConfigType" + $ref: "#/components/schemas/ReportScheduleType" required: - id - type - attributes + - relationships type: object - RumArchiveConfigAttributes: - description: Archive configuration. + ReportScheduleResponseRelationships: + description: Relationships for the report schedule. properties: - enabled: - description: Whether archiving is enabled. - example: true - type: boolean - org_id: - description: Organization ID. - example: 123 - format: int64 - type: integer - retention_days: - description: >- - Configured retention in days; omitted when unset. When archiving is enabled, this is 30, 90, or 180. - example: 90 - format: int32 - maximum: 180 - type: integer - updated_at: - description: Last update time. - example: "2026-09-21T12:00:00Z" - format: date-time - type: string - updated_by: - description: Handle of the user who last updated the configuration. - example: user@example.com - type: string + author: + $ref: "#/components/schemas/ReportScheduleAuthorRelationship" required: - - org_id - - enabled + - author type: object - RumArchiveConfigListResponse: - description: JSON:API document. + ReportScheduleStatus: + description: Whether the schedule is currently delivering reports (`active`) or paused (`inactive`). + enum: + - active + - inactive + example: active + type: string + x-enum-varnames: + - ACTIVE + - INACTIVE + ReportScheduleTemplateVariable: + description: A dashboard template variable applied when rendering the report. properties: - data: - description: Configurations in page order. + name: + description: The name of the template variable. + example: env + type: string + values: + description: The selected values for the template variable. + example: + - "prod" items: - $ref: "#/components/schemas/RumArchiveConfig" + description: A single selected template variable value. + type: string type: array - meta: - $ref: "#/components/schemas/RumArchiveConfigMeta" + required: + - name + - values + type: object + ReportScheduleToggleRequest: + description: Request body for toggling a report schedule. + properties: + data: + $ref: "#/components/schemas/ReportScheduleToggleRequestData" required: - data - - meta type: object - RumArchiveConfigMeta: - description: Pagination metadata. + ReportScheduleToggleRequestAttributes: + description: The status to set on the report schedule. properties: - page: - $ref: "#/components/schemas/RumArchiveConfigPage" + status: + $ref: "#/components/schemas/ReportScheduleStatus" required: - - page + - status type: object - RumArchiveConfigPage: - description: Page information. + ReportScheduleToggleRequestData: + description: The JSON:API data object for a report schedule toggle request. properties: - total_filtered_count: - description: Total configurations for the organization. - example: 0 - format: int64 - minimum: 0 - type: integer + attributes: + $ref: "#/components/schemas/ReportScheduleToggleRequestAttributes" + type: + $ref: "#/components/schemas/ReportScheduleType" required: - - total_filtered_count + - type + - attributes type: object - RumArchiveConfigResponse: - description: JSON:API document. + ReportScheduleType: + description: JSON:API resource type for report schedules. + enum: + - schedule + example: schedule + type: string + x-enum-varnames: + - SCHEDULE + RerouteOnCallPageRequest: + description: Full request to reroute an On-Call Page to a different team or user. + example: + data: + attributes: + comment: Rerouting to the database team. + target: + identifier: my-team + type: team_handle + type: reroute properties: data: - $ref: "#/components/schemas/RumArchiveConfig" + $ref: "#/components/schemas/RerouteOnCallPageRequestData" required: - data type: object - RumArchiveConfigType: - description: JSON:API resource type. + RerouteOnCallPageRequestData: + description: The data for rerouting an On-Call Page, including attributes and resource type. + properties: + attributes: + $ref: "#/components/schemas/RerouteOnCallPageRequestDataAttributes" + type: + $ref: "#/components/schemas/RerouteOnCallPageRequestDataType" + required: + - attributes + - type + type: object + RerouteOnCallPageRequestDataAttributes: + description: Details about where to reroute the On-Call Page. + properties: + comment: + description: An optional comment explaining why the page is being rerouted. + example: Rerouting to the database team. + type: string + target: + $ref: "#/components/schemas/CreatePageRequestDataAttributesTarget" + required: + - target + type: object + RerouteOnCallPageRequestDataType: + default: reroute + description: The type of resource used when rerouting an On-Call Page. enum: - - rum_archive_config - example: rum_archive_config + - reroute + example: reroute type: string x-enum-varnames: - - RUM_ARCHIVE_CONFIG - RumArchiveConfigUpsertAttributes: - description: >- - Archive configuration to save. When enabled is true, retention_days is required and must be 30, 90, or 180. When disabled, retention_days can be omitted. + - REROUTE + ResolveVulnerableSymbolsRequest: + description: The top-level request object for resolving vulnerable symbols in a set of packages. properties: - enabled: - description: Whether archiving is enabled. - example: true - type: boolean - retention_days: - description: >- - Retention in days. When enabled is true, required and restricted to 30, 90, or 180. When enabled is false, this field can be omitted. - example: 90 - format: int32 - maximum: 180 - type: integer - required: - - enabled + data: + $ref: "#/components/schemas/ResolveVulnerableSymbolsRequestData" type: object - RumArchiveConfigUpsertData: - description: JSON:API resource. + ResolveVulnerableSymbolsRequestData: + description: >- + The data object in a request to resolve vulnerable symbols, containing the package PURLs and request type. properties: attributes: - $ref: "#/components/schemas/RumArchiveConfigUpsertAttributes" + $ref: "#/components/schemas/ResolveVulnerableSymbolsRequestDataAttributes" id: - description: Resource identifier. - example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 + description: An optional identifier for this request data object. type: string type: - $ref: "#/components/schemas/RumArchiveConfigType" + $ref: "#/components/schemas/ResolveVulnerableSymbolsRequestDataType" required: - - id - type - - attributes type: object - RumArchiveConfigUpsertRequest: - description: JSON:API document. + ResolveVulnerableSymbolsRequestDataAttributes: + description: >- + The attributes of a request to resolve vulnerable symbols, containing the list of package PURLs to check. + properties: + purls: + description: The list of Package URLs (PURLs) for which to resolve vulnerable symbols. + items: + description: A Package URL (PURL) identifying a specific package and version. + type: string + type: array + type: object + ResolveVulnerableSymbolsRequestDataType: + default: resolve-vulnerable-symbols-request + description: The type identifier for requests to resolve vulnerable symbols. + enum: + - resolve-vulnerable-symbols-request + example: resolve-vulnerable-symbols-request + type: string + x-enum-varnames: + - RESOLVE_VULNERABLE_SYMBOLS_REQUEST + ResolveVulnerableSymbolsResponse: + description: The top-level response object returned when resolving vulnerable symbols for a set of packages. properties: data: - $ref: "#/components/schemas/RumArchiveConfigUpsertData" - required: - - data + $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseData" type: object - RumArchiveSession: - description: JSON:API resource. + ResolveVulnerableSymbolsResponseData: + description: >- + The data object in a response for resolving vulnerable symbols, containing the result attributes and response type. properties: attributes: - $ref: "#/components/schemas/RumArchiveSessionAttributes" + $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseDataAttributes" id: - description: Resource identifier. - example: 11111111-1111-4111-8111-111111111111 + description: The unique identifier for this response data object. type: string type: - $ref: "#/components/schemas/RumArchiveSessionType" + $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseDataType" required: - - id - type - - attributes type: object - RumArchiveSessionAttributes: - description: Archived session metadata. + ResolveVulnerableSymbolsResponseDataAttributes: + description: The attributes of a response containing resolved vulnerable symbols, organized by package. properties: - account_id: - description: Session account id, or null when unavailable. - example: account-123 - nullable: true - type: string - anonymous_id: - description: Session anonymous id, or null when unavailable. - example: anonymous-123 - nullable: true - type: string - application_id: - description: Application UUID. - example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 - format: uuid - type: string - country: - description: Session country, or null when unavailable. - example: US - nullable: true + results: + description: The list of resolved vulnerable symbol results, one entry per queried package. + items: + $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseResults" + type: array + type: object + ResolveVulnerableSymbolsResponseDataType: + default: resolve-vulnerable-symbols-response + description: The type identifier for responses containing resolved vulnerable symbols. + enum: + - resolve-vulnerable-symbols-response + example: resolve-vulnerable-symbols-response + type: string + x-enum-varnames: + - RESOLVE_VULNERABLE_SYMBOLS_RESPONSE + ResolveVulnerableSymbolsResponseResults: + description: The result of resolving vulnerable symbols for a specific package, identified by its PURL. + properties: + purl: + description: >- + The Package URL (PURL) uniquely identifying the package for which vulnerable symbols are resolved. type: string - recovery_status: - $ref: "#/components/schemas/RumArchiveSessionRecoveryStatus" - service: - description: Service name. - example: web + vulnerable_symbols: + description: The list of vulnerable symbol groups found in this package, organized by advisory. + items: + $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseResultsVulnerableSymbols" + type: array + type: object + ResolveVulnerableSymbolsResponseResultsVulnerableSymbols: + description: A collection of vulnerable symbols associated with a specific security advisory. + properties: + advisory_id: + description: The identifier of the security advisory that describes the vulnerability. type: string - session_id: - description: Session identifier. - example: 00000000-0000-4000-8000-000000000001 + symbols: + description: The list of symbols that are vulnerable according to this advisory. + items: + $ref: "#/components/schemas/ResolveVulnerableSymbolsResponseResultsVulnerableSymbolsSymbols" + type: array + type: object + ResolveVulnerableSymbolsResponseResultsVulnerableSymbolsSymbols: + description: A symbol identified as vulnerable within a dependency, including its name, type, and value. + properties: + name: + description: The name of the vulnerable symbol. type: string - timestamp: - description: Session timestamp in Unix milliseconds. - example: 1789905600000 - format: int64 - type: integer - user_id: - description: Session user id, or null when unavailable. - example: user-123 - nullable: true + type: + description: The type classification of the vulnerable symbol (e.g., function, class, variable). type: string - version: - description: Session version, or null when unavailable. - example: 1.0.0 - nullable: true + value: + description: The value or identifier associated with the vulnerable symbol. type: string - required: - - session_id - - application_id - - timestamp - - service - - user_id - - anonymous_id - - account_id - - country - - version - - recovery_status type: object - RumArchiveSessionRecoveryStatus: - description: >- - Session recovery state. A missing recovery record can be represented as null. Optional request_id and recovered_at are omitted when unavailable. - nullable: true + ResourceFilterAttributes: + description: Attributes of a resource filter. + example: + aws: + "123456789": + - environment:production + - team:devops + azure: + sub-001: + - app:frontend + gcp: + project-abc: + - region:us-central1 properties: - recovered_at: - description: Recovery timestamp, when available. - example: example - format: date-time - type: string - request_id: - description: Associated recovery request ID. - example: 11111111-1111-4111-8111-111111111111 + cloud_provider: + additionalProperties: + additionalProperties: + items: + description: Tag filter in format "key:value" + example: environment:production + type: string + type: array + type: object + description: A map of cloud provider names (e.g., "aws", "gcp", "azure") to a map of account/resource IDs and their associated tag filters. + type: object + uuid: + description: The UUID of the resource filter. type: string - status: - $ref: "#/components/schemas/RumRecoverySessionStatus" required: - - status + - cloud_provider type: object - RumArchiveSessionType: - description: JSON:API resource type. + ResourceFilterRequestType: + description: Constant string to identify the request type. enum: - - rum_archive_session - example: rum_archive_session + - csm_resource_filter + example: csm_resource_filter type: string x-enum-varnames: - - RUM_ARCHIVE_SESSION - RumArchiveSessionsMeta: - description: Search metadata. + - CSM_RESOURCE_FILTER + ResponseMetaAttributes: + description: Object describing meta attributes of response. properties: page: - $ref: "#/components/schemas/RumArchiveSessionsPage" - required: - - page + $ref: "#/components/schemas/Pagination" type: object - RumArchiveSessionsPage: - description: Search pagination. + RestrictionPolicy: + description: Restriction policy object. properties: - next_cursor: - description: Opaque continuation cursor. Omitted when no further page is available. - example: example + attributes: + $ref: "#/components/schemas/RestrictionPolicyAttributes" + id: + description: The identifier, always equivalent to the value specified in the `resource_id` path parameter. + example: "dashboard:abc-def-ghi" type: string - total_count: - description: >- - Search result count. Can be zero on continuation pages even when sessions are returned. Use `next_cursor` to determine whether more pages are available. - example: 0 - format: int64 - minimum: 0 - type: integer + type: + $ref: "#/components/schemas/RestrictionPolicyType" required: - - total_count + - type + - id + - attributes type: object - RumArchiveSessionsResponse: - description: JSON:API document. + RestrictionPolicyAttributes: + description: Restriction policy attributes. + example: {"bindings": []} properties: - data: - description: Archived sessions. + bindings: + description: An array of bindings. items: - $ref: "#/components/schemas/RumArchiveSession" + $ref: "#/components/schemas/RestrictionPolicyBinding" type: array - meta: - $ref: "#/components/schemas/RumArchiveSessionsMeta" + required: + - bindings + type: object + RestrictionPolicyBinding: + description: Specifies which principals are associated with a relation. + properties: + principals: + description: |- + An array of principals. A principal is a subject or group of subjects. + Each principal is formatted as `type:id`. Supported types: `role`, `team`, `user`, and `org`. + The org ID can be obtained through the api/v2/current_user API. + The user principal type accepts service account IDs. + example: ["role:00000000-0000-1111-0000-000000000000"] + items: + description: |- + Subject or group of subjects. Each principal is formatted as `type:id`. + Supported types: `role`, `team`, `user`, and `org`. + The org ID can be obtained through the api/v2/current_user API. + The user principal type accepts service account IDs. + type: string + type: array + relation: + description: The role/level of access. + example: editor + type: string + required: + - relation + - principals + type: object + RestrictionPolicyResponse: + description: Response containing information about a single restriction policy. + properties: + data: + $ref: "#/components/schemas/RestrictionPolicy" required: - data - - meta type: object - RumArchiveSessionsSearchAttributes: - description: >- - Archived-session query. A window wider than configured archive retention is narrowed before searching. + RestrictionPolicyType: + default: restriction_policy + description: Restriction policy type. + enum: + - restriction_policy + example: restriction_policy + type: string + x-enum-varnames: + - RESTRICTION_POLICY + RestrictionPolicyUpdateRequest: + description: Update request for a restriction policy. properties: - cursor: - description: Opaque next-page cursor. Keep the query, time range, and hide_retained value unchanged. - example: example + data: + $ref: "#/components/schemas/RestrictionPolicy" + required: + - data + type: object + RestrictionQueryAttributes: + description: Attributes of the restriction query. + properties: + created_at: + description: Creation time of the restriction query. + example: "2020-03-17T21:06:44.000Z" + format: date-time + readOnly: true type: string - from: - description: Start of the range in Unix milliseconds. Must be positive and earlier than to. - example: 1789905600000 + last_modifier_email: + description: Email of the user who last modified this restriction query. + example: "user@example.com" + readOnly: true + type: string + last_modifier_name: + description: Name of the user who last modified this restriction query. + example: "John Doe" + readOnly: true + type: string + modified_at: + description: Time of last restriction query modification. + example: "2020-03-17T21:15:15.000Z" + format: date-time + readOnly: true + type: string + restriction_query: + description: The query that defines the restriction. Only the content matching the query can be returned. + example: "env:sandbox" + type: string + role_count: + description: Number of roles associated with this restriction query. + example: 3 format: int64 - minimum: 1 - type: integer - hide_retained: - default: false - description: >- - When true, exclude sessions already present in hot RUM storage. When false, those sessions can appear in the results. Keep this value unchanged when continuing with a cursor. - example: false - type: boolean - limit: - default: 50 - description: Page size, at most 1000 (default 50). Values at or below zero use 50. - example: 0 - format: int32 - maximum: 1000 + readOnly: true type: integer - query: - description: RUM search query. Must not be empty. - example: service:web - type: string - to: - description: End of the range in Unix milliseconds. - example: 1789992000000 + user_count: + description: Number of users associated with this restriction query. + example: 5 format: int64 - minimum: 1 + readOnly: true type: integer + type: object + RestrictionQueryCreateAttributes: + description: Attributes of the created restriction query. + properties: + restriction_query: + description: The restriction query. + example: "env:sandbox" + type: string required: - - query - - from - - to + - restriction_query + type: object + RestrictionQueryCreateData: + description: Data related to the creation of a restriction query. + properties: + attributes: + $ref: "#/components/schemas/RestrictionQueryCreateAttributes" + type: + $ref: "#/components/schemas/LogsRestrictionQueriesType" + type: object + RestrictionQueryCreatePayload: + description: Create a restriction query. + properties: + data: + $ref: "#/components/schemas/RestrictionQueryCreateData" + type: object + RestrictionQueryListResponse: + description: Response containing information about multiple restriction queries. + properties: + data: + description: Array of returned restriction queries. + items: + $ref: "#/components/schemas/RestrictionQueryWithoutRelationships" + type: array type: object - RumArchiveSessionsSearchData: - description: JSON:API resource. + RestrictionQueryResponseIncludedItem: + description: An object related to a restriction query. + oneOf: + - $ref: "#/components/schemas/RestrictionQueryRole" + RestrictionQueryRole: + description: Partial role object. properties: attributes: - $ref: "#/components/schemas/RumArchiveSessionsSearchAttributes" + $ref: "#/components/schemas/RestrictionQueryRoleAttribute" id: - description: >- - Optional resource identifier. - example: 11111111-1111-4111-8111-111111111111 + description: ID of the role. + example: "" type: string type: - description: >- - JSON:API resource type. - example: rum_archive_sessions_request - type: string + $ref: "#/components/schemas/RolesType" required: + - type + - id - attributes type: object - RumArchiveSessionsSearchRequest: - description: JSON:API document. + RestrictionQueryRoleAttribute: + description: Attributes of the role for a restriction query. properties: - data: - $ref: "#/components/schemas/RumArchiveSessionsSearchData" - required: - - data + name: + description: The role name. + example: "Datadog Admin Role" + type: string type: object - RumConfigAttributes: - description: Attributes of the RUM configuration. + RestrictionQueryRolesResponse: + description: Response containing information about roles attached to a restriction query. properties: - disabled: - description: Whether the RUM configuration is disabled for the organization. - example: false - type: boolean - enforced_application_tags: - description: Whether application tags are enforced for the RUM applications in the organization. - example: true - type: boolean - enforced_application_tags_updated_at: - description: Timestamp of when the enforced application tags setting was last updated. - example: "2024-01-15T09:30:00.000Z" - format: date-time - type: string - enforced_application_tags_updated_by: - description: Handle of the user who last updated the enforced application tags setting. - example: "user@example.com" - type: string - ootb_metrics_version: - description: Version of the out-of-the-box metrics installed for the organization. - example: 5 - format: int64 - type: integer - ootb_metrics_version_installed_at: - description: Timestamp of when the out-of-the-box metrics version was installed. - example: "2024-01-15T09:30:00.000Z" - format: date-time - type: string - retention_filters_enabled: - description: Whether retention filters are enabled for the organization. - example: true - type: boolean - retention_filters_enabled_updated_at: - description: Timestamp of when the retention filters setting was last updated. - example: "2024-01-15T09:30:00.000Z" - format: date-time - type: string - retention_filters_enabled_updated_by: - description: Handle of the user or job who last updated the retention filters setting. - example: "contract-update-job" - type: string - required: - - enforced_application_tags - - retention_filters_enabled + data: + description: Array of roles. + items: + $ref: "#/components/schemas/RestrictionQueryRole" + type: array type: object - RumConfigCreateAttributes: - description: Attributes of the RUM configuration to create. + RestrictionQueryUpdateAttributes: + description: Attributes of the edited restriction query. properties: - enforced_application_tags: - description: Whether application tags are enforced for the RUM applications in the organization. - example: true - type: boolean + restriction_query: + description: The restriction query. + example: "env:sandbox" + type: string required: - - enforced_application_tags + - restriction_query type: object - RumConfigCreateData: - description: Object describing the RUM configuration to create. + RestrictionQueryUpdateData: + description: Data related to the update of a restriction query. properties: attributes: - $ref: "#/components/schemas/RumConfigCreateAttributes" + $ref: "#/components/schemas/RestrictionQueryUpdateAttributes" type: - $ref: "#/components/schemas/RumConfigType" - required: - - type - - attributes + $ref: "#/components/schemas/LogsRestrictionQueriesType" type: object - RumConfigCreateRequest: - description: Request body for creating the RUM configuration. + RestrictionQueryUpdatePayload: + description: Update a restriction query. properties: data: - $ref: "#/components/schemas/RumConfigCreateData" - required: - - data + $ref: "#/components/schemas/RestrictionQueryUpdateData" type: object - RumConfigData: - description: The RUM configuration data. + RestrictionQueryWithRelationships: + description: Restriction query object returned by the API. properties: attributes: - $ref: "#/components/schemas/RumConfigAttributes" + $ref: "#/components/schemas/RestrictionQueryAttributes" id: - description: The organization ID associated with the RUM configuration. - example: "1234" + description: ID of the restriction query. + example: "79a0e60a-644a-11ea-ad29-43329f7f58b5" type: string + relationships: + $ref: "#/components/schemas/UserRelationships" type: - $ref: "#/components/schemas/RumConfigType" - required: - - id - - type - - attributes + $ref: "#/components/schemas/LogsRestrictionQueriesType" type: object - RumConfigResponse: - description: The RUM configuration object. + RestrictionQueryWithRelationshipsResponse: + description: Response containing information about a single restriction query. properties: data: - $ref: "#/components/schemas/RumConfigData" - required: - - data + $ref: "#/components/schemas/RestrictionQueryWithRelationships" + included: + description: Array of objects related to the restriction query. + items: + $ref: "#/components/schemas/RestrictionQueryResponseIncludedItem" + type: array type: object - RumConfigType: - default: rum_config - description: The type of the resource. The value should always be `rum_config`. - enum: - - rum_config - example: rum_config - type: string - x-enum-varnames: - - RUM_CONFIG - RumConfigUpdateAttributes: - description: Attributes of the RUM configuration to update. + RestrictionQueryWithoutRelationships: + description: Restriction query object returned by the API. properties: - enforced_application_tags: - description: Whether application tags are enforced for the RUM applications in the organization. - example: true - type: boolean - required: - - enforced_application_tags + attributes: + $ref: "#/components/schemas/RestrictionQueryAttributes" + id: + description: ID of the restriction query. + example: "79a0e60a-644a-11ea-ad29-43329f7f58b5" + type: string + type: + default: logs_restriction_queries + description: Restriction queries type. + example: "logs_restriction_queries" + readOnly: true + type: string type: object - RumConfigUpdateData: - description: Object describing the RUM configuration to update. + RestrictionQueryWithoutRelationshipsResponse: + description: Response containing information about a single restriction query. + properties: + data: + $ref: "#/components/schemas/RestrictionQueryWithoutRelationships" + type: object + RetentionFilter: + description: The definition of the retention filter. properties: attributes: - $ref: "#/components/schemas/RumConfigUpdateAttributes" + $ref: "#/components/schemas/RetentionFilterAttributes" + id: + description: The ID of the retention filter. + example: "7RBOb7dLSYWI01yc3pIH8w" + type: string type: - $ref: "#/components/schemas/RumConfigType" + $ref: "#/components/schemas/ApmRetentionFilterType" required: + - id - type - attributes type: object - RumConfigUpdateRequest: - description: Request body for updating the RUM configuration. + RetentionFilterAll: + description: The definition of the retention filter. properties: - data: - $ref: "#/components/schemas/RumConfigUpdateData" + attributes: + $ref: "#/components/schemas/RetentionFilterAllAttributes" + id: + description: The ID of the retention filter. + example: "7RBOb7dLSYWI01yc3pIH8w" + type: string + type: + $ref: "#/components/schemas/ApmRetentionFilterType" required: - - data + - id + - type + - attributes type: object - RumCrossProductSampling: - description: The configuration for cross-product retention filters. + RetentionFilterAllAttributes: + description: The attributes of the retention filter. properties: - session_replay_enabled: - description: Whether the cross-product retention filter for Session Replay is enabled. + created_at: + description: The creation timestamp of the retention filter. + format: int64 + type: integer + created_by: + description: The creator of the retention filter. + type: string + editable: + description: Shows whether the filter can be edited. example: true type: boolean - session_replay_sample_rate: + enabled: + description: The status of the retention filter (Enabled/Disabled). + example: true + type: boolean + execution_order: + description: The execution order of the retention filter. + format: int64 + type: integer + filter: + $ref: "#/components/schemas/SpansFilter" + filter_type: + $ref: "#/components/schemas/RetentionFilterAllType" + modified_at: + description: The modification timestamp of the retention filter. + format: int64 + type: integer + modified_by: + description: The modifier of the retention filter. + type: string + name: + description: The name of the retention filter. + example: my retention filter + type: string + rate: description: |- - The percentage (0-100) of retained sessions with an ingested replay that keep their replay data. - Values returned by the API are rounded to two decimal places. - example: 75.0 + Sample rate to apply to spans going through this retention filter. + A value of 1.0 keeps all spans matching the query. + example: 1.0 format: double - maximum: 100 - minimum: 0 type: number - trace_enabled: - description: Whether the cross-product retention filter for APM traces is enabled. - example: true - type: boolean - trace_sample_rate: - description: The sample rate for the APM cross-product retention filter, between 0 and 100. Values returned by the API are rounded to two decimal places. - example: 25.0 + trace_rate: + description: |- + Sample rate to apply to traces containing spans going through this retention filter. + A value of 1.0 keeps all traces with spans matching the query. + example: 1.0 format: double - maximum: 100 - minimum: 0 type: number type: object - RumCrossProductSamplingCreate: - description: The configuration for cross-product retention filters. + RetentionFilterAllType: + default: spans-sampling-processor + description: The type of retention filter. + enum: + - spans-sampling-processor + - spans-errors-sampling-processor + - spans-appsec-sampling-processor + example: spans-sampling-processor + type: string + x-enum-varnames: + - SPANS_SAMPLING_PROCESSOR + - SPANS_ERRORS_SAMPLING_PROCESSOR + - SPANS_APPSEC_SAMPLING_PROCESSOR + RetentionFilterAttributes: + description: The attributes of the retention filter. properties: - trace_enabled: - description: Whether the cross-product retention filter for APM traces is enabled. + created_at: + description: The creation timestamp of the retention filter. + format: int64 + type: integer + created_by: + description: The creator of the retention filter. + type: string + editable: + description: Shows whether the filter can be edited. example: true type: boolean - trace_sample_rate: - description: The sample rate for the APM cross-product retention filter, between 0 and 100. - example: 25.0 - format: double - maximum: 100 - minimum: 0 - type: number - required: - - trace_sample_rate - type: object - RumCrossProductSamplingUpdate: - description: The configuration for cross-product retention filters. All fields are optional for partial updates. - properties: - trace_enabled: - description: Whether the cross-product retention filter for APM traces is enabled. + enabled: + description: The status of the retention filter (Enabled/Disabled). example: true type: boolean - trace_sample_rate: - description: The sample rate for the APM cross-product retention filter, between 0 and 100. - example: 25.0 + execution_order: + description: The execution order of the retention filter. + format: int64 + type: integer + filter: + $ref: "#/components/schemas/SpansFilter" + filter_type: + $ref: "#/components/schemas/RetentionFilterType" + modified_at: + description: The modification timestamp of the retention filter. + format: int64 + type: integer + modified_by: + description: The modifier of the retention filter. + type: string + name: + description: The name of the retention filter. + example: my retention filter + type: string + rate: + description: |- + Sample rate to apply to spans going through this retention filter. + A value of 1.0 keeps all spans matching the query. + example: 1.0 + format: double + type: number + trace_rate: + description: |- + Sample rate to apply to traces containing spans going through this retention filter. + A value of 1.0 keeps all traces with spans matching the query. + example: 1.0 format: double - maximum: 100 - minimum: 0 type: number type: object - RumExclusionFilterAttributes: - description: The attributes of an exclusion filter. - properties: - enabled: - $ref: "#/components/schemas/RumExclusionFilterEnabled" - event_type: - $ref: "#/components/schemas/RumExclusionFilterEventType" - name: - $ref: "#/components/schemas/RumExclusionFilterName" - query: - $ref: "#/components/schemas/RumExclusionFilterQuery" - type: object - RumExclusionFilterCreateAttributes: - description: The attributes of an exclusion filter to create. + RetentionFilterCreateAttributes: + description: The object describing the configuration of the retention filter to create/update. properties: enabled: - description: Whether the exclusion filter is active. Defaults to `true`. + description: Enable/Disable the retention filter. example: true type: boolean - event_type: - $ref: "#/components/schemas/RumExclusionFilterEventType" + filter: + $ref: "#/components/schemas/SpansFilterCreate" + filter_type: + $ref: "#/components/schemas/RetentionFilterType" name: - $ref: "#/components/schemas/RumExclusionFilterName" - query: - $ref: "#/components/schemas/RumExclusionFilterQuery" + description: The name of the retention filter. + example: my retention filter + type: string + rate: + description: |- + Sample rate to apply to spans going through this retention filter. + A value of 1.0 keeps all spans matching the query. + example: 1.0 + format: double + type: number + trace_rate: + description: |- + Sample rate to apply to traces containing spans going through this retention filter. + A value of 1.0 keeps all traces with spans matching the query. + example: 1.0 + format: double + type: number required: - name + - filter + - enabled + - filter_type + - rate type: object - RumExclusionFilterCreateData: - description: The new exclusion filter properties to create. + RetentionFilterCreateData: + description: The body of the retention filter to be created. properties: attributes: - $ref: "#/components/schemas/RumExclusionFilterCreateAttributes" + $ref: "#/components/schemas/RetentionFilterCreateAttributes" type: - $ref: "#/components/schemas/RumExclusionFilterType" + $ref: "#/components/schemas/ApmRetentionFilterType" required: - - type - attributes + - type type: object - RumExclusionFilterCreateRequest: - description: The exclusion filter body to create. + RetentionFilterCreateRequest: + description: The body of the retention filter to be created. properties: data: - $ref: "#/components/schemas/RumExclusionFilterCreateData" + $ref: "#/components/schemas/RetentionFilterCreateData" required: - data type: object - RumExclusionFilterData: - description: An exclusion filter. - properties: - attributes: - $ref: "#/components/schemas/RumExclusionFilterAttributes" - id: - description: The ID of the exclusion filter. - example: "051601eb-54a0-abc0-03f9-cc02efa18892" - type: string - meta: - $ref: "#/components/schemas/RumExclusionFilterMeta" - type: - $ref: "#/components/schemas/RumExclusionFilterType" - required: - - id - - type - type: object - RumExclusionFilterEnabled: - description: Whether the exclusion filter is active. - example: true - type: boolean - RumExclusionFilterEventType: - description: The type of RUM events to filter on. - enum: - - session - - view - - action - - error - - resource - - long_task - - vital - example: error - type: string - x-enum-varnames: - - SESSION - - VIEW - - ACTION - - ERROR - - RESOURCE - - LONG_TASK - - VITAL - RumExclusionFilterMeta: - description: Metadata about the exclusion filter. + RetentionFilterCreateResponse: + description: The retention filters definition. properties: - enabled_at: - description: Unix epoch (in milliseconds) when the exclusion filter was last enabled. - example: 1735689600000 - format: int64 - type: integer - updated_at: - description: Unix epoch (in milliseconds) of the last update. - example: 1735689600000 - format: int64 - type: integer - updated_by_handle: - description: Handle of the user who last updated the exclusion filter. - example: jane.doe@example.com - type: string + data: + $ref: "#/components/schemas/RetentionFilter" type: object - RumExclusionFilterName: - description: The name of the exclusion filter. - example: Exclude noisy browser extension errors - type: string - RumExclusionFilterQuery: - description: |- - Additional query used to further restrict which RUM events are excluded. - Combined with `event_type` when both are provided. - example: "@error.message:*extension*" - type: string - RumExclusionFilterResponse: - description: An exclusion filter response body. + RetentionFilterResponse: + description: The retention filters definition. properties: data: - $ref: "#/components/schemas/RumExclusionFilterData" + $ref: "#/components/schemas/RetentionFilterAll" type: object - RumExclusionFilterType: - default: exclusion_filters - description: The resource type. The value must be `exclusion_filters`. + RetentionFilterType: + default: spans-sampling-processor + description: The type of retention filter. The value should always be spans-sampling-processor. enum: - - exclusion_filters - example: exclusion_filters + - spans-sampling-processor + example: spans-sampling-processor type: string x-enum-varnames: - - EXCLUSION_FILTERS - RumExclusionFilterUpdateAttributes: - description: |- - The attributes of an exclusion filter that can be updated. - For the built-in Error Tracking exclusion filter, only `enabled` can be set; - `name`, `event_type`, and `query` must be omitted. + - SPANS_SAMPLING_PROCESSOR + RetentionFilterUpdateAttributes: + description: The object describing the configuration of the retention filter to create/update. properties: enabled: - $ref: "#/components/schemas/RumExclusionFilterEnabled" - event_type: - $ref: "#/components/schemas/RumExclusionFilterEventType" + description: Enable/Disable the retention filter. + example: true + type: boolean + filter: + $ref: "#/components/schemas/SpansFilterCreate" + filter_type: + $ref: "#/components/schemas/RetentionFilterAllType" name: - $ref: "#/components/schemas/RumExclusionFilterName" - query: - $ref: "#/components/schemas/RumExclusionFilterQuery" + description: The name of the retention filter. + example: my retention filter + type: string + rate: + description: |- + Sample rate to apply to spans going through this retention filter. + A value of 1.0 keeps all spans matching the query. + example: 1.0 + format: double + type: number + trace_rate: + description: |- + Sample rate to apply to traces containing spans going through this retention filter. + A value of 1.0 keeps all traces with spans matching the query. + example: 1.0 + format: double + type: number + required: + - name + - filter + - enabled + - filter_type + - rate type: object - RumExclusionFilterUpdateData: - description: The exclusion filter properties to update. + RetentionFilterUpdateData: + description: The body of the retention filter to be updated. properties: attributes: - $ref: "#/components/schemas/RumExclusionFilterUpdateAttributes" + $ref: "#/components/schemas/RetentionFilterUpdateAttributes" id: - description: The ID of the exclusion filter. Must match the `ef_id` path parameter. - example: "051601eb-54a0-abc0-03f9-cc02efa18892" + description: The ID of the retention filter. + example: "retention-filter-id" type: string type: - $ref: "#/components/schemas/RumExclusionFilterType" + $ref: "#/components/schemas/ApmRetentionFilterType" required: - id - - type - attributes + - type type: object - RumExclusionFilterUpdateRequest: - description: The exclusion filter body to update. + RetentionFilterUpdateRequest: + description: The body of the retention filter to be updated. properties: data: - $ref: "#/components/schemas/RumExclusionFilterUpdateData" + $ref: "#/components/schemas/RetentionFilterUpdateData" required: - data type: object - RumExclusionFiltersResponse: - description: All exclusion filters for a RUM application. - properties: - data: - description: A list of exclusion filters. - items: - $ref: "#/components/schemas/RumExclusionFilterData" - type: array - type: object - RumManagedArchiveErrorResponse: - description: API error response. - properties: - errors: - description: Errors as plain-text messages or JSON:API error objects containing status, title, and detail. - example: - - Forbidden - items: - description: A plain-text message or a JSON:API error object. - type: array - required: - - errors - type: object - RumMetricCompute: - description: The compute rule to compute the RUM-based metric. It is set at creation and only `include_percentiles` can be updated afterward. - properties: - aggregation_type: - $ref: "#/components/schemas/RumMetricComputeAggregationType" - include_percentiles: - $ref: "#/components/schemas/RumMetricComputeIncludePercentiles" - path: - description: |- - The path of the numeric RUM event attribute the metric aggregates on. - Only valid when `aggregation_type` is `distribution`. - example: "@duration" - type: string - required: - - aggregation_type - type: object - RumMetricComputeAggregationType: - description: |- - The type of aggregation to use. - `count` counts the matching events. `distribution` aggregates the values found at `path`. - enum: ["count", "distribution"] - example: "distribution" - type: string - x-enum-varnames: ["COUNT", "DISTRIBUTION"] - RumMetricComputeIncludePercentiles: - description: |- - Toggle to include or exclude percentile aggregations (p50, p75, p90, p95, p99) for distribution metrics. - Required when `aggregation_type` is `distribution`, and must be omitted otherwise. - example: true - type: boolean - RumMetricCreateAttributes: - description: The object describing the Datadog RUM-based metric to create. - properties: - compute: - $ref: "#/components/schemas/RumMetricCompute" - event_type: - $ref: "#/components/schemas/RumMetricEventType" - filter: - $ref: "#/components/schemas/RumMetricFilter" - group_by: - description: The rules to group the metric by. Each rule creates a tag on the generated metric. If omitted, the metric is not grouped. - items: - $ref: "#/components/schemas/RumMetricGroupBy" - type: array - uniqueness: - $ref: "#/components/schemas/RumMetricUniqueness" - required: - - event_type - - compute - type: object - RumMetricCreateData: - description: The new RUM-based metric properties. + RetentionFilterWithoutAttributes: + description: The retention filter object . properties: - attributes: - $ref: "#/components/schemas/RumMetricCreateAttributes" id: - $ref: "#/components/schemas/RumMetricID" + description: The ID of the retention filter. + example: "7RBOb7dLSYWI01yc3pIH8w" + type: string type: - $ref: "#/components/schemas/RumMetricType" + $ref: "#/components/schemas/ApmRetentionFilterType" required: - id - type - - attributes type: object - RumMetricCreateRequest: - description: The new RUM-based metric body. + RetentionFiltersResponse: + description: An ordered list of retention filters. properties: data: - $ref: "#/components/schemas/RumMetricCreateData" + description: A list of retention filters objects. + items: + $ref: "#/components/schemas/RetentionFilterAll" + type: array required: - data type: object - RumMetricEventType: - description: The type of RUM events the metric is generated from. It is set at creation and cannot be changed. - enum: ["session", "view", "action", "error", "resource", "long_task", "vital"] - example: "session" - type: string - x-enum-varnames: ["SESSION", "VIEW", "ACTION", "ERROR", "RESOURCE", "LONG_TASK", "VITAL"] - RumMetricFilter: - description: The RUM-based metric filter. Events matching this filter are aggregated in this metric. The `event_type` filter is added automatically. + RetryStrategy: + additionalProperties: false + description: The definition of `RetryStrategy` object. properties: - query: - default: "*" - description: |- - The search query, following the [RUM search syntax](https://docs.datadoghq.com/real_user_monitoring/explorer/search_syntax/). - Do not include a `@type` filter, it is derived from `event_type`. - It must not contain invisible or control characters such as non-breaking or zero-width spaces. - When updating a metric, an empty query leaves the filter unchanged. - example: "@service:web-ui" - type: string + kind: + $ref: "#/components/schemas/RetryStrategyKind" + linear: + $ref: "#/components/schemas/RetryStrategyLinear" required: - - query + - kind + - linear type: object - RumMetricGroupBy: - description: A group by rule. + RetryStrategyKind: + description: The definition of `RetryStrategyKind` object. + enum: + - RETRY_STRATEGY_LINEAR + example: RETRY_STRATEGY_LINEAR + type: string + x-enum-varnames: + - RETRY_STRATEGY_LINEAR + RetryStrategyLinear: + additionalProperties: false + description: The definition of `RetryStrategyLinear` object. properties: - path: - description: The path of the RUM event attribute to group the metric by. - example: "@browser.name" - type: string - tag_name: - description: |- - Name of the tag that gets created on the metric. By default, `path` is used as the tag name. - It must be at most 200 characters long, start with a letter, and contain only lowercase letters, digits, underscores, hyphens, colons, periods, and slashes. - example: "browser_name" - maxLength: 200 + interval: + description: The `RetryStrategyLinear` `interval`. The expected format is the number of seconds ending with an s. For example, 1 day is 86400s + example: "" + pattern: ^[1-9][0-9]*s$ type: string + maxRetries: + description: The `RetryStrategyLinear` `maxRetries`. + example: 0 + format: int32 + maximum: 2147483647 + minimum: 0 + type: integer required: - - path + - interval + - maxRetries type: object - RumMetricID: - description: |- - The name of the RUM-based metric. - On creation, it must be 1 to 200 characters long, contain only ASCII letters, digits, underscores, and periods, start with a letter, and not start with `rum.measure` or `rum.investigate`. - It cannot be changed after creation. - example: "rum.sessions.webui.count" - maxLength: 200 + RevertCustomRuleRevisionDataType: + description: Request type + enum: [revert_custom_rule_revision_request] type: string - RumMetricResponse: - description: The RUM-based metric object. + x-enum-varnames: + - REVERT_CUSTOM_RULE_REVISION_REQUEST + RevertCustomRuleRevisionRequest: + description: Request body for reverting a custom rule to a previous revision. properties: data: - $ref: "#/components/schemas/RumMetricResponseData" - type: object - RumMetricResponseAttributes: - description: The object describing a Datadog RUM-based metric. - properties: - compute: - $ref: "#/components/schemas/RumMetricResponseCompute" - event_type: - $ref: "#/components/schemas/RumMetricEventType" - filter: - $ref: "#/components/schemas/RumMetricResponseFilter" - group_by: - description: The rules the metric is grouped by. An empty array is returned if the metric is not grouped. - items: - $ref: "#/components/schemas/RumMetricResponseGroupBy" - type: array - uniqueness: - $ref: "#/components/schemas/RumMetricResponseUniqueness" - type: object - RumMetricResponseCompute: - description: The compute rule of the RUM-based metric. - properties: - aggregation_type: - $ref: "#/components/schemas/RumMetricComputeAggregationType" - include_percentiles: - $ref: "#/components/schemas/RumMetricComputeIncludePercentiles" - path: - description: |- - The path of the numeric RUM event attribute the metric aggregates on. - Only present when `aggregation_type` is `distribution`. - example: "@duration" - type: string + $ref: "#/components/schemas/RevertCustomRuleRevisionRequestData" type: object - RumMetricResponseData: - description: The RUM-based metric properties. + RevertCustomRuleRevisionRequestData: + description: Data object for a request to revert a custom rule to a previous revision. properties: attributes: - $ref: "#/components/schemas/RumMetricResponseAttributes" + $ref: "#/components/schemas/RevertCustomRuleRevisionRequestDataAttributes" id: - $ref: "#/components/schemas/RumMetricID" - type: - $ref: "#/components/schemas/RumMetricType" - type: object - RumMetricResponseFilter: - description: The RUM-based metric filter. RUM events matching this filter are aggregated in this metric. Omitted if the metric only filters on the event type. - properties: - query: - description: The search query, following the [RUM search syntax](https://docs.datadoghq.com/real_user_monitoring/explorer/search_syntax/). It does not include the event type filter. - example: "service:web* AND @http.status_code:[200 TO 299]" - type: string - type: object - RumMetricResponseGroupBy: - description: A group by rule. - properties: - path: - description: The path of the RUM event attribute the metric is grouped by. - example: "@http.status_code" - type: string - tag_name: - description: Name of the tag created on the metric. By default, `path` is used as the tag name. - example: "status_code" + description: Request identifier type: string - type: object - RumMetricResponseUniqueness: - description: The rule to count updatable events. Only present if `event_type` is `session` or `view`, and absent on older metrics created before this setting existed. - properties: - when: - $ref: "#/components/schemas/RumMetricUniquenessWhen" - type: object - RumMetricType: - default: rum_metrics - description: The type of the resource. The value must be `rum_metrics`. - enum: - - rum_metrics - example: rum_metrics - type: string - x-enum-varnames: ["RUM_METRICS"] - RumMetricUniqueness: - description: |- - The rule to count updatable events. - Required when `event_type` is `session` or `view`, and must be omitted for other event types. It cannot be changed after creation. - properties: - when: - $ref: "#/components/schemas/RumMetricUniquenessWhen" - required: - - when - type: object - RumMetricUniquenessWhen: - description: When to count updatable events. `match` when the event is first seen, or `end` when the event is complete. Sessions and views are updated over time, and each one is counted once. - enum: ["match", "end"] - example: "match" - type: string - x-enum-varnames: ["WHEN_MATCH", "WHEN_END"] - RumMetricUpdateAttributes: - description: The RUM-based metric properties to update. Omitted properties keep their current value. - properties: - compute: - $ref: "#/components/schemas/RumMetricUpdateCompute" - filter: - $ref: "#/components/schemas/RumMetricFilter" - group_by: - description: The rules to group the metric by. When provided, replaces all the existing group by rules. - items: - $ref: "#/components/schemas/RumMetricGroupBy" - type: array - type: object - RumMetricUpdateCompute: - description: The compute rule properties that can be updated. Only valid for metrics whose `aggregation_type` is `distribution`. - properties: - include_percentiles: - $ref: "#/components/schemas/RumMetricComputeIncludePercentiles" - type: object - RumMetricUpdateData: - description: The RUM-based metric properties to update. `id` is required by the API and must match the `metric_id` path parameter. - properties: - attributes: - $ref: "#/components/schemas/RumMetricUpdateAttributes" - id: - $ref: "#/components/schemas/RumMetricID" type: - $ref: "#/components/schemas/RumMetricType" - required: - - type - - attributes - type: object - RumMetricUpdateRequest: - description: The RUM-based metric update body. - properties: - data: - $ref: "#/components/schemas/RumMetricUpdateData" - required: - - data - type: object - RumMetricsResponse: - description: All the available RUM-based metric objects. - properties: - data: - description: A list of RUM-based metric objects. - items: - $ref: "#/components/schemas/RumMetricResponseData" - type: array + $ref: "#/components/schemas/RevertCustomRuleRevisionDataType" type: object - RumPermanentRetentionFilterAttributes: - description: The attributes of a permanent RUM retention filter. + RevertCustomRuleRevisionRequestDataAttributes: + description: Attributes specifying the current and target revision IDs for a revert operation. properties: - cross_product_sampling: - $ref: "#/components/schemas/RumCrossProductSampling" - description: - description: A description of what the filter retains. - example: "All sessions generated by Synthetics are retained at 100%." + currentRevision: + description: Current revision ID type: string - editability: - $ref: "#/components/schemas/RumPermanentRetentionFilterEditability" - name: - description: The display name of the permanent retention filter. - example: "Synthetics Sessions" + revertToRevision: + description: Target revision ID to revert to type: string type: object - RumPermanentRetentionFilterData: - description: A permanent RUM retention filter. - properties: - attributes: - $ref: "#/components/schemas/RumPermanentRetentionFilterAttributes" - id: - $ref: "#/components/schemas/RumPermanentRetentionFilterID" - type: - $ref: "#/components/schemas/RumPermanentRetentionFilterType" - type: object - RumPermanentRetentionFilterEditability: - description: Indicates which cross-product fields of a permanent RUM retention filter can be updated. - properties: - trace_editable: - description: Whether the APM trace cross-product configuration of the filter can be updated. - example: true - type: boolean - type: object - RumPermanentRetentionFilterID: - description: The identifier of a permanent RUM retention filter. - enum: - - rum_apm_flat_sampling - - synthetics_sessions - - forced_replay_sessions - example: synthetics_sessions - type: string - x-enum-varnames: ["RUM_APM_FLAT_SAMPLING", "SYNTHETICS_SESSIONS", "FORCED_REPLAY_SESSIONS"] - RumPermanentRetentionFilterResponse: - description: A permanent RUM retention filter object. - properties: - data: - $ref: "#/components/schemas/RumPermanentRetentionFilterData" - type: object - RumPermanentRetentionFilterType: - default: permanent_retention_filters - description: The type of the resource. The value should always be `permanent_retention_filters`. - enum: - - permanent_retention_filters - example: permanent_retention_filters - type: string - x-enum-varnames: ["PERMANENT_RETENTION_FILTERS"] - RumPermanentRetentionFilterUpdateAttributes: - description: The configuration to update on a permanent RUM retention filter. - properties: - cross_product_sampling: - $ref: "#/components/schemas/RumCrossProductSamplingUpdate" - type: object - RumPermanentRetentionFilterUpdateData: - description: The new permanent RUM retention filter configuration to update. + Role: + description: Role object returned by the API. properties: attributes: - $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateAttributes" + $ref: "#/components/schemas/RoleAttributes" id: - $ref: "#/components/schemas/RumPermanentRetentionFilterID" + description: The unique identifier of the role. + type: string + relationships: + $ref: "#/components/schemas/RoleResponseRelationships" type: - $ref: "#/components/schemas/RumPermanentRetentionFilterType" + $ref: "#/components/schemas/RolesType" required: - - id - type - - attributes - type: object - RumPermanentRetentionFilterUpdateRequest: - description: The permanent RUM retention filter body to update. - properties: - data: - $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateData" - required: - - data - type: object - RumPermanentRetentionFiltersResponse: - description: All permanent RUM retention filters for a RUM application. - properties: - data: - description: A list of permanent RUM retention filters. - items: - $ref: "#/components/schemas/RumPermanentRetentionFilterData" - type: array - type: object - RumRecoveredSession: - description: Progress for one targeted session. - properties: - application_id: - description: Application UUID. - example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 - format: uuid - type: string - error_message: - description: Failure details, if present. - example: example - type: string - events_recovered: - description: Recovered event count. - example: 0 - format: int64 - minimum: 0 - type: integer - session_id: - description: Session identifier. - example: 00000000-0000-4000-8000-000000000001 - format: uuid - type: string - status: - $ref: "#/components/schemas/RumRecoverySessionStatus" - required: - - session_id - - application_id - - status - - events_recovered - type: object - RumRecoveryBatchCreateAttributes: - description: >- - Recover sessions selected by a query. The range cannot exceed 180 days; from cannot be more than 4 years ago and to cannot be more than 1 hour in the future. Session availability depends on the configured archive retention. - properties: - estimated_count: - description: >- - Optional client estimate. Creation validates and stores a fresh server estimate instead of this value. - example: 0 - format: int64 - minimum: 0 - type: integer - from: - description: Start of the range in Unix milliseconds. Must be positive and earlier than to. - example: 1789905600000 - format: int64 - minimum: 1 - type: integer - query: - description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. - example: service:web - type: string - request_type: - $ref: "#/components/schemas/RumRecoveryBatchRequestType" - to: - description: End of the range in Unix milliseconds. - example: 1789992000000 - format: int64 - minimum: 1 - type: integer - required: - - request_type - - query - - from - - to type: object - RumRecoveryBatchListAttributes: - description: >- - Batch recovery progress. Status updates can appear here before they appear in request details. + RoleAttributes: + additionalProperties: {} + description: Attributes of the role. properties: created_at: - description: Creation time. - example: "2026-09-21T12:00:00Z" + description: Creation time of the role. format: date-time + readOnly: true type: string - discovery_status: - $ref: "#/components/schemas/RumRecoveryDiscoveryStatus" - estimated_count: - description: >- - Batch estimate stored at creation, when present. New batches use a fresh server estimate; older batches may contain a client-supplied estimate. - example: 0 - format: int64 - minimum: 0 - type: integer - from: - description: Start of the range in Unix milliseconds. Must be positive and earlier than to. - example: 1789905600000 - format: int64 - minimum: 1 - type: integer - query: - description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. - example: service:web + modified_at: + description: Time of last role modification. + format: date-time + readOnly: true type: string - sessions_discovered: - description: Discovered sessions. - example: 0 - format: int64 - minimum: 0 - type: integer - sessions_failed: - description: Failed sessions. - example: 0 - format: int64 - minimum: 0 - type: integer - sessions_processed: - description: Processed sessions. - example: 0 - format: int64 - minimum: 0 - type: integer - slices_completed: - description: Completed slices. - example: 0 - format: int64 - minimum: 0 - type: integer - slices_failed: - description: Failed slices. - example: 0 - format: int64 - minimum: 0 - type: integer - status: - $ref: "#/components/schemas/RumRecoveryRequestStatus" - to: - description: End of the range in Unix milliseconds. - example: 1789992000000 - format: int64 - minimum: 1 - type: integer - total_slices: - description: Total discovery slices. - example: 0 + name: + description: The name of the role. The name is neither unique nor a stable identifier of the role. + type: string + receives_permissions_from: + description: |- + The managed role from which this role automatically inherits new permissions. + Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". + If empty or not specified, the role does not automatically inherit permissions from any managed role. + items: + description: Name of a managed role to inherit permissions from. + type: string + type: array + user_count: + description: Number of users with that role. format: int64 - minimum: 0 + readOnly: true type: integer - updated_at: - description: Last update time. - example: "2026-09-21T12:00:00Z" - format: date-time - type: string - required: - - status - - discovery_status - - created_at - - updated_at - - query - - from - - to - - total_slices - - slices_completed - - slices_failed - - sessions_discovered - - sessions_processed - - sessions_failed type: object - RumRecoveryBatchListData: - description: JSON:API resource. - properties: - attributes: - $ref: "#/components/schemas/RumRecoveryBatchListAttributes" - id: - description: Resource identifier. - example: 11111111-1111-4111-8111-111111111111 - type: string + RoleClone: + description: Data for the clone role request. + properties: + attributes: + $ref: "#/components/schemas/RoleCloneAttributes" type: - $ref: "#/components/schemas/RumRecoveryBatchListDataType" + $ref: "#/components/schemas/RolesType" required: - - id - type - attributes type: object - RumRecoveryBatchListDataType: - description: JSON:API resource type. - enum: - - rum_batch_recovery_request - example: rum_batch_recovery_request - type: string - x-enum-varnames: - - RUM_BATCH_RECOVERY_REQUEST - RumRecoveryBatchListMeta: - description: Batch-list pagination metadata. + RoleCloneAttributes: + description: Attributes required to create a new role by cloning an existing one. properties: - next_cursor: - description: Opaque next-page cursor. Omitted on the final page. - example: example + name: + description: Name of the new role that is cloned. + example: "cloned-role" type: string + receives_permissions_from: + description: |- + The managed role from which this role automatically inherits new permissions. + Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". + If empty or not specified, the role does not automatically inherit permissions from any managed role. + items: + description: Name of a managed role to inherit permissions from. + type: string + type: array + required: + - name type: object - RumRecoveryBatchListResponse: - description: JSON:API document. + RoleCloneRequest: + description: Request to create a role by cloning an existing role. properties: data: - description: >- - Batch requests ordered newest first. A filtered page can be empty while meta.next_cursor is present. - items: - $ref: "#/components/schemas/RumRecoveryBatchListData" - type: array - meta: - $ref: "#/components/schemas/RumRecoveryBatchListMeta" + $ref: "#/components/schemas/RoleClone" required: - data - - meta type: object - RumRecoveryBatchRequestType: - description: Query-based batch recovery. - enum: - - batch - example: batch - type: string - x-enum-varnames: - - BATCH - RumRecoveryCancelAttributes: - description: Batch cancellation. + RoleCreateAttributes: + description: Attributes of the created role. properties: - status: - $ref: "#/components/schemas/RumRecoveryCancelStatus" + created_at: + description: Creation time of the role. + format: date-time + readOnly: true + type: string + default_permissions_opt_out: + description: |- + Whether to exclude restricted default permissions from this role. + Restricted default permissions are automatically assigned to every role by default. Set this field to `true` to exclude them. + Some of these permissions can only be excluded after Minimal Access Roles is enabled for the organization. + type: boolean + modified_at: + description: Time of last role modification. + format: date-time + readOnly: true + type: string + name: + description: Name of the role. + example: developers + type: string + receives_permissions_from: + description: |- + The managed role from which this role automatically inherits new permissions. + Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". + If empty or not specified, the role does not automatically inherit permissions from any managed role. + items: + description: Name of a managed role to inherit permissions from. + type: string + type: array required: - - status + - name type: object - RumRecoveryCancelData: - description: JSON:API resource. + RoleCreateData: + description: Data related to the creation of a role. properties: attributes: - $ref: "#/components/schemas/RumRecoveryCancelAttributes" - id: - description: >- - Optional resource identifier. - example: 11111111-1111-4111-8111-111111111111 - type: string + $ref: "#/components/schemas/RoleCreateAttributes" + relationships: + $ref: "#/components/schemas/RoleRelationships" type: - description: >- - JSON:API resource type. - example: rum_recovery_request - type: string + $ref: "#/components/schemas/RolesType" required: - attributes type: object - RumRecoveryCancelRequest: - description: JSON:API document. + RoleCreateRequest: + description: Create a role. properties: data: - $ref: "#/components/schemas/RumRecoveryCancelData" + $ref: "#/components/schemas/RoleCreateData" required: - data type: object - RumRecoveryCancelResponse: - description: JSON:API document. + RoleCreateResponse: + description: Response containing information about a created role. properties: data: - $ref: "#/components/schemas/RumRecoveryCancelResponseData" - required: - - data - type: object - RumRecoveryCancelResponseAttributes: - description: >- - Batch cancellation acknowledgment. - properties: - cancelled_at: - description: Cancellation time. - example: "2026-09-21T12:00:00Z" - format: date-time - type: string - cancelled_by: - description: Handle of the user who canceled the batch. - example: user@example.com - type: string - discovery_status: - $ref: "#/components/schemas/RumRecoveryDiscoveryStatus" - required: - - discovery_status - - cancelled_at - - cancelled_by + $ref: "#/components/schemas/RoleCreateResponseData" type: object - RumRecoveryCancelResponseData: - description: JSON:API resource. + RoleCreateResponseData: + description: Role object returned by the API. properties: attributes: - $ref: "#/components/schemas/RumRecoveryCancelResponseAttributes" + $ref: "#/components/schemas/RoleCreateAttributes" id: - description: Resource identifier. - example: 11111111-1111-4111-8111-111111111111 + description: The unique identifier of the role. type: string + relationships: + $ref: "#/components/schemas/RoleResponseRelationships" type: - $ref: "#/components/schemas/RumRecoveryRequestType" + $ref: "#/components/schemas/RolesType" required: - - id - type - - attributes type: object - RumRecoveryCancelStatus: - description: Requested cancellation state. - enum: - - cancelled - example: cancelled - type: string - x-enum-varnames: - - CANCELLED - RumRecoveryCountAttributes: - description: >- - Query for a recovery estimate. The range cannot exceed 180 days; from cannot be more than 4 years ago and to cannot be more than 1 hour in the future. Session availability depends on the configured archive retention. + RoleRelationships: + description: Relationships of the role object. properties: - from: - description: Start of the range in Unix milliseconds. Must be positive and earlier than to. - example: 1789905600000 - format: int64 - minimum: 1 - type: integer - query: - description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. - example: service:web - type: string - to: - description: End of the range in Unix milliseconds. - example: 1789992000000 - format: int64 - minimum: 1 - type: integer - required: - - query - - from - - to + permissions: + $ref: "#/components/schemas/RelationshipToPermissions" type: object - RumRecoveryCountRequest: - description: JSON:API document. + RoleResponse: + description: Response containing information about a single role. properties: data: - $ref: "#/components/schemas/RumRecoveryCountRequestData" + $ref: "#/components/schemas/Role" + type: object + RoleResponseRelationships: + description: Relationships of the role object returned by the API. + properties: + permissions: + $ref: "#/components/schemas/RelationshipToPermissions" + type: object + RoleTemplateArray: + description: The definition of `RoleTemplateArray` object. + properties: + data: + description: The `RoleTemplateArray` `data`. + items: + $ref: "#/components/schemas/RoleTemplateData" + type: array required: - data type: object - RumRecoveryCountRequestData: - description: JSON:API resource. + RoleTemplateData: + description: The definition of `RoleTemplateData` object. properties: attributes: - $ref: "#/components/schemas/RumRecoveryCountAttributes" + $ref: "#/components/schemas/RoleTemplateDataAttributes" id: - description: >- - Optional resource identifier. - example: 11111111-1111-4111-8111-111111111111 + description: The `RoleTemplateData` `id`. type: string + relationships: + $ref: "#/components/schemas/RoleResponseRelationships" type: - description: >- - JSON:API resource type. - example: rum_recovery_count - type: string + $ref: "#/components/schemas/RoleTemplateDataType" required: - - attributes + - type type: object - RumRecoveryCountResponse: - description: JSON:API document. + RoleTemplateDataAttributes: + description: The definition of `RoleTemplateDataAttributes` object. properties: - data: - $ref: "#/components/schemas/RumRecoveryCountResponseData" - required: - - data + description: + description: The `attributes` `description`. + type: string + name: + description: The `attributes` `name`. + type: string type: object - RumRecoveryCountResponseAttributes: - description: Approximate recoverable count. + RoleTemplateDataType: + default: roles + description: Roles resource type. + enum: + - roles + example: roles + type: string + x-enum-varnames: + - ROLES + RoleUpdateAttributes: + description: Attributes of the role. properties: - estimated_count: - description: >- - Estimated distinct recoverable sessions not already retained in hot storage. The full estimate is returned without capping it at max_recoverable_sessions. - example: 0 + created_at: + description: Creation time of the role. + format: date-time + readOnly: true + type: string + default_permissions_opt_out: + description: |- + Whether to exclude restricted default permissions from this role. + Restricted default permissions are automatically assigned to every role by default. Set this field to `true` to exclude them. + Some of these permissions can only be excluded after Minimal Access Roles is enabled for the organization. + type: boolean + modified_at: + description: Time of last role modification. + format: date-time + readOnly: true + type: string + name: + description: Name of the role. + type: string + receives_permissions_from: + description: |- + The managed role from which this role automatically inherits new permissions. + Specify one of the following: "Datadog Admin Role", "Datadog Standard Role", or "Datadog Read Only Role". + If empty or not specified, the role does not automatically inherit permissions from any managed role. + items: + description: Name of a managed role to inherit permissions from. + type: string + type: array + team_count: + description: Number of teams with that role. format: int64 - minimum: 0 + readOnly: true type: integer - max_recoverable_sessions: - description: >- - Configured maximum estimated recoverable sessions per batch (100,000 by default). Estimates equal to this value are accepted at creation. - example: 100000 - format: int64 + user_count: + description: The user count. + format: int32 maximum: 2147483647 - minimum: 1 type: integer - required: - - estimated_count - - max_recoverable_sessions type: object - RumRecoveryCountResponseData: - description: JSON:API resource. + RoleUpdateData: + description: Data related to the update of a role. properties: attributes: - $ref: "#/components/schemas/RumRecoveryCountResponseAttributes" + $ref: "#/components/schemas/RoleUpdateAttributes" id: - description: Resource identifier. - example: count + description: The unique identifier of the role. + example: "00000000-0000-1111-0000-000000000000" type: string + relationships: + $ref: "#/components/schemas/RoleRelationships" type: - $ref: "#/components/schemas/RumRecoveryCountResponseDataType" + $ref: "#/components/schemas/RolesType" required: - - id - - type - attributes + - type + - id type: object - RumRecoveryCountResponseDataType: - description: JSON:API resource type. - enum: - - rum_recovery_count - example: rum_recovery_count - type: string - x-enum-varnames: - - RUM_RECOVERY_COUNT - RumRecoveryCreateAttributes: - description: Targeted recovery (the default) or query-based batch recovery. - oneOf: - - $ref: "#/components/schemas/RumRecoverySessionsCreateAttributes" - - $ref: "#/components/schemas/RumRecoveryBatchCreateAttributes" - RumRecoveryCreateData: - description: JSON:API resource. + RoleUpdateRequest: + description: Update a role. properties: - attributes: - $ref: "#/components/schemas/RumRecoveryCreateAttributes" - type: - description: >- - JSON:API resource type. - example: rum_recovery_request - type: string + data: + $ref: "#/components/schemas/RoleUpdateData" required: - - attributes + - data type: object - RumRecoveryCreateRequest: - description: JSON:API document. + RoleUpdateResponse: + description: Response containing information about an updated role. properties: data: - $ref: "#/components/schemas/RumRecoveryCreateData" + $ref: "#/components/schemas/RoleUpdateResponseData" + type: object + RoleUpdateResponseData: + description: Role object returned by the API. + properties: + attributes: + $ref: "#/components/schemas/RoleUpdateAttributes" + id: + description: The unique identifier of the role. + type: string + relationships: + $ref: "#/components/schemas/RoleResponseRelationships" + type: + $ref: "#/components/schemas/RolesType" required: - - data + - type type: object - RumRecoveryCreateResponse: - description: JSON:API document. + RolesResponse: + description: Response containing information about multiple roles. properties: data: - $ref: "#/components/schemas/RumRecoveryCreateResponseData" - required: - - data + description: Array of returned roles. + items: + $ref: "#/components/schemas/Role" + type: array + meta: + $ref: "#/components/schemas/ResponseMetaAttributes" type: object - RumRecoveryCreateResponseAttributes: - description: Accepted recovery request. + RolesSort: + default: name + description: Sorting options for roles. + enum: + - name + - -name + - modified_at + - -modified_at + - user_count + - -user_count + type: string + x-enum-varnames: + - NAME_ASCENDING + - NAME_DESCENDING + - MODIFIED_AT_ASCENDING + - MODIFIED_AT_DESCENDING + - USER_COUNT_ASCENDING + - USER_COUNT_DESCENDING + RolesType: + default: roles + description: Roles type. + enum: + - roles + example: roles + type: string + x-enum-varnames: + - ROLES + RolloutOptions: + description: Applied progression options for a progressive rollout. properties: - created_at: - description: Creation time. - example: "2026-09-21T12:00:00Z" - format: date-time - type: string - discovery_status: - $ref: "#/components/schemas/RumRecoveryDiscoveryStatus" - estimated_count: - description: >- - Batch estimate stored at creation, when present. New batches use a fresh server estimate; older batches may contain a client-supplied estimate. - example: 0 - format: int64 - minimum: 0 - type: integer - failed_sessions: - description: Failed session count. - example: 0 - format: int64 - minimum: 0 - type: integer - processed_sessions: - description: Processed session count. - example: 0 + autostart: + description: Whether the schedule starts automatically. + example: false + type: boolean + selection_interval_ms: + description: Interval in milliseconds for uniform interval strategies. + example: 3600000 format: int64 - minimum: 0 type: integer - status: - $ref: "#/components/schemas/RumRecoveryRequestStatus" - total_sessions: - description: Total targeted sessions. Omitted while a batch total is unknown. - example: 0 + strategy: + $ref: "#/components/schemas/RolloutStrategy" + required: + - strategy + - autostart + - selection_interval_ms + type: object + RolloutOptionsRequest: + description: Rollout options request payload. + properties: + autostart: + description: Whether the schedule should begin automatically. + example: false + nullable: true + type: boolean + selection_interval_ms: + description: Interval in milliseconds for uniform interval strategies. + example: 3600000 format: int64 - minimum: 0 type: integer + strategy: + $ref: "#/components/schemas/RolloutStrategy" required: - - status - - processed_sessions - - failed_sessions - - created_at + - strategy type: object - RumRecoveryCreateResponseData: - description: JSON:API resource. + RolloutStrategy: + description: The progression strategy used by a progressive rollout. + enum: + - UNIFORM_INTERVALS + - NO_ROLLOUT + example: "UNIFORM_INTERVALS" + type: string + x-enum-varnames: + - UNIFORM_INTERVALS + - NO_ROLLOUT + RoutingRule: + description: Represents a routing rule, including its attributes, relationships, and unique identifier. properties: attributes: - $ref: "#/components/schemas/RumRecoveryCreateResponseAttributes" + $ref: "#/components/schemas/RoutingRuleAttributes" id: - description: Resource identifier. - example: 11111111-1111-4111-8111-111111111111 + description: Specifies the unique identifier of this routing rule. type: string + relationships: + $ref: "#/components/schemas/RoutingRuleRelationships" type: - $ref: "#/components/schemas/RumRecoveryRequestType" + $ref: "#/components/schemas/RoutingRuleType" required: - - id - type - - attributes type: object - RumRecoveryDiscoveryStatus: - description: Batch discovery state. QUEUED indicates that the request is waiting for processing capacity. - enum: - - QUEUED - - PENDING - - SLICING - - DISCOVERED - - PROCESSING - - COMPLETED - - FAILED - - CANCELLED - example: QUEUED - type: string - x-enum-varnames: - - QUEUED - - PENDING - - SLICING - - DISCOVERED - - PROCESSING - - COMPLETED - - FAILED - - CANCELLED - RumRecoveryRequestAttributes: - description: >- - Recovery progress. Batch-only attributes are omitted for targeted requests; request_type is also omitted for targeted requests. + RoutingRuleAction: + description: "Defines an action that is executed when a routing rule matches certain criteria." + oneOf: + - $ref: "#/components/schemas/SendSlackMessageAction" + - $ref: "#/components/schemas/SendTeamsMessageAction" + - $ref: "#/components/schemas/TriggerWorkflowAutomationAction" + - $ref: "#/components/schemas/RoutingRuleEscalationPolicyAction" + - $ref: "#/components/schemas/RoutingRuleRerouteToTeamAction" + RoutingRuleAttributes: + description: Defines the configurable attributes of a routing rule, such as actions, query, time restriction, and urgency. properties: - created_at: - description: Creation time. - example: "2026-09-21T12:00:00Z" - format: date-time - type: string - discovery_status: - $ref: "#/components/schemas/RumRecoveryDiscoveryStatus" - error_message: - description: Failure details, if present. - example: example - type: string - estimated_count: - description: >- - Batch estimate stored at creation, when present. New batches use a fresh server estimate; older batches may contain a client-supplied estimate. - example: 0 - format: int64 - minimum: 0 - type: integer - failed_sessions: - description: Failed session count. - example: 0 - format: int64 - minimum: 0 - type: integer - from: - description: Start of the range in Unix milliseconds. Must be positive and earlier than to. - example: 1789905600000 - format: int64 - minimum: 1 - type: integer - processed_sessions: - description: Processed session count. - example: 0 - format: int64 - minimum: 0 - type: integer - query: - description: RUM search query. Not blank, at most 4096 bytes for batch creation and count. - example: service:web - type: string - request_type: - $ref: "#/components/schemas/RumRecoveryBatchRequestType" - sessions: - description: Targeted session progress. Omitted when empty or not applicable. + actions: + description: Specifies the list of actions to perform when the routing rule matches. items: - $ref: "#/components/schemas/RumRecoveredSession" + $ref: "#/components/schemas/RoutingRuleAction" type: array - sessions_discovered: - description: Discovered sessions. - example: 0 - format: int64 - minimum: 0 - type: integer - sessions_failed: - description: Failed sessions. - example: 0 - format: int64 - minimum: 0 - type: integer - sessions_processed: - description: Processed sessions. - example: 0 - format: int64 - minimum: 0 - type: integer - slices_completed: - description: Completed slices. - example: 0 - format: int64 - minimum: 0 - type: integer - slices_failed: - description: Failed slices. - example: 0 - format: int64 - minimum: 0 - type: integer - status: - $ref: "#/components/schemas/RumRecoveryRequestStatus" - to: - description: End of the range in Unix milliseconds. - example: 1789992000000 - format: int64 - minimum: 1 - type: integer - total_sessions: - description: Total targeted sessions. Omitted while a batch total is unknown. - example: 0 - format: int64 - minimum: 0 - type: integer - total_slices: - description: Total discovery slices. - example: 0 - format: int64 - minimum: 0 - type: integer - updated_at: - description: Last update time. - example: "2026-09-21T12:00:00Z" - format: date-time + query: + description: Defines the query or condition that triggers this routing rule. type: string - required: - - status - - processed_sessions - - failed_sessions - - created_at - - updated_at + time_restriction: + $ref: "#/components/schemas/TimeRestrictions" + nullable: true + urgency: + $ref: "#/components/schemas/Urgency" type: object - RumRecoveryRequestData: - description: JSON:API resource. + RoutingRuleEscalationPolicyAction: + description: "Triggers an escalation policy." properties: - attributes: - $ref: "#/components/schemas/RumRecoveryRequestAttributes" - id: - description: Resource identifier. - example: 11111111-1111-4111-8111-111111111111 + ack_timeout_minutes: + description: "The number of minutes before an acknowledged Page is re-triggered." + example: 30 + format: int64 + type: integer + policy_id: + description: "The ID of the escalation policy to route to." + example: "00000000-0000-0000-0000-000000000000" type: string + support_hours: + $ref: "#/components/schemas/RoutingRuleEscalationPolicyActionSupportHours" type: - $ref: "#/components/schemas/RumRecoveryRequestType" + $ref: "#/components/schemas/RoutingRuleEscalationPolicyActionType" + urgency: + $ref: "#/components/schemas/Urgency" required: - - id - type - - attributes + - policy_id type: object - RumRecoveryRequestResponse: - description: JSON:API document. + RoutingRuleEscalationPolicyActionSupportHours: + description: "Support hours during which the escalation policy will be executed. Outside of these hours, the escalation policy will be on hold and triggered once the next support hours window starts. This is mutually exclusive with the top-level `time_restriction` field on the routing rule." properties: - data: - $ref: "#/components/schemas/RumRecoveryRequestData" + restrictions: + description: "The list of support hours time windows." + items: + $ref: "#/components/schemas/TimeRestriction" + type: array + time_zone: + description: "The time zone in which the support hours are expressed." + example: "" + type: string required: - - data + - time_zone type: object - RumRecoveryRequestStatus: - description: >- - Recovery request state. + RoutingRuleEscalationPolicyActionType: + default: escalation_policy + description: "Indicates that the action pages an escalation policy. This action can be set once per routing rule item, and is mutually exclusive with the top-level `policy_id` field on the routing rule." enum: - - PENDING - - PROCESSING - - COMPLETED - - FAILED - - CANCELLED - - EXPIRED - example: PENDING + - escalation_policy + example: escalation_policy type: string x-enum-varnames: - - PENDING - - PROCESSING - - COMPLETED - - FAILED - - CANCELLED - - EXPIRED - RumRecoveryRequestType: - description: JSON:API resource type. + - ESCALATION_POLICY + RoutingRuleRelationships: + description: Specifies relationships for a routing rule, linking to associated policy resources. + properties: + policy: + $ref: "#/components/schemas/RoutingRuleRelationshipsPolicy" + type: object + RoutingRuleRelationshipsPolicy: + description: Defines the relationship that links a routing rule to a policy. + properties: + data: + $ref: "#/components/schemas/RoutingRuleRelationshipsPolicyData" + nullable: true + type: object + RoutingRuleRelationshipsPolicyData: + description: Represents the policy data reference, containing the policy's ID and resource type. + properties: + id: + description: Specifies the unique identifier of the policy. + example: "" + type: string + type: + $ref: "#/components/schemas/RoutingRuleRelationshipsPolicyDataType" + required: + - type + - id + type: object + RoutingRuleRelationshipsPolicyDataType: + default: policies + description: "Indicates that the resource is of type `policies`." enum: - - rum_recovery_request - example: rum_recovery_request + - policies + example: policies type: string x-enum-varnames: - - RUM_RECOVERY_REQUEST - RumRecoverySessionInput: - description: Archived session to recover. + - POLICIES + RoutingRuleRerouteToTeamAction: + description: "Reroutes the Page to another team, which then evaluates it against its own routing rules. Each routing rule can include this action only once. It can be combined only with `send_slack_message` and `send_teams_message` actions. It can't be used with `escalation_policy` or `workflow` actions, or when the routing rule sets `policy_id`." properties: - application_id: - description: Application UUID. - example: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 - format: uuid - type: string - session_id: - description: Session UUID. - example: 00000000-0000-4000-8000-000000000001 + destination_team_id: + description: "The ID of the team to reroute the Page to." + example: "00000000-0000-0000-0000-000000000000" format: uuid type: string + type: + $ref: "#/components/schemas/RoutingRuleRerouteToTeamActionType" required: - - application_id - - session_id + - type + - destination_team_id type: object - RumRecoverySessionStatus: - description: >- - Session availability or recovery state. `RECOVERED` indicates that the session is ready to query. + RoutingRuleRerouteToTeamActionType: + default: reroute_to_team + description: "Indicates that the action reroutes the Page to another team's routing rules." enum: - - AVAILABLE - - PENDING - - PROCESSING - - RECOVERED - - FAILED - - RETAINED - - EXPIRED - - CANCELLED - example: AVAILABLE + - reroute_to_team + example: reroute_to_team type: string x-enum-varnames: - - AVAILABLE - - PENDING - - PROCESSING - - RECOVERED - - FAILED - - RETAINED - - EXPIRED - - CANCELLED - RumRecoverySessionsCreateAttributes: - description: Recover 1 to 100 explicit archived sessions. Session IDs must be unique within the request. - properties: - request_type: - $ref: "#/components/schemas/RumRecoverySessionsRequestType" - sessions: - description: Sessions to recover. - items: - $ref: "#/components/schemas/RumRecoverySessionInput" - maxItems: 100 - minItems: 1 - type: array - required: - - sessions - type: object - RumRecoverySessionsRequestType: - default: sessions - description: Targeted recovery. Omitted request_type defaults to sessions. + - REROUTE_TO_TEAM + RoutingRuleType: + default: team_routing_rules + description: Team routing rules resource type. enum: - - sessions - example: sessions + - team_routing_rules + example: team_routing_rules type: string x-enum-varnames: - - SESSIONS - RumRetentionFilterAttributes: - description: The object describing attributes of a RUM retention filter. + - TEAM_ROUTING_RULES + RuleAttributes: + description: Details of a rule. properties: - cross_product_sampling: - $ref: "#/components/schemas/RumCrossProductSampling" + category: + deprecated: true + description: The scorecard name to which this rule must belong. + type: string + created_at: + description: Creation time of the rule outcome. + format: date-time + type: string + custom: + description: Defines if the rule is a custom rule. + type: boolean + description: + description: Explanation of the rule. + type: string enabled: - $ref: "#/components/schemas/RumRetentionFilterEnabled" - event_type: - $ref: "#/components/schemas/RumRetentionFilterEventType" + description: If enabled, the rule is calculated as part of the score. + example: true + type: boolean + level: + $ref: "#/components/schemas/RuleLevel" + modified_at: + description: Time of the last rule outcome modification. + format: date-time + type: string name: - $ref: "#/components/schemas/RunRetentionFilterName" - query: - $ref: "#/components/schemas/RumRetentionFilterQuery" - sample_rate: - $ref: "#/components/schemas/RumRetentionFilterSampleRate" - track: - $ref: "#/components/schemas/RumRetentionFilterTrack" + description: Name of the rule. + example: Team Defined + type: string + owner: + description: Owner of the rule. + type: string + scope_query: + description: A query to filter which entities this rule applies to. + example: "kind:service" + type: string + scorecard_name: + description: The scorecard name to which this rule must belong. + example: Deployments automated via Deployment Trains + type: string type: object - RumRetentionFilterCreateAttributes: - description: The object describing attributes of a RUM retention filter to create. + RuleAttributesRequest: + description: Attributes for creating or updating a rule. Server-managed fields (created_at, modified_at, custom) are excluded. properties: - cross_product_sampling: - $ref: "#/components/schemas/RumCrossProductSamplingCreate" + description: + description: Explanation of the rule. + type: string enabled: - $ref: "#/components/schemas/RumRetentionFilterEnabled" - event_type: - $ref: "#/components/schemas/RumRetentionFilterEventType" + description: If enabled, the rule is calculated as part of the score. + example: true + type: boolean + level: + $ref: "#/components/schemas/RuleLevel" name: - $ref: "#/components/schemas/RunRetentionFilterName" - query: - $ref: "#/components/schemas/RumRetentionFilterQuery" - sample_rate: - $ref: "#/components/schemas/RumRetentionFilterSampleRate" + description: Name of the rule. + example: Team Defined + type: string + owner: + description: Owner of the rule. + type: string + scope_query: + description: A query to filter which entities this rule applies to. + example: "kind:service" + type: string + scorecard_name: + description: The scorecard name to which this rule must belong. + example: Deployments automated via Deployment Trains + type: string + type: object + RuleBasedViewAttributes: + description: Attributes of the rule-based view. + properties: + count: + description: Total number of rules in the view. + example: 1 + format: int64 + type: integer + rules: + $ref: "#/components/schemas/RuleBasedViewRules" required: - - event_type - - name - - sample_rate + - count + - rules type: object - RumRetentionFilterCreateData: - description: The new RUM retention filter properties to create. + RuleBasedViewComplianceFramework: + description: Compliance framework mapping for a rule. + properties: + control: + description: Identifier of the control inside the requirement. + example: 164.308-a-4-i + type: string + framework: + description: Handle of the compliance framework. + example: hipaa + type: string + is_default: + description: Whether the framework is a Datadog default framework. `true` indicates a Datadog framework and `false` indicates a custom framework. + example: true + type: boolean + message: + description: Optional message describing the framework mapping for the rule. + example: "" + type: string + requirement: + description: Name of the requirement that contains the control. + example: Information-Access-Management + type: string + version: + description: Version of the compliance framework. + example: "1" + type: string + type: object + RuleBasedViewComplianceFrameworks: + description: List of compliance framework mappings associated with the rule. + items: + $ref: "#/components/schemas/RuleBasedViewComplianceFramework" + type: array + RuleBasedViewData: + description: Data envelope for the rule-based view response. properties: attributes: - $ref: "#/components/schemas/RumRetentionFilterCreateAttributes" + $ref: "#/components/schemas/RuleBasedViewAttributes" + id: + description: Unique identifier of the rule-based view document. + example: JSONAPI_USELESS_ID + type: string type: - $ref: "#/components/schemas/RumRetentionFilterType" + $ref: "#/components/schemas/RuleBasedViewType" required: - - type - attributes + - id + - type type: object - RumRetentionFilterCreateRequest: - description: The RUM retention filter body to create. + RuleBasedViewResourceAttributes: + description: List of resource attribute names exposed by the rule. + example: + - instance_id + items: + description: Name of a resource attribute exposed by the rule. + example: instance_id + type: string + type: array + RuleBasedViewResponse: + description: Response containing an aggregated view of compliance rules with their finding statistics. properties: data: - $ref: "#/components/schemas/RumRetentionFilterCreateData" + $ref: "#/components/schemas/RuleBasedViewData" required: - data type: object - RumRetentionFilterData: - description: The RUM retention filter. + RuleBasedViewRule: + description: A compliance rule along with its evaluation statistics and framework mappings. properties: - attributes: - $ref: "#/components/schemas/RumRetentionFilterAttributes" + compliance_frameworks: + $ref: "#/components/schemas/RuleBasedViewComplianceFrameworks" + enabled: + description: Whether the rule is enabled. + example: true + type: boolean id: - $ref: "#/components/schemas/RumRetentionFilterID" - meta: - $ref: "#/components/schemas/RumRetentionFilterMeta" + description: Unique identifier of the rule. + example: qjx-udx-xo8 + type: string + name: + description: Human-readable name of the rule. + example: IAM roles should not allow untrusted GitHub Actions to assume them + type: string + resourceAttributes: + $ref: "#/components/schemas/RuleBasedViewResourceAttributes" + resourceCategory: + description: Resource category targeted by the rule. + example: identity + type: string + resourceType: + description: Resource type targeted by the rule. + example: aws_iam_role + type: string + stats: + $ref: "#/components/schemas/RuleBasedViewRuleStats" + status: + description: Severity associated with the rule (for example, `info`, `low`, `medium`, `high`, or `critical`). + example: critical + type: string + tags: + $ref: "#/components/schemas/RuleBasedViewRuleTags" type: - $ref: "#/components/schemas/RumRetentionFilterType" + $ref: "#/components/schemas/RuleBasedViewRuleCategory" + required: + - compliance_frameworks + - enabled + - id + - name + - resourceAttributes + - resourceCategory + - resourceType + - stats + - status + - tags + - type type: object - RumRetentionFilterEditionMode: - description: |- - The types of changes the retention filter accepts. `complete` filters can be updated and deleted. - `limited` filters are default retention filters that can't be deleted. + RuleBasedViewRuleCategory: + description: The category of the security rule. enum: - - unknown - - complete - - limited - example: complete + - cloud_configuration + - infrastructure_configuration + - api_security + example: cloud_configuration + type: string + x-enum-varnames: + - CLOUD_CONFIGURATION + - INFRASTRUCTURE_CONFIGURATION + - API_SECURITY + RuleBasedViewRuleStats: + description: Counts of findings for the rule, grouped by their evaluation status. + properties: + fail: + description: Number of findings that failed evaluation. + example: 0 + format: int64 + type: integer + muted: + description: Number of findings that have been muted. + example: 0 + format: int64 + type: integer + pass: + description: Number of findings that passed evaluation. + example: 3 + format: int64 + type: integer + required: + - fail + - pass + - muted + type: object + RuleBasedViewRuleTags: + description: List of tags attached to the rule. + example: + - security:compliance + items: + description: A tag attached to the rule. + example: security:compliance + type: string + type: array + RuleBasedViewRules: + description: List of rules in the rule-based view. + items: + $ref: "#/components/schemas/RuleBasedViewRule" + type: array + RuleBasedViewType: + default: rule_based_view + description: The type of the resource. The value should always be `rule_based_view`. + enum: + - rule_based_view + example: rule_based_view type: string x-enum-varnames: - - UNKNOWN - - COMPLETE - - LIMITED - RumRetentionFilterEnabled: - description: Whether the retention filter is enabled. - example: true - type: boolean - RumRetentionFilterEventType: - description: The type of RUM events to filter on. - enum: ["session", "view", "action", "error", "resource", "long_task", "vital"] - example: "session" + - RULE_BASED_VIEW + RuleId: + description: The unique ID for a scorecard rule. + example: q8MQxk8TCqrHnWkx type: string - x-enum-varnames: ["SESSION", "VIEW", "ACTION", "ERROR", "RESOURCE", "LONG_TASK", "VITAL"] - RumRetentionFilterID: - description: ID of retention filter in UUID. - example: "051601eb-54a0-abc0-03f9-cc02efa18892" + RuleLevel: + description: The maturity level of the rule (1, 2, or 3). + example: 2 + format: int32 + maximum: 3 + minimum: 1 + type: integer + RuleName: + description: Name of the notification rule. + example: Rule 1 type: string - RumRetentionFilterMeta: - description: Metadata about the retention filter. + RuleOutcomeRelationships: + description: The JSON:API relationship to a scorecard rule. properties: - edition_mode: - $ref: "#/components/schemas/RumRetentionFilterEditionMode" - source: - $ref: "#/components/schemas/RumRetentionFilterMetaSource" - updated_at: - description: The time of the last update, as a Unix timestamp in milliseconds. - example: 1735689600000 - format: int64 - type: integer - updated_by_handle: - description: The handle of the user who last updated the retention filter. - example: jane.doe@example.com - type: string + rule: + $ref: "#/components/schemas/RelationshipToOutcome" type: object - RumRetentionFilterMetaSource: - description: The source of the last update to the retention filter. The value is `unknown` if the request doesn't specify a source. + RuleSeverity: + description: Severity of a security rule. enum: - - default - - ui - - terraform + - critical + - high + - medium + - low - unknown - example: ui + - info + example: critical type: string x-enum-varnames: - - DEFAULT - - UI - - TERRAFORM + - CRITICAL + - HIGH + - MEDIUM + - LOW - UNKNOWN - RumRetentionFilterQuery: - description: The query string for a RUM retention filter. - example: "@session.has_replay:true" - type: string - RumRetentionFilterResponse: - description: The RUM retention filter object. - properties: - data: - $ref: "#/components/schemas/RumRetentionFilterData" - type: object - RumRetentionFilterSampleRate: - description: The sample rate for a RUM retention filter, between 0.1 and 100. Values are truncated to one decimal place. - example: 50.5 - format: double - maximum: 100 - minimum: 0.1 - type: number - RumRetentionFilterTrack: - description: The product whose events the retention filter applies to. + - INFO + RuleType: + default: rule + description: The JSON:API type for scorecard rules. enum: - - rum - - product_analytics - example: rum + - rule + example: rule type: string x-enum-varnames: - - RUM - - PRODUCT_ANALYTICS - RumRetentionFilterType: - default: retention_filters - description: The type of the resource. The value should always be retention_filters. + - RULE + RuleTypes: + description: Security rule types used as filters in security rules. + example: [misconfiguration, attack_path] + items: + $ref: "#/components/schemas/RuleTypesItems" + type: array + RuleTypesItems: + description: |- + Security rule type which can be used in security rules. + Signal-based notification rules can filter signals based on rule types application_security, log_detection, + workload_security, signal_correlation, cloud_configuration and infrastructure_configuration. + Vulnerability-based notification rules can filter vulnerabilities based on rule types application_code_vulnerability, + application_library_vulnerability, attack_path, container_image_vulnerability, identity_risk, misconfiguration, + api_security, host_vulnerability, iac_misconfiguration, sast_vulnerability, secret_vulnerability, workload_activity, + sensitive_data and serverless_function_code_vulnerability. enum: - - retention_filters - example: retention_filters + - application_security + - log_detection + - workload_security + - signal_correlation + - cloud_configuration + - infrastructure_configuration + - application_code_vulnerability + - application_library_vulnerability + - attack_path + - container_image_vulnerability + - identity_risk + - misconfiguration + - api_security + - host_vulnerability + - iac_misconfiguration + - sast_vulnerability + - secret_vulnerability + - workload_activity + - sensitive_data + - serverless_function_code_vulnerability + example: log_detection type: string - x-enum-varnames: ["RETENTION_FILTERS"] - RumRetentionFilterUpdateAttributes: - description: The object describing attributes of a RUM retention filter to update. + x-enum-varnames: + - APPLICATION_SECURITY + - LOG_DETECTION + - WORKLOAD_SECURITY + - SIGNAL_CORRELATION + - CLOUD_CONFIGURATION + - INFRASTRUCTURE_CONFIGURATION + - APPLICATION_CODE_VULNERABILITY + - APPLICATION_LIBRARY_VULNERABILITY + - ATTACK_PATH + - CONTAINER_IMAGE_VULNERABILITY + - IDENTITY_RISK + - MISCONFIGURATION + - API_SECURITY + - HOST_VULNERABILITY + - IAC_MISCONFIGURATION + - SAST_VULNERABILITY + - SECRET_VULNERABILITY + - WORKLOAD_ACTIVITY + - SENSITIVE_DATA + - SERVERLESS_FUNCTION_CODE_VULNERABILITY + RuleUser: + description: User creating or modifying a rule. properties: - cross_product_sampling: - $ref: "#/components/schemas/RumCrossProductSamplingUpdate" - enabled: - $ref: "#/components/schemas/RumRetentionFilterEnabled" - event_type: - $ref: "#/components/schemas/RumRetentionFilterEventType" + handle: + description: The user handle. + example: john.doe@domain.com + type: string name: - $ref: "#/components/schemas/RunRetentionFilterName" - query: - $ref: "#/components/schemas/RumRetentionFilterQuery" - sample_rate: - $ref: "#/components/schemas/RumRetentionFilterSampleRate" - type: object - RumRetentionFilterUpdateData: - description: The new RUM retention filter properties to update. - properties: - attributes: - $ref: "#/components/schemas/RumRetentionFilterUpdateAttributes" - id: - $ref: "#/components/schemas/RumRetentionFilterID" - type: - $ref: "#/components/schemas/RumRetentionFilterType" - required: - - id - - type - - attributes + description: The user name. + example: John Doe + type: string type: object - RumRetentionFilterUpdateRequest: - description: The RUM retention filter body to update. + RuleVersionHistory: + description: Response object containing the version history of a rule. properties: + count: + description: The number of rule versions. + format: int32 + maximum: 2147483647 + type: integer data: - $ref: "#/components/schemas/RumRetentionFilterUpdateData" - required: - - data - type: object - RumRetentionFiltersOrderData: - description: The RUM retention filter data for ordering. - properties: - id: - $ref: "#/components/schemas/RumRetentionFilterID" - type: - $ref: "#/components/schemas/RumRetentionFilterType" - required: - - id - - type + additionalProperties: + $ref: "#/components/schemas/RuleVersions" + description: A rule version with a list of updates. + description: The `RuleVersionHistory` `data`. + type: object type: object - RumRetentionFiltersOrderRequest: - description: |- - The list of RUM retention filter IDs along with their corresponding type to reorder. - All retention filter IDs should be included in the list created for a RUM application. + RuleVersions: + description: A rule version with a list of updates. properties: - data: - description: A list of RUM retention filter IDs along with type. + changes: + description: A list of changes. items: - $ref: "#/components/schemas/RumRetentionFiltersOrderData" + $ref: "#/components/schemas/VersionHistoryUpdate" type: array + rule: + $ref: "#/components/schemas/SecurityMonitoringRuleResponse" type: object - RumRetentionFiltersOrderResponse: - description: The list of RUM retention filter IDs along with type. - properties: + RulesValidateQueryRequest: + description: The definition of `RulesValidateQueryRequest` object. + example: data: - description: A list of RUM retention filter IDs along with type. - items: - $ref: "#/components/schemas/RumRetentionFiltersOrderData" - type: array - type: object - RumRetentionFiltersResponse: - description: All RUM retention filters for a RUM application. + attributes: + query: example:query AND test:true + type: validate_query properties: data: - description: A list of RUM retention filters. - items: - $ref: "#/components/schemas/RumRetentionFilterData" - type: array - type: object - RumRetentionQuotaConfigAttributes: - description: The RUM retention quota configuration properties. - properties: - custom: - $ref: "#/components/schemas/RumRetentionQuotaCustomConfig" - mode: - $ref: "#/components/schemas/RumRetentionQuotaMode" - org_id: - description: The ID of the organization the retention quota configuration belongs to. - example: 2 - format: int64 - type: integer - updated_at: - description: The date the retention quota configuration was last updated. - example: "2026-03-04T15:37:54.951447Z" - format: date-time - type: string - updated_by: - description: The handle of the user who last updated the retention quota configuration. - example: test@example.com - type: string - required: - - mode - - org_id + $ref: "#/components/schemas/RulesValidateQueryRequestData" type: object - RumRetentionQuotaConfigData: - description: The RUM retention quota configuration object. + RulesValidateQueryRequestData: + description: The definition of `RulesValidateQueryRequestData` object. properties: attributes: - $ref: "#/components/schemas/RumRetentionQuotaConfigAttributes" + $ref: "#/components/schemas/RulesValidateQueryRequestDataAttributes" id: - description: The identifier of the scope the retention quota configuration applies to. - example: cd73a516-a481-4af5-8352-9b577465c77b + description: The `RulesValidateQueryRequestData` `id`. type: string type: - $ref: "#/components/schemas/RumRetentionQuotaConfigType" + $ref: "#/components/schemas/RulesValidateQueryRequestDataType" required: - - id - type - - attributes type: object - RumRetentionQuotaConfigResponse: - description: The RUM retention quota configuration response. + RulesValidateQueryRequestDataAttributes: + description: The definition of `RulesValidateQueryRequestDataAttributes` object. properties: - data: - $ref: "#/components/schemas/RumRetentionQuotaConfigData" + query: + description: >- + The tag pipeline rule query to validate, in Datadog tag query syntax: `tag:value` terms combined with `AND`, `OR`, and `NOT`. + example: "example:query AND test:true" + type: string required: - - data + - query type: object - RumRetentionQuotaConfigType: - default: rum_quota_config - description: The type of the resource, always `rum_quota_config`. + RulesValidateQueryRequestDataType: + default: validate_query + description: Validate query resource type. enum: - - rum_quota_config - example: rum_quota_config + - validate_query + example: validate_query type: string - x-enum-varnames: ["RUM_QUOTA_CONFIG"] - RumRetentionQuotaConfigUpdateAttributes: - description: The RUM retention quota configuration properties to create or update. + x-enum-varnames: + - VALIDATE_QUERY + RulesValidateQueryResponse: + description: The definition of `RulesValidateQueryResponse` object. + example: + data: + attributes: + Canonical: canonical query representation + type: validate_response properties: - custom: - $ref: "#/components/schemas/RumRetentionQuotaCustomConfig" - mode: - $ref: "#/components/schemas/RumRetentionQuotaMode" - required: - - mode + data: + $ref: "#/components/schemas/RulesValidateQueryResponseData" type: object - RumRetentionQuotaConfigUpdateData: - description: The RUM retention quota configuration to create or update. + RulesValidateQueryResponseData: + description: The definition of `RulesValidateQueryResponseData` object. properties: attributes: - $ref: "#/components/schemas/RumRetentionQuotaConfigUpdateAttributes" + $ref: "#/components/schemas/RulesValidateQueryResponseDataAttributes" id: - description: |- - The identifier of the scope the retention quota configuration applies to. - Must match `scope_id` in the path. - example: cd73a516-a481-4af5-8352-9b577465c77b + description: The `RulesValidateQueryResponseData` `id`. type: string type: - $ref: "#/components/schemas/RumRetentionQuotaConfigType" + $ref: "#/components/schemas/RulesValidateQueryResponseDataType" required: - - id - type - - attributes type: object - RumRetentionQuotaConfigUpdateRequest: - description: The body of a request to create or update a RUM retention quota configuration. - properties: - data: - $ref: "#/components/schemas/RumRetentionQuotaConfigUpdateData" - required: - - data - type: object - RumRetentionQuotaCustomConfig: - description: The configuration used when `mode` is `custom`. + RulesValidateQueryResponseDataAttributes: + description: The definition of `RulesValidateQueryResponseDataAttributes` object. properties: - daily_reset_time: - description: The time of day when the daily quota resets, in `HH:MM` 24-hour format. - example: "08:00" - pattern: "^([01]\\d|2[0-3]):[0-5]\\d$" - type: string - daily_reset_timezone: - description: The timezone offset used for the daily reset time, in `±HH:MM` format. - example: "+09:00" - pattern: "^[+-](0\\d|1[0-4]):[0-5]\\d$" + Canonical: + description: The `attributes` `Canonical`. + example: "" type: string - quota_reached_action: - $ref: "#/components/schemas/RumRetentionQuotaReachedAction" - session_limit: - description: The maximum number of sessions allowed within the window. Must be at least `1000`. - example: 1000000 - format: int64 - minimum: 1000 - type: integer - window_type: - $ref: "#/components/schemas/RumRetentionQuotaWindowType" required: - - window_type - - session_limit - - daily_reset_time - - daily_reset_timezone - - quota_reached_action + - Canonical type: object - RumRetentionQuotaMode: - description: |- - The retention quota mode. `custom` enforces a fixed session limit. - `custom` is the only supported mode. - enum: - - custom - example: custom - type: string - x-enum-varnames: ["CUSTOM"] - RumRetentionQuotaReachedAction: - description: The action to take when the session quota is reached. - enum: - - stop - - slowdown - example: stop - type: string - x-enum-varnames: ["STOP", "SLOWDOWN"] - RumRetentionQuotaScopeType: - default: application - description: |- - The type of scope the retention quota configuration applies to. - `application` is the only supported scope type. - enum: - - application - example: application - type: string - x-enum-varnames: ["APPLICATION"] - RumRetentionQuotaWindowType: - description: The window type over which the session limit is enforced. + RulesValidateQueryResponseDataType: + default: validate_response + description: Validate response resource type. enum: - - daily - example: daily + - validate_response + example: validate_response type: string - x-enum-varnames: ["DAILY"] - RumSdkConfigAllowedTracingUrlList: - description: A list of URL configurations for distributed tracing. - items: - $ref: "#/components/schemas/RumSdkConfigTracingUrlConfig" - type: array - RumSdkConfigAllowedTrackingOriginList: - description: A list of origin patterns allowed for cross-origin session tracking. - items: - $ref: "#/components/schemas/RumSdkConfigMatchOption" - type: array - RumSdkConfigAttributes: - description: Attributes of the RUM SDK configuration. + x-enum-varnames: + - VALIDATE_RESPONSE + RulesetItemMetadata: + additionalProperties: + type: string + description: The `items` `metadata`. + nullable: true + type: object + RulesetResp: + description: The definition of `RulesetResp` object. + example: + data: + attributes: + created: + enabled: true + last_modified_user_uuid: "" + modified: + name: Example Ruleset + position: 0 + rules: + - enabled: false + mapping: + metadata: + name: RC test rule edited1 + query: + addition: + key: abc + value: ww + case_insensitivity: false + if_tag_exists: do_not_apply + query: billingcurrency:"USD" AND account_name:"SZA96462" AND billingcurrency:"USD" + reference_table: + - enabled: true + mapping: + destination_key: h + if_tag_exists: do_not_apply + source_keys: + - accountname + - accountownerid + metadata: + name: rule with empty source key + query: + reference_table: + - enabled: true + mapping: + metadata: + name: New table rule with new UI + query: + reference_table: + case_insensitivity: true + field_pairs: + - input_column: status_type + output_key: status + - input_column: status_description + output_key: dess + if_tag_exists: append + source_keys: + - http_status + - status_description + table_name: http_status_codes + version: 1 + id: "12345" + type: ruleset properties: - rum: - $ref: "#/components/schemas/RumSdkConfigRumAttributes" + data: + $ref: "#/components/schemas/RulesetRespData" + type: object + RulesetRespArray: + description: The definition of `RulesetRespArray` object. + example: + data: + - attributes: + created: + enabled: true + last_modified_user_uuid: "" + modified: + name: Production Cost Allocation Rules + position: 0 + rules: + - enabled: true + mapping: + metadata: + name: AWS Production Account Tagging + query: + addition: + key: environment + value: production + case_insensitivity: false + if_tag_exists: do_not_apply + query: billingcurrency:"USD" AND account_name:"prod-account" + reference_table: + - enabled: true + mapping: + destination_key: team_owner + if_tag_exists: do_not_apply + source_keys: + - account_name + - service + metadata: + name: Team Mapping Rule + query: + reference_table: + - enabled: true + mapping: + metadata: + name: New table rule with new UI + query: + reference_table: + case_insensitivity: true + field_pairs: + - input_column: status_type + output_key: status + - input_column: status_description + output_key: dess + if_tag_exists: append + source_keys: + - http_status + - status_description + table_name: http_status_codes + version: 2 + id: "55ef2385-9ae1-4410-90c4-5ac1b60fec10" + type: ruleset + - attributes: + created: + enabled: true + last_modified_user_uuid: "" + modified: + name: Development Environment Rules + position: 0 + rules: + - enabled: true + mapping: + metadata: + name: Dev Account Cost Center + query: + addition: + key: cost_center + value: engineering + case_insensitivity: true + if_tag_exists: do_not_apply + query: account_name:"dev-*" + reference_table: + version: 1 + id: "a7b8c9d0-1234-5678-9abc-def012345678" + type: ruleset + properties: + data: + description: The `RulesetRespArray` `data`. + items: + $ref: "#/components/schemas/RulesetRespData" + type: array required: - - rum + - data type: object - RumSdkConfigData: - description: The RUM SDK configuration data object. + RulesetRespData: + description: The definition of `RulesetRespData` object. properties: attributes: - $ref: "#/components/schemas/RumSdkConfigAttributes" + $ref: "#/components/schemas/RulesetRespDataAttributes" id: - description: The unique identifier of the RUM SDK configuration. - example: "abc12345-1234-5678-abcd-ef1234567890" + description: The `RulesetRespData` `id`. type: string - meta: - $ref: "#/components/schemas/RumSdkConfigMeta" type: - $ref: "#/components/schemas/RumSdkConfigType" + $ref: "#/components/schemas/RulesetRespDataType" required: - - id - type - - attributes type: object - RumSdkConfigDynamicOption: - description: A dynamic configuration option that extracts a value at runtime using a specified strategy. + RulesetRespDataAttributes: + description: The definition of `RulesetRespDataAttributes` object. properties: - attribute: - description: The element attribute to read. Used when `strategy` is `dom`. - example: "data-version" - type: string - extractor: - $ref: "#/components/schemas/RumSdkConfigSerializedRegex" - key: - description: The `localStorage` key to read. Required when `strategy` is `localStorage`. - example: "app.version" + created: + $ref: "#/components/schemas/RulesetRespDataAttributesCreated" + enabled: + description: The `attributes` `enabled`. + example: false + type: boolean + last_modified_user_uuid: + description: The `attributes` `last_modified_user_uuid`. + example: "" type: string + modified: + $ref: "#/components/schemas/RulesetRespDataAttributesModified" name: - description: The cookie name to read. Required when `strategy` is `cookie`. - example: "app_version" - type: string - path: - description: The JavaScript path used to extract the value. Required when `strategy` is `js`. - example: "application.version" - type: string - rc_serialized_type: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionSerializedType" - selector: - description: The CSS selector to read from the page. Required when `strategy` is `dom`. - example: "#app-version" - type: string - strategy: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionStrategy" - required: - - rc_serialized_type - - strategy - type: object - RumSdkConfigDynamicOptionPair: - description: A key-value pair where the value is a dynamic configuration option. - properties: - key: - description: The key name for this dynamic configuration pair. - example: "id" - type: string - value: - $ref: "#/components/schemas/RumSdkConfigDynamicOption" - required: - - key - - value - type: object - RumSdkConfigDynamicOptionPairList: - description: A list of dynamic option key-value pairs. - items: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionPair" - type: array - RumSdkConfigDynamicOptionSerializedType: - description: The type identifier for a dynamic option. Always `dynamic`. - enum: - - dynamic - example: dynamic - type: string - x-enum-varnames: - - DYNAMIC - RumSdkConfigDynamicOptionStrategy: - description: The strategy used to extract the dynamic value. - enum: - - js - - cookie - - dom - - localStorage - example: js - type: string - x-enum-varnames: - - JS - - COOKIE - - DOM - - LOCAL_STORAGE - RumSdkConfigMatchOption: - description: A match option used for URL or origin pattern matching. - properties: - rc_serialized_type: - $ref: "#/components/schemas/RumSdkConfigMatchOptionSerializedType" - value: - description: The value to match against. - example: "https://app.datadoghq.com" - type: string - required: - - rc_serialized_type - - value - type: object - RumSdkConfigMatchOptionSerializedType: - description: The type of match pattern, either a literal string or a regex. - enum: - - string - - regex - example: string - type: string - x-enum-varnames: - - STRING - - REGEX - RumSdkConfigMeta: - description: Metadata associated with a RUM SDK configuration. - properties: - updated_at: - description: The timestamp of the last update to this configuration. - example: "2024-01-15T09:30:00.000Z" - format: date-time + description: The `attributes` `name`. + example: "" type: string - updated_by: - description: The handle of the user who last updated this configuration. - example: "user@datadoghq.com" + position: + description: The `attributes` `position`. + example: 0 + format: int32 + maximum: 2147483647 + type: integer + processing_status: + description: The `attributes` `processing_status`. + example: "" type: string + rules: + description: The `attributes` `rules`. + items: + $ref: "#/components/schemas/RulesetRespDataAttributesRulesItems" + type: array + version: + description: The `attributes` `version`. + example: 0 + format: int64 + type: integer required: - - updated_at - - updated_by - type: object - RumSdkConfigResponse: - description: Response containing a RUM SDK configuration. - properties: - data: - $ref: "#/components/schemas/RumSdkConfigData" - required: - - data + - created + - enabled + - last_modified_user_uuid + - modified + - name + - position + - rules + - version type: object - RumSdkConfigRumAttributes: - description: The RUM SDK settings for a configuration. + RulesetRespDataAttributesCreated: + description: The definition of `RulesetRespDataAttributesCreated` object. properties: - allowed_tracing_urls: - $ref: "#/components/schemas/RumSdkConfigAllowedTracingUrlList" - allowed_tracking_origins: - $ref: "#/components/schemas/RumSdkConfigAllowedTrackingOriginList" - application_id: - description: The ID of the RUM application this configuration belongs to. - example: "f80e917c-3cd0-4048-ade7-1c4c207baa99" - type: string - context: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionPairList" - default_privacy_level: - description: The default privacy masking level applied to all RUM data. - example: "mask-user-input" - type: string - enable_privacy_for_action_name: - description: Whether to mask user-interaction action names for privacy. - example: false - type: boolean - env: - description: The environment tag for the RUM application. - example: "production" - type: string - service: - description: The service name tag for the RUM application. - example: "my-service" - type: string - session_replay_sample_rate: - description: The percentage of collected sessions for which a replay is captured (0–100). - example: 10 - format: int64 - maximum: 100 - minimum: 0 + nanos: + description: The `created` `nanos`. + format: int32 + maximum: 2147483647 type: integer - session_sample_rate: - description: The percentage of user sessions to collect (0–100). - example: 50 + seconds: + description: The `created` `seconds`. format: int64 - maximum: 100 - minimum: 0 type: integer - trace_sample_rate: - description: The percentage of requests to forward as APM traces (0–100). - example: 100 + type: object + RulesetRespDataAttributesModified: + description: The definition of `RulesetRespDataAttributesModified` object. + properties: + nanos: + description: The `modified` `nanos`. + format: int32 + maximum: 2147483647 + type: integer + seconds: + description: The `modified` `seconds`. format: int64 - maximum: 100 - minimum: 0 type: integer - track_session_across_subdomains: - description: Whether to share a session across subdomains of the same site. + type: object + RulesetRespDataAttributesRulesItems: + description: The definition of `RulesetRespDataAttributesRulesItems` object. + properties: + enabled: + description: The `items` `enabled`. example: false type: boolean - user: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionPairList" - version: - $ref: "#/components/schemas/RumSdkConfigDynamicOption" + mapping: + $ref: "#/components/schemas/DataAttributesRulesItemsMapping" + metadata: + $ref: "#/components/schemas/RulesetItemMetadata" + name: + description: The `items` `name`. + example: "" + type: string + query: + $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsQuery" + reference_table: + $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsReferenceTable" required: - - application_id - - session_sample_rate - - session_replay_sample_rate - - default_privacy_level - - enable_privacy_for_action_name + - enabled + - name type: object - RumSdkConfigRumUpdateAttributes: - description: The RUM SDK settings to apply when updating a configuration. + RulesetRespDataAttributesRulesItemsQuery: + description: The definition of `RulesetRespDataAttributesRulesItemsQuery` object. + nullable: true properties: - allowed_tracing_urls: - $ref: "#/components/schemas/RumSdkConfigAllowedTracingUrlList" - allowed_tracking_origins: - $ref: "#/components/schemas/RumSdkConfigAllowedTrackingOriginList" - context: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionPairList" - default_privacy_level: - description: The default privacy masking level applied to all RUM data. - example: "mask" - type: string - enable_privacy_for_action_name: - description: Whether to mask user-interaction action names for privacy. - example: true + addition: + $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsQueryAddition" + case_insensitivity: + description: The `query` `case_insensitivity`. type: boolean - env: - description: The environment tag for the RUM application. - example: "production" - type: string - service: - description: The service name tag for the RUM application. - example: "my-service" - type: string - session_replay_sample_rate: - description: The percentage of collected sessions for which a replay is captured (0–100). - example: 20 - format: int64 - maximum: 100 - minimum: 0 - type: integer - session_sample_rate: - description: The percentage of user sessions to collect (0–100). - example: 75 - format: int64 - maximum: 100 - minimum: 0 - type: integer - trace_sample_rate: - description: The percentage of requests to forward as APM traces (0–100). - example: 100 - format: int64 - maximum: 100 - minimum: 0 - type: integer - track_session_across_subdomains: - description: Whether to share a session across subdomains of the same site. - example: false + if_not_exists: + deprecated: true + description: Deprecated. Use `if_tag_exists` instead. The `query` `if_not_exists`. type: boolean - user: - $ref: "#/components/schemas/RumSdkConfigDynamicOptionPairList" - version: - $ref: "#/components/schemas/RumSdkConfigDynamicOption" + if_tag_exists: + $ref: "#/components/schemas/DataAttributesRulesItemsIfTagExists" + query: + description: The `query` `query`. + example: "" + type: string required: - - session_sample_rate - - session_replay_sample_rate - - default_privacy_level - - enable_privacy_for_action_name + - addition + - query type: object - RumSdkConfigSerializedRegex: - description: A serialized regex used as an extractor in dynamic options. + RulesetRespDataAttributesRulesItemsQueryAddition: + description: The definition of `RulesetRespDataAttributesRulesItemsQueryAddition` object. + nullable: true properties: - rc_serialized_type: - $ref: "#/components/schemas/RumSdkConfigSerializedRegexType" + key: + description: The `addition` `key`. + example: "" + type: string value: - description: The regex pattern used for extraction. - example: "^https://app-.*.datadoghq.com" + description: The `addition` `value`. + example: "" type: string required: - - rc_serialized_type + - key - value type: object - RumSdkConfigSerializedRegexType: - description: The type identifier for a serialized regex. Always `regex`. - enum: - - regex - example: regex - type: string - x-enum-varnames: - - REGEX - RumSdkConfigTracingUrlConfig: - description: Configuration for a URL that should have distributed tracing enabled. + RulesetRespDataAttributesRulesItemsReferenceTable: + description: The definition of `RulesetRespDataAttributesRulesItemsReferenceTable` object. + nullable: true properties: - match: - $ref: "#/components/schemas/RumSdkConfigMatchOption" - propagator_types: - description: The list of trace propagator types to use for this URL. + case_insensitivity: + description: The `reference_table` `case_insensitivity`. + type: boolean + field_pairs: + description: The `reference_table` `field_pairs`. + items: + $ref: "#/components/schemas/RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems" + type: array + if_not_exists: + deprecated: true + description: Deprecated. Use `if_tag_exists` instead. The `reference_table` `if_not_exists`. + type: boolean + if_tag_exists: + $ref: "#/components/schemas/DataAttributesRulesItemsIfTagExists" + source_keys: + description: The `reference_table` `source_keys`. example: - - datadog - - tracecontext + - "" items: - $ref: "#/components/schemas/RumSdkConfigTracingUrlPropagatorType" + description: A source key for the reference table lookup. + type: string type: array + table_name: + description: The `reference_table` `table_name`. + example: "" + type: string required: - - match - - propagator_types + - field_pairs + - source_keys + - table_name type: object - RumSdkConfigTracingUrlPropagatorType: - description: A trace propagator type. - enum: - - datadog - - b3 - - b3multi - - tracecontext - example: datadog - type: string - x-enum-varnames: - - DATADOG - - B3 - - B3MULTI - - TRACECONTEXT - RumSdkConfigType: - default: rum_sdk_config - description: The type of the resource. The value should always be `rum_sdk_config`. + RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems: + description: The definition of `RulesetRespDataAttributesRulesItemsReferenceTableFieldPairsItems` object. + properties: + input_column: + description: The `items` `input_column`. + example: "" + type: string + output_key: + description: The `items` `output_key`. + example: "" + type: string + required: + - input_column + - output_key + type: object + RulesetRespDataType: + default: ruleset + description: Ruleset resource type. enum: - - rum_sdk_config - example: rum_sdk_config + - ruleset + example: ruleset type: string x-enum-varnames: - - RUM_SDK_CONFIG - RumSdkConfigUpdateAttributes: - description: Attributes of the RUM SDK configuration to update. + - RULESET + RulesetStatusRespArray: + description: Processing statuses for all tag pipeline rulesets in the specified organization. + example: + data: + - attributes: + processing_status: processing + id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10 + type: ruleset_status + - attributes: + processing_status: done + id: a7b8c9d0-1234-5678-9abc-def012345678 + type: ruleset_status properties: - rum: - $ref: "#/components/schemas/RumSdkConfigRumUpdateAttributes" + data: + description: Processing status for a tag pipeline ruleset. + items: + $ref: "#/components/schemas/RulesetStatusRespData" + type: array required: - - rum + - data type: object - RumSdkConfigUpdateData: - description: The data object for updating a RUM SDK configuration. + RulesetStatusRespData: + description: Processing status for a tag pipeline ruleset. properties: attributes: - $ref: "#/components/schemas/RumSdkConfigUpdateAttributes" + $ref: "#/components/schemas/RulesetStatusRespDataAttributes" id: - description: The ID of the RUM SDK configuration to update. - example: "abc12345-1234-5678-abcd-ef1234567890" + description: The unique identifier of the ruleset. + example: 55ef2385-9ae1-4410-90c4-5ac1b60fec10 type: string type: - $ref: "#/components/schemas/RumSdkConfigType" + $ref: "#/components/schemas/RulesetStatusRespDataType" required: - id - type - attributes type: object - RumSdkConfigUpdateRequest: - description: Request body for updating a RUM SDK configuration. + RulesetStatusRespDataAttributes: + description: Processing status for a tag pipeline ruleset. properties: - data: - $ref: "#/components/schemas/RumSdkConfigUpdateData" + processing_status: + description: The processing status of the ruleset. + example: processing + type: string required: - - data + - processing_status type: object + RulesetStatusRespDataType: + default: ruleset_status + description: Ruleset status resource type. + enum: + - ruleset_status + example: ruleset_status + type: string + x-enum-varnames: + - RULESET_STATUS RunDataObservabilityMonitorResponse: description: The response returned when a data observability monitor run is triggered. properties: @@ -161503,7 +161503,7 @@ components: type: object ViewershipHistorySessionDataType: default: rum_replay_session - description: Rum replay session resource type. + description: RUM replay session resource type. enum: - rum_replay_session example: rum_replay_session @@ -162099,7 +162099,7 @@ components: type: object WatchDataType: default: rum_replay_watch - description: Rum replay watch resource type. + description: RUM replay watch resource type. enum: - rum_replay_watch example: rum_replay_watch @@ -162161,7 +162161,7 @@ components: type: object WatcherDataType: default: rum_replay_watcher - description: Rum replay watcher resource type. + description: RUM replay watcher resource type. enum: - rum_replay_watcher example: rum_replay_watcher @@ -239442,7 +239442,7 @@ paths: - AuthZ: [] summary: Get account facet info tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -239508,7 +239508,7 @@ paths: - AuthZ: [] summary: Query accounts tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240413,7 +240413,7 @@ paths: - AuthZ: [] summary: Query event filtered users tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240468,7 +240468,7 @@ paths: - AuthZ: [] summary: Get user facet info tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240532,7 +240532,7 @@ paths: - AuthZ: [] summary: Query users tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240576,7 +240576,7 @@ paths: - AuthZ: [] summary: Delete a user profile tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240619,7 +240619,7 @@ paths: - AuthZ: [] summary: Get mapping tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240675,7 +240675,7 @@ paths: - AuthZ: [] summary: Create connection tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240733,7 +240733,7 @@ paths: - AuthZ: [] summary: Update connection tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240769,7 +240769,7 @@ paths: - AuthZ: [] summary: Delete connection tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -240810,7 +240810,7 @@ paths: - AuthZ: [] summary: List connections tags: - - Rum Audience Management + - RUM Audience Management x-permission: operator: OR permissions: @@ -244714,7 +244714,7 @@ paths: /api/v2/remote_config/products/rum/configs/{config_id}: get: description: Retrieve a RUM SDK configuration by its identifier. - operationId: GetRumSdkConfig + operationId: GetRUMSdkConfig parameters: - description: The ID of the RUM SDK configuration. example: "abc12345-1234-5678-abcd-ef1234567890" @@ -244748,7 +244748,7 @@ paths: updated_by: "user@datadoghq.com" type: rum_sdk_config schema: - $ref: "#/components/schemas/RumSdkConfigResponse" + $ref: "#/components/schemas/RUMSdkConfigResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -244774,7 +244774,7 @@ paths: description: |- Update an existing RUM SDK configuration by its identifier. Returns the updated configuration when successful. - operationId: UpdateRumSdkConfig + operationId: UpdateRUMSdkConfig parameters: - description: The ID of the RUM SDK configuration. example: "abc12345-1234-5678-abcd-ef1234567890" @@ -244799,7 +244799,7 @@ paths: id: "abc12345-1234-5678-abcd-ef1234567890" type: rum_sdk_config schema: - $ref: "#/components/schemas/RumSdkConfigUpdateRequest" + $ref: "#/components/schemas/RUMSdkConfigUpdateRequest" description: The RUM SDK configuration update. required: true responses: @@ -244820,7 +244820,7 @@ paths: id: "abc12345-1234-5678-abcd-ef1234567890" type: rum_sdk_config schema: - $ref: "#/components/schemas/RumSdkConfigResponse" + $ref: "#/components/schemas/RUMSdkConfigResponse" description: OK "400": content: @@ -244906,7 +244906,7 @@ paths: - AuthZ: [] summary: List replay heatmap snapshots tags: - - Rum Replay Heatmaps + - RUM Replay Heatmaps x-permission: operator: OR permissions: @@ -244959,7 +244959,7 @@ paths: - AuthZ: [] summary: Create replay heatmap snapshot tags: - - Rum Replay Heatmaps + - RUM Replay Heatmaps /api/v2/replay/heatmap/snapshots/{snapshot_id}: delete: description: Delete a heatmap snapshot. @@ -244983,7 +244983,7 @@ paths: - AuthZ: [] summary: Delete replay heatmap snapshot tags: - - Rum Replay Heatmaps + - RUM Replay Heatmaps patch: description: Update a heatmap snapshot. operationId: UpdateReplayHeatmapSnapshot @@ -245037,7 +245037,7 @@ paths: - AuthZ: [] summary: Update replay heatmap snapshot tags: - - Rum Replay Heatmaps + - RUM Replay Heatmaps /api/v2/reporting/dataset/{dataset_id}/schedules: get: description: |- @@ -247425,7 +247425,7 @@ paths: Returns RUM retention filter objects without attributes from the request body when the request is successful. operationId: OrderRetentionFilters parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" requestBody: content: application/json: @@ -247436,7 +247436,7 @@ paths: - id: 051601eb-54a0-abc0-03f9-cc02efa18892 type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFiltersOrderRequest" + $ref: "#/components/schemas/RUMRetentionFiltersOrderRequest" description: New definition of the RUM retention filter. required: true responses: @@ -247450,7 +247450,7 @@ paths: - id: "051601eb-54a0-abc0-03f9-cc02efa18892" type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFiltersOrderResponse" + $ref: "#/components/schemas/RUMRetentionFiltersOrderResponse" description: Ordered "400": $ref: "#/components/responses/BadRequestResponse" @@ -247460,7 +247460,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Order RUM retention filters tags: - - Rum Retention Filters + - RUM Retention Filters x-codegen-request-body-name: body x-permission: operator: OR @@ -247472,7 +247472,7 @@ paths: description: Get the list of RUM retention filters for a RUM application. operationId: ListRetentionFilters parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" responses: "200": content: @@ -247493,7 +247493,7 @@ paths: id: "051601eb-54a0-abc0-03f9-cc02efa18892" type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFiltersResponse" + $ref: "#/components/schemas/RUMRetentionFiltersResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -247501,7 +247501,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get all RUM retention filters tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -247512,7 +247512,7 @@ paths: Returns RUM retention filter objects from the request body when the request is successful. operationId: CreateRetentionFilter parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" requestBody: content: application/json: @@ -247531,7 +247531,7 @@ paths: sample_rate: 50.5 type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFilterCreateRequest" + $ref: "#/components/schemas/RUMRetentionFilterCreateRequest" description: The definition of the new RUM retention filter. required: true responses: @@ -247551,7 +247551,7 @@ paths: id: 00000000-0000-0000-0000-000000000001 type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFilterResponse" + $ref: "#/components/schemas/RUMRetentionFilterResponse" description: Created "400": $ref: "#/components/responses/BadRequestResponse" @@ -247561,7 +247561,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Create a RUM retention filter tags: - - Rum Retention Filters + - RUM Retention Filters x-codegen-request-body-name: body x-permission: operator: OR @@ -247575,7 +247575,7 @@ paths: The built-in Error Tracking exclusion filter (`error_tracking_exclusion_filter`) is always returned first. operationId: ListExclusionFilters parameters: - - $ref: "#/components/parameters/RumExclusionFilterApplicationIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterApplicationIDParameter" responses: "200": content: @@ -247605,7 +247605,7 @@ paths: updated_by_handle: jane.doe@example.com type: exclusion_filters schema: - $ref: "#/components/schemas/RumExclusionFiltersResponse" + $ref: "#/components/schemas/RUMExclusionFiltersResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -247613,7 +247613,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get all RUM exclusion filters tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -247624,7 +247624,7 @@ paths: Returns the created exclusion filter when the request is successful. operationId: CreateExclusionFilter parameters: - - $ref: "#/components/parameters/RumExclusionFilterApplicationIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterApplicationIDParameter" requestBody: content: application/json: @@ -247639,7 +247639,7 @@ paths: query: "@error.message:*extension*" type: exclusion_filters schema: - $ref: "#/components/schemas/RumExclusionFilterCreateRequest" + $ref: "#/components/schemas/RUMExclusionFilterCreateRequest" description: The definition of the new RUM exclusion filter. required: true responses: @@ -247662,7 +247662,7 @@ paths: updated_by_handle: jane.doe@example.com type: exclusion_filters schema: - $ref: "#/components/schemas/RumExclusionFilterResponse" + $ref: "#/components/schemas/RUMExclusionFilterResponse" description: Created "400": $ref: "#/components/responses/BadRequestResponse" @@ -247672,7 +247672,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Create a RUM exclusion filter tags: - - Rum Retention Filters + - RUM Retention Filters x-codegen-request-body-name: body x-permission: operator: OR @@ -247686,8 +247686,8 @@ paths: attempting to do so returns a `405 Method Not Allowed` response. operationId: DeleteExclusionFilter parameters: - - $ref: "#/components/parameters/RumExclusionFilterApplicationIDParameter" - - $ref: "#/components/parameters/RumExclusionFilterIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterApplicationIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterIDParameter" responses: "204": description: No Content @@ -247696,12 +247696,12 @@ paths: "404": $ref: "#/components/responses/NotFoundResponse" "405": - $ref: "#/components/responses/RumExclusionFilterMethodNotAllowedResponse" + $ref: "#/components/responses/RUMExclusionFilterMethodNotAllowedResponse" "429": $ref: "#/components/responses/TooManyRequestsResponse" summary: Delete a RUM exclusion filter tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -247710,8 +247710,8 @@ paths: description: Get a single exclusion filter for a RUM application. operationId: GetExclusionFilter parameters: - - $ref: "#/components/parameters/RumExclusionFilterApplicationIDParameter" - - $ref: "#/components/parameters/RumExclusionFilterIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterApplicationIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterIDParameter" responses: "200": content: @@ -247732,7 +247732,7 @@ paths: updated_by_handle: jane.doe@example.com type: exclusion_filters schema: - $ref: "#/components/schemas/RumExclusionFilterResponse" + $ref: "#/components/schemas/RUMExclusionFilterResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -247742,7 +247742,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get a RUM exclusion filter tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -247755,8 +247755,8 @@ paths: Returns the updated exclusion filter when the request is successful. operationId: UpdateExclusionFilter parameters: - - $ref: "#/components/parameters/RumExclusionFilterApplicationIDParameter" - - $ref: "#/components/parameters/RumExclusionFilterIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterApplicationIDParameter" + - $ref: "#/components/parameters/RUMExclusionFilterIDParameter" requestBody: content: application/json: @@ -247772,7 +247772,7 @@ paths: id: "051601eb-54a0-abc0-03f9-cc02efa18892" type: exclusion_filters schema: - $ref: "#/components/schemas/RumExclusionFilterUpdateRequest" + $ref: "#/components/schemas/RUMExclusionFilterUpdateRequest" description: New definition of the RUM exclusion filter. required: true responses: @@ -247795,7 +247795,7 @@ paths: updated_by_handle: jane.doe@example.com type: exclusion_filters schema: - $ref: "#/components/schemas/RumExclusionFilterResponse" + $ref: "#/components/schemas/RUMExclusionFilterResponse" description: Updated "400": $ref: "#/components/responses/BadRequestResponse" @@ -247809,7 +247809,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Update a RUM exclusion filter tags: - - Rum Retention Filters + - RUM Retention Filters x-codegen-request-body-name: body x-permission: operator: OR @@ -247823,7 +247823,7 @@ paths: For each filter, the `editability` block indicates which cross-product fields can be updated. operationId: ListPermanentRetentionFilters parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" responses: "200": content: @@ -247863,7 +247863,7 @@ paths: id: rum_apm_flat_sampling type: permanent_retention_filters schema: - $ref: "#/components/schemas/RumPermanentRetentionFiltersResponse" + $ref: "#/components/schemas/RUMPermanentRetentionFiltersResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -247871,7 +247871,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get all permanent RUM retention filters tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -247881,8 +247881,8 @@ paths: description: Get a permanent RUM retention filter for a RUM application by its identifier. operationId: GetPermanentRetentionFilter parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" - - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" + - $ref: "#/components/parameters/RUMPermanentRetentionFilterIDParameter" responses: "200": content: @@ -247902,7 +247902,7 @@ paths: id: synthetics_sessions type: permanent_retention_filters schema: - $ref: "#/components/schemas/RumPermanentRetentionFilterResponse" + $ref: "#/components/schemas/RUMPermanentRetentionFilterResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -247912,7 +247912,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get a permanent RUM retention filter tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -247924,8 +247924,8 @@ paths: Updating a non-editable field returns a `400` response. operationId: UpdatePermanentRetentionFilter parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" - - $ref: "#/components/parameters/RumPermanentRetentionFilterIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" + - $ref: "#/components/parameters/RUMPermanentRetentionFilterIDParameter" requestBody: content: application/json: @@ -247940,7 +247940,7 @@ paths: id: synthetics_sessions type: permanent_retention_filters schema: - $ref: "#/components/schemas/RumPermanentRetentionFilterUpdateRequest" + $ref: "#/components/schemas/RUMPermanentRetentionFilterUpdateRequest" description: New configuration of the permanent RUM retention filter. required: true responses: @@ -247962,7 +247962,7 @@ paths: id: synthetics_sessions type: permanent_retention_filters schema: - $ref: "#/components/schemas/RumPermanentRetentionFilterResponse" + $ref: "#/components/schemas/RUMPermanentRetentionFilterResponse" description: Updated "400": $ref: "#/components/responses/BadRequestResponse" @@ -247974,7 +247974,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Update a permanent RUM retention filter tags: - - Rum Retention Filters + - RUM Retention Filters x-codegen-request-body-name: body x-permission: operator: OR @@ -247985,8 +247985,8 @@ paths: description: Delete a RUM retention filter for a RUM application. operationId: DeleteRetentionFilter parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" - - $ref: "#/components/parameters/RumRetentionFilterIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" + - $ref: "#/components/parameters/RUMRetentionFilterIDParameter" responses: "204": description: No Content @@ -247998,7 +247998,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Delete a RUM retention filter tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -248008,8 +248008,8 @@ paths: description: Get a RUM retention filter for a RUM application. operationId: GetRetentionFilter parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" - - $ref: "#/components/parameters/RumRetentionFilterIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" + - $ref: "#/components/parameters/RUMRetentionFilterIDParameter" responses: "200": content: @@ -248030,7 +248030,7 @@ paths: id: "051601eb-54a0-abc0-03f9-cc02efa18892" type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFilterResponse" + $ref: "#/components/schemas/RUMRetentionFilterResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -248040,7 +248040,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get a RUM retention filter tags: - - Rum Retention Filters + - RUM Retention Filters x-permission: operator: OR permissions: @@ -248051,8 +248051,8 @@ paths: Returns RUM retention filter objects from the request body when the request is successful. operationId: UpdateRetentionFilter parameters: - - $ref: "#/components/parameters/RumApplicationIDParameter" - - $ref: "#/components/parameters/RumRetentionFilterIDParameter" + - $ref: "#/components/parameters/RUMApplicationIDParameter" + - $ref: "#/components/parameters/RUMRetentionFilterIDParameter" requestBody: content: application/json: @@ -248072,7 +248072,7 @@ paths: id: 051601eb-54a0-abc0-03f9-cc02efa18892 type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFilterUpdateRequest" + $ref: "#/components/schemas/RUMRetentionFilterUpdateRequest" description: New definition of the RUM retention filter. required: true responses: @@ -248095,7 +248095,7 @@ paths: id: "051601eb-54a0-abc0-03f9-cc02efa18892" type: retention_filters schema: - $ref: "#/components/schemas/RumRetentionFilterResponse" + $ref: "#/components/schemas/RUMRetentionFilterResponse" description: Updated "400": $ref: "#/components/responses/BadRequestResponse" @@ -248107,7 +248107,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Update a RUM retention filter tags: - - Rum Retention Filters + - RUM Retention Filters x-codegen-request-body-name: body x-permission: operator: OR @@ -248315,7 +248315,7 @@ paths: /api/v2/rum/config: get: description: Get the RUM configuration for your organization. - operationId: GetRumConfig + operationId: GetRUMConfig responses: "200": content: @@ -248337,7 +248337,7 @@ paths: id: "1234" type: rum_config schema: - $ref: "#/components/schemas/RumConfigResponse" + $ref: "#/components/schemas/RUMConfigResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -248357,7 +248357,7 @@ paths: description: |- Update the RUM configuration for your organization. Returns the RUM configuration object from the request body when the request is successful. - operationId: UpdateRumConfig + operationId: UpdateRUMConfig requestBody: content: application/json: @@ -248369,7 +248369,7 @@ paths: enforced_application_tags: false type: rum_config schema: - $ref: "#/components/schemas/RumConfigUpdateRequest" + $ref: "#/components/schemas/RUMConfigUpdateRequest" description: New definition of the RUM configuration. required: true responses: @@ -248393,7 +248393,7 @@ paths: id: "1234" type: rum_config schema: - $ref: "#/components/schemas/RumConfigResponse" + $ref: "#/components/schemas/RUMConfigResponse" description: OK "400": $ref: "#/components/responses/BadRequestResponse" @@ -248416,7 +248416,7 @@ paths: description: |- Create the RUM configuration for your organization. Returns the RUM configuration object from the request body when the request is successful. - operationId: CreateRumConfig + operationId: CreateRUMConfig requestBody: content: application/json: @@ -248428,7 +248428,7 @@ paths: enforced_application_tags: true type: rum_config schema: - $ref: "#/components/schemas/RumConfigCreateRequest" + $ref: "#/components/schemas/RUMConfigCreateRequest" description: The definition of the RUM configuration to create. required: true responses: @@ -248452,7 +248452,7 @@ paths: id: "1234" type: rum_config schema: - $ref: "#/components/schemas/RumConfigResponse" + $ref: "#/components/schemas/RUMConfigResponse" description: Created "400": $ref: "#/components/responses/BadRequestResponse" @@ -248523,7 +248523,7 @@ paths: page: total_filtered_count: 0 schema: - $ref: "#/components/schemas/RumArchiveConfigListResponse" + $ref: "#/components/schemas/RUMArchiveConfigListResponse" description: OK "400": content: @@ -248535,19 +248535,19 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "429": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -248587,13 +248587,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -248605,7 +248605,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -248648,7 +248648,7 @@ paths: id: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 type: rum_archive_config schema: - $ref: "#/components/schemas/RumArchiveConfigResponse" + $ref: "#/components/schemas/RUMArchiveConfigResponse" description: OK "400": content: @@ -248660,13 +248660,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -248678,7 +248678,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -248724,7 +248724,7 @@ paths: id: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 type: rum_archive_config schema: - $ref: "#/components/schemas/RumArchiveConfigUpsertRequest" + $ref: "#/components/schemas/RUMArchiveConfigUpsertRequest" description: JSON:API request body. required: true responses: @@ -248744,7 +248744,7 @@ paths: id: a33671aa-24fd-4dcd-ba4b-5bbdbafe7690 type: rum_archive_config schema: - $ref: "#/components/schemas/RumArchiveConfigResponse" + $ref: "#/components/schemas/RUMArchiveConfigResponse" description: OK "400": content: @@ -248756,13 +248756,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -248774,7 +248774,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -248793,8 +248793,8 @@ paths: Get the list of all RUM-based metrics configured for your organization, with their definitions. The list is not paginated. Metrics whose stored definition cannot be converted to the RUM format are omitted from the list. - To retrieve a single metric, use `GetRumMetric`. - operationId: ListRumMetrics + To retrieve a single metric, use `GetRUMMetric`. + operationId: ListRUMMetrics responses: "200": content: @@ -248819,7 +248819,7 @@ paths: id: rum.sessions.web.count type: rum_metrics schema: - $ref: "#/components/schemas/RumMetricsResponse" + $ref: "#/components/schemas/RUMMetricsResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -248827,7 +248827,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get all RUM-based metrics tags: - - Rum Metrics + - RUM Metrics x-permission: operator: OR permissions: @@ -248836,12 +248836,12 @@ paths: description: |- Create a metric based on your organization's RUM data. The metric name is set in `data.id`, is unique within your organization, and cannot be changed after creation. - The `event_type`, `compute`, and `uniqueness` settings cannot be changed after creation either. Only `filter`, `group_by`, and `compute.include_percentiles` can be changed with `UpdateRumMetric`. + The `event_type`, `compute`, and `uniqueness` settings cannot be changed after creation either. Only `filter`, `group_by`, and `compute.include_percentiles` can be changed with `UpdateRUMMetric`. `uniqueness` is required when `event_type` is `session` or `view`, and must be omitted for any other event type. When `aggregation_type` is `distribution`, `include_percentiles` is required. When it is `count`, `include_percentiles` and `path` must be omitted. Returns the created RUM-based metric when the request is successful. The request returns a `409 Conflict` error if a metric with the same name already exists. - operationId: CreateRumMetric + operationId: CreateRUMMetric requestBody: content: application/json: @@ -248880,7 +248880,7 @@ paths: id: rum.sessions.web.count type: rum_metrics schema: - $ref: "#/components/schemas/RumMetricCreateRequest" + $ref: "#/components/schemas/RUMMetricCreateRequest" description: The definition of the new RUM-based metric. required: true responses: @@ -248907,7 +248907,7 @@ paths: id: rum.sessions.web.count type: rum_metrics schema: - $ref: "#/components/schemas/RumMetricResponse" + $ref: "#/components/schemas/RUMMetricResponse" description: Created "400": content: @@ -248927,7 +248927,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Create a RUM-based metric tags: - - Rum Metrics + - RUM Metrics x-codegen-request-body-name: body x-permission: operator: OR @@ -248938,9 +248938,9 @@ paths: description: |- Delete a specific RUM-based metric from your organization. Metric data that was already generated is not deleted. Deleting a metric cannot be undone. - operationId: DeleteRumMetric + operationId: DeleteRUMMetric parameters: - - $ref: "#/components/parameters/RumMetricIDParameter" + - $ref: "#/components/parameters/RUMMetricIDParameter" responses: "204": description: No Content @@ -248956,7 +248956,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Delete a RUM-based metric tags: - - Rum Metrics + - RUM Metrics x-permission: operator: OR permissions: @@ -248964,10 +248964,10 @@ paths: get: description: |- Get a specific RUM-based metric from your organization. - The `metric_id` is the metric name returned in `data.id` by `ListRumMetrics` and `CreateRumMetric`. - operationId: GetRumMetric + The `metric_id` is the metric name returned in `data.id` by `ListRUMMetrics` and `CreateRUMMetric`. + operationId: GetRUMMetric parameters: - - $ref: "#/components/parameters/RumMetricIDParameter" + - $ref: "#/components/parameters/RUMMetricIDParameter" responses: "200": content: @@ -248992,7 +248992,7 @@ paths: id: rum.sessions.web.count type: rum_metrics schema: - $ref: "#/components/schemas/RumMetricResponse" + $ref: "#/components/schemas/RUMMetricResponse" description: OK "403": $ref: "#/components/responses/NotAuthorizedResponse" @@ -249006,7 +249006,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get a RUM-based metric tags: - - Rum Metrics + - RUM Metrics x-permission: operator: OR permissions: @@ -249019,9 +249019,9 @@ paths: `data.id` is required and must match the `metric_id` path parameter, otherwise the request returns a `409 Conflict` error. The request also returns a `409 Conflict` error when `compute.include_percentiles` is set on a metric whose `aggregation_type` is not `distribution`. Returns the updated RUM-based metric when the request is successful. - operationId: UpdateRumMetric + operationId: UpdateRUMMetric parameters: - - $ref: "#/components/parameters/RumMetricIDParameter" + - $ref: "#/components/parameters/RUMMetricIDParameter" requestBody: content: application/json: @@ -249049,7 +249049,7 @@ paths: id: rum.sessions.web.count type: rum_metrics schema: - $ref: "#/components/schemas/RumMetricUpdateRequest" + $ref: "#/components/schemas/RUMMetricUpdateRequest" description: New definition of the RUM-based metric. required: true responses: @@ -249076,7 +249076,7 @@ paths: id: rum.sessions.web.count type: rum_metrics schema: - $ref: "#/components/schemas/RumMetricResponse" + $ref: "#/components/schemas/RUMMetricResponse" description: OK "400": content: @@ -249102,7 +249102,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Update a RUM-based metric tags: - - Rum Metrics + - RUM Metrics x-codegen-request-body-name: body x-permission: operator: OR @@ -249111,10 +249111,10 @@ paths: /api/v2/rum/config/retention-quota/{scope_type}/{scope_id}: delete: description: Delete the RUM retention quota configuration for a given scope. - operationId: DeleteRumQuotaConfig + operationId: DeleteRUMQuotaConfig parameters: - - $ref: "#/components/parameters/RumRetentionQuotaScopeTypeParameter" - - $ref: "#/components/parameters/RumRetentionQuotaScopeIDParameter" + - $ref: "#/components/parameters/RUMRetentionQuotaScopeTypeParameter" + - $ref: "#/components/parameters/RUMRetentionQuotaScopeIDParameter" responses: "204": description: No Content @@ -249153,10 +249153,10 @@ paths: - rum_retention_filters_write get: description: Get the RUM retention quota configuration for a given scope. - operationId: GetRumQuotaConfig + operationId: GetRUMQuotaConfig parameters: - - $ref: "#/components/parameters/RumRetentionQuotaScopeTypeParameter" - - $ref: "#/components/parameters/RumRetentionQuotaScopeIDParameter" + - $ref: "#/components/parameters/RUMRetentionQuotaScopeTypeParameter" + - $ref: "#/components/parameters/RUMRetentionQuotaScopeIDParameter" responses: "200": content: @@ -249179,7 +249179,7 @@ paths: id: cd73a516-a481-4af5-8352-9b577465c77b type: rum_quota_config schema: - $ref: "#/components/schemas/RumRetentionQuotaConfigResponse" + $ref: "#/components/schemas/RUMRetentionQuotaConfigResponse" description: OK "400": content: @@ -249218,10 +249218,10 @@ paths: description: |- Create or update the RUM retention quota configuration for a given scope. Returns the retention quota configuration object when the request is successful. - operationId: UpsertRumQuotaConfig + operationId: UpsertRUMQuotaConfig parameters: - - $ref: "#/components/parameters/RumRetentionQuotaScopeTypeParameter" - - $ref: "#/components/parameters/RumRetentionQuotaScopeIDParameter" + - $ref: "#/components/parameters/RUMRetentionQuotaScopeTypeParameter" + - $ref: "#/components/parameters/RUMRetentionQuotaScopeIDParameter" requestBody: content: application/json: @@ -249240,7 +249240,7 @@ paths: id: cd73a516-a481-4af5-8352-9b577465c77b type: rum_quota_config schema: - $ref: "#/components/schemas/RumRetentionQuotaConfigUpdateRequest" + $ref: "#/components/schemas/RUMRetentionQuotaConfigUpdateRequest" description: The definition of the RUM retention quota configuration to create or update. required: true responses: @@ -249265,7 +249265,7 @@ paths: id: cd73a516-a481-4af5-8352-9b577465c77b type: rum_quota_config schema: - $ref: "#/components/schemas/RumRetentionQuotaConfigResponse" + $ref: "#/components/schemas/RUMRetentionQuotaConfigResponse" description: OK "400": content: @@ -249340,7 +249340,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: List teams ownership mappings tags: - - Rum Teams Ownership + - RUM Teams Ownership x-permission: operator: OR permissions: @@ -249401,7 +249401,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Create a teams ownership mapping tags: - - Rum Teams Ownership + - RUM Teams Ownership x-codegen-request-body-name: body x-permission: operator: OR @@ -249500,7 +249500,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Bulk create and remove teams ownership mappings tags: - - Rum Teams Ownership + - RUM Teams Ownership x-codegen-request-body-name: body x-permission: operator: OR @@ -249526,7 +249526,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Delete a teams ownership mapping tags: - - Rum Teams Ownership + - RUM Teams Ownership x-permission: operator: OR permissions: @@ -249569,7 +249569,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: Get a teams ownership mapping tags: - - Rum Teams Ownership + - RUM Teams Ownership x-permission: operator: OR permissions: @@ -249618,7 +249618,7 @@ paths: $ref: "#/components/responses/TooManyRequestsResponse" summary: List teams ownership rules tags: - - Rum Teams Ownership + - RUM Teams Ownership x-permission: operator: OR permissions: @@ -250785,7 +250785,7 @@ paths: to: 1789992000000 type: rum_recovery_count schema: - $ref: "#/components/schemas/RumRecoveryCountRequest" + $ref: "#/components/schemas/RUMRecoveryCountRequest" description: JSON:API request body. required: true responses: @@ -250811,7 +250811,7 @@ paths: id: count type: rum_recovery_count schema: - $ref: "#/components/schemas/RumRecoveryCountResponse" + $ref: "#/components/schemas/RUMRecoveryCountResponse" description: OK "400": content: @@ -250823,13 +250823,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -250841,7 +250841,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -250867,7 +250867,7 @@ paths: name: type required: true schema: - $ref: "#/components/schemas/RumRecoveryBatchRequestType" + $ref: "#/components/schemas/RUMRecoveryBatchRequestType" - description: >- Number of results returned per page, at most 100 (default 50). Omitted, zero, or negative values use 50. Invalid integers return 400. in: query @@ -250950,7 +250950,7 @@ paths: meta: next_cursor: example schema: - $ref: "#/components/schemas/RumRecoveryBatchListResponse" + $ref: "#/components/schemas/RUMRecoveryBatchListResponse" description: OK "400": content: @@ -250962,13 +250962,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -250980,7 +250980,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -251030,7 +251030,7 @@ paths: session_id: 00000000-0000-4000-8000-000000000001 type: rum_recovery_request schema: - $ref: "#/components/schemas/RumRecoveryCreateRequest" + $ref: "#/components/schemas/RUMRecoveryCreateRequest" description: JSON:API request body. required: true responses: @@ -251085,7 +251085,7 @@ paths: id: 11111111-1111-4111-8111-111111111111 type: rum_recovery_request schema: - $ref: "#/components/schemas/RumRecoveryCreateResponse" + $ref: "#/components/schemas/RUMRecoveryCreateResponse" description: Accepted "400": content: @@ -251110,13 +251110,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -251135,7 +251135,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: >- Too many requests, or the batch recovery queue is full. security: @@ -251204,7 +251204,7 @@ paths: id: 11111111-1111-4111-8111-111111111111 type: rum_recovery_request schema: - $ref: "#/components/schemas/RumRecoveryRequestResponse" + $ref: "#/components/schemas/RUMRecoveryRequestResponse" description: OK "400": content: @@ -251216,13 +251216,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -251234,7 +251234,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -251276,7 +251276,7 @@ paths: attributes: status: cancelled schema: - $ref: "#/components/schemas/RumRecoveryCancelRequest" + $ref: "#/components/schemas/RUMRecoveryCancelRequest" description: JSON:API request body. required: true responses: @@ -251294,7 +251294,7 @@ paths: id: 11111111-1111-4111-8111-111111111111 type: rum_recovery_request schema: - $ref: "#/components/schemas/RumRecoveryCancelResponse" + $ref: "#/components/schemas/RUMRecoveryCancelResponse" description: OK "400": content: @@ -251306,13 +251306,13 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "404": content: @@ -251330,7 +251330,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -251362,7 +251362,7 @@ paths: to: 1789992000000 type: rum_archive_sessions_request schema: - $ref: "#/components/schemas/RumArchiveSessionsSearchRequest" + $ref: "#/components/schemas/RUMArchiveSessionsSearchRequest" description: JSON:API request body. required: true responses: @@ -251438,7 +251438,7 @@ paths: page: total_count: 1 schema: - $ref: "#/components/schemas/RumArchiveSessionsResponse" + $ref: "#/components/schemas/RUMArchiveSessionsResponse" description: OK "400": content: @@ -251450,19 +251450,19 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Unauthorized "403": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Forbidden "429": content: application/json: schema: - $ref: "#/components/schemas/RumManagedArchiveErrorResponse" + $ref: "#/components/schemas/RUMManagedArchiveErrorResponse" description: Too Many Requests security: - apiKeyAuth: [] @@ -251478,7 +251478,7 @@ paths: /api/v2/rum/replay/playlists: get: description: List playlists. - operationId: ListRumReplayPlaylists + operationId: ListRUMReplayPlaylists parameters: - description: Filter playlists by the UUID of the user who created them. in: query @@ -251529,14 +251529,14 @@ paths: - AuthZ: [] summary: List RUM replay playlists tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: - rum_session_replay_read post: description: Create a playlist. - operationId: CreateRumReplayPlaylist + operationId: CreateRUMReplayPlaylist requestBody: content: application/json: @@ -251577,7 +251577,7 @@ paths: - AuthZ: [] summary: Create RUM replay playlist tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: @@ -251585,7 +251585,7 @@ paths: /api/v2/rum/replay/playlists/{playlist_id}: delete: description: Delete a playlist. - operationId: DeleteRumReplayPlaylist + operationId: DeleteRUMReplayPlaylist parameters: - description: Unique identifier of the playlist. in: path @@ -251606,14 +251606,14 @@ paths: - AuthZ: [] summary: Delete RUM replay playlist tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: - rum_playlist_write get: description: Get a playlist. - operationId: GetRumReplayPlaylist + operationId: GetRUMReplayPlaylist parameters: - description: Unique identifier of the playlist. in: path @@ -251646,14 +251646,14 @@ paths: - AuthZ: [] summary: Get RUM replay playlist tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: - rum_session_replay_read put: description: Update a playlist. - operationId: UpdateRumReplayPlaylist + operationId: UpdateRUMReplayPlaylist parameters: - description: Unique identifier of the playlist. in: path @@ -251703,7 +251703,7 @@ paths: - AuthZ: [] summary: Update RUM replay playlist tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: @@ -251711,7 +251711,7 @@ paths: /api/v2/rum/replay/playlists/{playlist_id}/sessions: delete: description: Remove sessions from a playlist. - operationId: BulkRemoveRumReplayPlaylistSessions + operationId: BulkRemoveRUMReplayPlaylistSessions parameters: - description: Unique identifier of the playlist. in: path @@ -251744,14 +251744,14 @@ paths: - AuthZ: [] summary: Bulk remove RUM replay playlist sessions tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: - rum_playlist_write get: description: List sessions in a playlist. - operationId: ListRumReplayPlaylistSessions + operationId: ListRUMReplayPlaylistSessions parameters: - description: Unique identifier of the playlist. in: path @@ -251798,7 +251798,7 @@ paths: - AuthZ: [] summary: List RUM replay playlist sessions tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: @@ -251806,7 +251806,7 @@ paths: /api/v2/rum/replay/playlists/{playlist_id}/sessions/{session_id}: delete: description: Remove a session from a playlist. - operationId: RemoveRumReplaySessionFromPlaylist + operationId: RemoveRUMReplaySessionFromPlaylist parameters: - description: Unique identifier of the playlist. in: path @@ -251834,14 +251834,14 @@ paths: - AuthZ: [] summary: Remove RUM replay session from playlist tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: - rum_playlist_write put: description: Add a session to a playlist. - operationId: AddRumReplaySessionToPlaylist + operationId: AddRUMReplaySessionToPlaylist parameters: - description: "Data source type. Valid values: 'rum' or 'product_analytics'. Defaults to 'rum'." in: query @@ -251909,7 +251909,7 @@ paths: - AuthZ: [] summary: Add RUM replay session to playlist tags: - - Rum Replay Playlists + - RUM Replay Playlists x-permission: operator: OR permissions: @@ -251984,7 +251984,7 @@ paths: - AuthZ: [] summary: Get segments tags: - - Rum Replay Sessions + - RUM Replay Sessions x-permission: operator: OR permissions: @@ -251992,7 +251992,7 @@ paths: /api/v2/rum/replay/sessions/{session_id}/watchers: get: description: List session watchers. - operationId: ListRumReplaySessionWatchers + operationId: ListRUMReplaySessionWatchers parameters: - description: Number of items per page. in: query @@ -252040,7 +252040,7 @@ paths: - AuthZ: [] summary: List RUM replay session watchers tags: - - Rum Replay Viewership + - RUM Replay Viewership x-permission: operator: OR permissions: @@ -252048,7 +252048,7 @@ paths: /api/v2/rum/replay/sessions/{session_id}/watches: delete: description: Delete session watch history. - operationId: DeleteRumReplaySessionWatch + operationId: DeleteRUMReplaySessionWatch parameters: - description: Unique identifier of the session. in: path @@ -252068,14 +252068,14 @@ paths: - AuthZ: [] summary: Delete RUM replay session watch tags: - - Rum Replay Viewership + - RUM Replay Viewership x-permission: operator: OR permissions: - rum_playlist_write post: description: Record a session watch. - operationId: CreateRumReplaySessionWatch + operationId: CreateRUMReplaySessionWatch parameters: - description: Unique identifier of the session. in: path @@ -252124,7 +252124,7 @@ paths: - AuthZ: [] summary: Create RUM replay session watch tags: - - Rum Replay Viewership + - RUM Replay Viewership x-permission: operator: OR permissions: @@ -252132,7 +252132,7 @@ paths: /api/v2/rum/replay/viewership-history/sessions: get: description: List watched sessions. - operationId: ListRumReplayViewershipHistorySessions + operationId: ListRUMReplayViewershipHistorySessions parameters: - description: Start timestamp in milliseconds for watched_at filter. in: query @@ -252203,7 +252203,7 @@ paths: - AuthZ: [] summary: List RUM replay viewership history sessions tags: - - Rum Replay Viewership + - RUM Replay Viewership x-permission: operator: OR permissions: @@ -288197,6 +288197,8 @@ tags: - description: |- Manage your Real User Monitoring (RUM) applications, and search or aggregate your RUM events over HTTP. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) for more information name: RUM + - description: Auto-generated tag RUM Audience Management + name: RUM Audience Management - description: |- Manage the [Real User Monitoring (RUM)](https://docs.datadoghq.com/real_user_monitoring/) configuration for your organization. @@ -288214,6 +288216,12 @@ tags: Requires `rum_rehydration_filter_read` to list or get configurations, or `rum_rehydration_filter_write` to create, update, or delete them. name: RUM Managed Archives + - description: |- + Manage configuration of [RUM-based metrics](https://app.datadoghq.com/rum/generate-metrics) for your organization. + externalDocs: + description: Find out more at + url: https://docs.datadoghq.com/real_user_monitoring/platform/generate_metrics/ + name: RUM Metrics - description: |- Manage [RUM Operations](https://docs.datadoghq.com/real_user_monitoring/), business transactions detected from RUM events through a configurable journey, and their links @@ -288232,9 +288240,26 @@ tags: description: Find out more at url: https://docs.datadoghq.com/real_user_monitoring/ name: RUM Remote Config + - description: Manage heatmap snapshots for RUM replay sessions. Create, update, delete, and retrieve snapshots to visualize user interactions on specific views. + name: RUM Replay Heatmaps + - description: Create and manage playlists of RUM replay sessions. Organize, categorize, and share collections of replay sessions for analysis and collaboration. + name: RUM Replay Playlists + - description: |- + Retrieve segments for RUM replay sessions. + Access session replay data stored in event platform or blob storage. + name: RUM Replay Sessions + - description: Track and manage RUM replay session viewership. Monitor who watches replay sessions and maintain watch history for audit and analytics purposes. + name: RUM Replay Viewership + - description: |- + Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list) of RUM for your organization. + name: RUM Retention Filters - description: |- Manage RUM retention quota configurations for your organization's RUM applications. name: RUM Retention Quotas + - description: |- + Manage teams ownership mappings between RUM views and the teams that own them. + See . + name: RUM Teams Ownership - description: View and manage Reference Tables in your organization. name: Reference Tables - description: |- @@ -288263,31 +288288,6 @@ tags: Roles can also be managed in bulk through the Datadog UI, which provides the capability to assign a single permission to multiple roles simultaneously. name: Roles - - description: Auto-generated tag Rum Audience Management - name: Rum Audience Management - - description: |- - Manage configuration of [RUM-based metrics](https://app.datadoghq.com/rum/generate-metrics) for your organization. - externalDocs: - description: Find out more at - url: https://docs.datadoghq.com/real_user_monitoring/platform/generate_metrics/ - name: Rum Metrics - - description: Manage heatmap snapshots for RUM replay sessions. Create, update, delete, and retrieve snapshots to visualize user interactions on specific views. - name: Rum Replay Heatmaps - - description: Create and manage playlists of RUM replay sessions. Organize, categorize, and share collections of replay sessions for analysis and collaboration. - name: Rum Replay Playlists - - description: |- - Retrieve segments for RUM replay sessions. - Access session replay data stored in event platform or blob storage. - name: Rum Replay Sessions - - description: Track and manage RUM replay session viewership. Monitor who watches replay sessions and maintain watch history for audit and analytics purposes. - name: Rum Replay Viewership - - description: |- - Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list) of RUM for your organization. - name: Rum Retention Filters - - description: |- - Manage teams ownership mappings between RUM views and the teams that own them. - See . - name: Rum Teams Ownership - description: |- API to create and update scorecard rules and outcomes. See [Scorecards](https://docs.datadoghq.com/service_catalog/scorecards) for more information. name: Scorecards diff --git a/examples/v2/rum-config/CreateRumConfig.java b/examples/v2/rum-config/CreateRUMConfig.java similarity index 57% rename from examples/v2/rum-config/CreateRumConfig.java rename to examples/v2/rum-config/CreateRUMConfig.java index 8fab7ac3440..fbbf0da3032 100644 --- a/examples/v2/rum-config/CreateRumConfig.java +++ b/examples/v2/rum-config/CreateRUMConfig.java @@ -3,31 +3,31 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumConfigApi; -import com.datadog.api.client.v2.model.RumConfigCreateAttributes; -import com.datadog.api.client.v2.model.RumConfigCreateData; -import com.datadog.api.client.v2.model.RumConfigCreateRequest; -import com.datadog.api.client.v2.model.RumConfigResponse; -import com.datadog.api.client.v2.model.RumConfigType; +import com.datadog.api.client.v2.model.RUMConfigCreateAttributes; +import com.datadog.api.client.v2.model.RUMConfigCreateData; +import com.datadog.api.client.v2.model.RUMConfigCreateRequest; +import com.datadog.api.client.v2.model.RUMConfigResponse; +import com.datadog.api.client.v2.model.RUMConfigType; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); - defaultClient.setUnstableOperationEnabled("v2.createRumConfig", true); + defaultClient.setUnstableOperationEnabled("v2.createRUMConfig", true); RumConfigApi apiInstance = new RumConfigApi(defaultClient); - RumConfigCreateRequest body = - new RumConfigCreateRequest() + RUMConfigCreateRequest body = + new RUMConfigCreateRequest() .data( - new RumConfigCreateData() - .attributes(new RumConfigCreateAttributes().enforcedApplicationTags(true)) - .type(RumConfigType.RUM_CONFIG)); + new RUMConfigCreateData() + .attributes(new RUMConfigCreateAttributes().enforcedApplicationTags(true)) + .type(RUMConfigType.RUM_CONFIG)); try { - RumConfigResponse result = apiInstance.createRumConfig(body); + RUMConfigResponse result = apiInstance.createRUMConfig(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumConfigApi#createRumConfig"); + System.err.println("Exception when calling RumConfigApi#createRUMConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-config/GetRumConfig.java b/examples/v2/rum-config/GetRUMConfig.java similarity index 80% rename from examples/v2/rum-config/GetRumConfig.java rename to examples/v2/rum-config/GetRUMConfig.java index 4a4c5fd5449..1f2384cac2d 100644 --- a/examples/v2/rum-config/GetRumConfig.java +++ b/examples/v2/rum-config/GetRUMConfig.java @@ -3,20 +3,20 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumConfigApi; -import com.datadog.api.client.v2.model.RumConfigResponse; +import com.datadog.api.client.v2.model.RUMConfigResponse; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); - defaultClient.setUnstableOperationEnabled("v2.getRumConfig", true); + defaultClient.setUnstableOperationEnabled("v2.getRUMConfig", true); RumConfigApi apiInstance = new RumConfigApi(defaultClient); try { - RumConfigResponse result = apiInstance.getRumConfig(); + RUMConfigResponse result = apiInstance.getRUMConfig(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumConfigApi#getRumConfig"); + System.err.println("Exception when calling RumConfigApi#getRUMConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-config/UpdateRumConfig.java b/examples/v2/rum-config/UpdateRUMConfig.java similarity index 56% rename from examples/v2/rum-config/UpdateRumConfig.java rename to examples/v2/rum-config/UpdateRUMConfig.java index 8718971a4ff..d40ed29aa70 100644 --- a/examples/v2/rum-config/UpdateRumConfig.java +++ b/examples/v2/rum-config/UpdateRUMConfig.java @@ -3,31 +3,31 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumConfigApi; -import com.datadog.api.client.v2.model.RumConfigResponse; -import com.datadog.api.client.v2.model.RumConfigType; -import com.datadog.api.client.v2.model.RumConfigUpdateAttributes; -import com.datadog.api.client.v2.model.RumConfigUpdateData; -import com.datadog.api.client.v2.model.RumConfigUpdateRequest; +import com.datadog.api.client.v2.model.RUMConfigResponse; +import com.datadog.api.client.v2.model.RUMConfigType; +import com.datadog.api.client.v2.model.RUMConfigUpdateAttributes; +import com.datadog.api.client.v2.model.RUMConfigUpdateData; +import com.datadog.api.client.v2.model.RUMConfigUpdateRequest; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); - defaultClient.setUnstableOperationEnabled("v2.updateRumConfig", true); + defaultClient.setUnstableOperationEnabled("v2.updateRUMConfig", true); RumConfigApi apiInstance = new RumConfigApi(defaultClient); - RumConfigUpdateRequest body = - new RumConfigUpdateRequest() + RUMConfigUpdateRequest body = + new RUMConfigUpdateRequest() .data( - new RumConfigUpdateData() - .attributes(new RumConfigUpdateAttributes().enforcedApplicationTags(true)) - .type(RumConfigType.RUM_CONFIG)); + new RUMConfigUpdateData() + .attributes(new RUMConfigUpdateAttributes().enforcedApplicationTags(true)) + .type(RUMConfigType.RUM_CONFIG)); try { - RumConfigResponse result = apiInstance.updateRumConfig(body); + RUMConfigResponse result = apiInstance.updateRUMConfig(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumConfigApi#updateRumConfig"); + System.err.println("Exception when calling RumConfigApi#updateRUMConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-managed-archives/GetRUMArchiveConfig.java b/examples/v2/rum-managed-archives/GetRUMArchiveConfig.java index 5731fc62d84..23016378491 100644 --- a/examples/v2/rum-managed-archives/GetRUMArchiveConfig.java +++ b/examples/v2/rum-managed-archives/GetRUMArchiveConfig.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumManagedArchivesApi; -import com.datadog.api.client.v2.model.RumArchiveConfigResponse; +import com.datadog.api.client.v2.model.RUMArchiveConfigResponse; import java.util.UUID; public class Example { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumManagedArchivesApi apiInstance = new RumManagedArchivesApi(defaultClient); try { - RumArchiveConfigResponse result = + RUMArchiveConfigResponse result = apiInstance.getRUMArchiveConfig(UUID.fromString("a33671aa-24fd-4dcd-ba4b-5bbdbafe7690")); System.out.println(result); } catch (ApiException e) { diff --git a/examples/v2/rum-managed-archives/ListRUMArchiveConfigs.java b/examples/v2/rum-managed-archives/ListRUMArchiveConfigs.java index 71757da1715..310579f34e2 100644 --- a/examples/v2/rum-managed-archives/ListRUMArchiveConfigs.java +++ b/examples/v2/rum-managed-archives/ListRUMArchiveConfigs.java @@ -4,7 +4,7 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumManagedArchivesApi; import com.datadog.api.client.v2.api.RumManagedArchivesApi.ListRUMArchiveConfigsOptionalParameters; -import com.datadog.api.client.v2.model.RumArchiveConfigListResponse; +import com.datadog.api.client.v2.model.RUMArchiveConfigListResponse; public class Example { public static void main(String[] args) { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumManagedArchivesApi apiInstance = new RumManagedArchivesApi(defaultClient); try { - RumArchiveConfigListResponse result = + RUMArchiveConfigListResponse result = apiInstance.listRUMArchiveConfigs( new ListRUMArchiveConfigsOptionalParameters().pageNumber(0).pageSize(1)); System.out.println(result); diff --git a/examples/v2/rum-managed-archives/UpdateRUMArchiveConfig.java b/examples/v2/rum-managed-archives/UpdateRUMArchiveConfig.java index 9bfb19aeca0..f9e754adbe9 100644 --- a/examples/v2/rum-managed-archives/UpdateRUMArchiveConfig.java +++ b/examples/v2/rum-managed-archives/UpdateRUMArchiveConfig.java @@ -3,11 +3,11 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumManagedArchivesApi; -import com.datadog.api.client.v2.model.RumArchiveConfigResponse; -import com.datadog.api.client.v2.model.RumArchiveConfigType; -import com.datadog.api.client.v2.model.RumArchiveConfigUpsertAttributes; -import com.datadog.api.client.v2.model.RumArchiveConfigUpsertData; -import com.datadog.api.client.v2.model.RumArchiveConfigUpsertRequest; +import com.datadog.api.client.v2.model.RUMArchiveConfigResponse; +import com.datadog.api.client.v2.model.RUMArchiveConfigType; +import com.datadog.api.client.v2.model.RUMArchiveConfigUpsertAttributes; +import com.datadog.api.client.v2.model.RUMArchiveConfigUpsertData; +import com.datadog.api.client.v2.model.RUMArchiveConfigUpsertRequest; import java.util.UUID; public class Example { @@ -15,17 +15,17 @@ public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumManagedArchivesApi apiInstance = new RumManagedArchivesApi(defaultClient); - RumArchiveConfigUpsertRequest body = - new RumArchiveConfigUpsertRequest() + RUMArchiveConfigUpsertRequest body = + new RUMArchiveConfigUpsertRequest() .data( - new RumArchiveConfigUpsertData() + new RUMArchiveConfigUpsertData() .attributes( - new RumArchiveConfigUpsertAttributes().enabled(true).retentionDays(90)) + new RUMArchiveConfigUpsertAttributes().enabled(true).retentionDays(90)) .id("a33671aa-24fd-4dcd-ba4b-5bbdbafe7690") - .type(RumArchiveConfigType.RUM_ARCHIVE_CONFIG)); + .type(RUMArchiveConfigType.RUM_ARCHIVE_CONFIG)); try { - RumArchiveConfigResponse result = + RUMArchiveConfigResponse result = apiInstance.updateRUMArchiveConfig( UUID.fromString("a33671aa-24fd-4dcd-ba4b-5bbdbafe7690"), body); System.out.println(result); diff --git a/examples/v2/rum-metrics/CreateRumMetric.java b/examples/v2/rum-metrics/CreateRUMMetric.java similarity index 50% rename from examples/v2/rum-metrics/CreateRumMetric.java rename to examples/v2/rum-metrics/CreateRUMMetric.java index 78782c5bd24..1ed0b418297 100644 --- a/examples/v2/rum-metrics/CreateRumMetric.java +++ b/examples/v2/rum-metrics/CreateRUMMetric.java @@ -3,18 +3,18 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumMetricsApi; -import com.datadog.api.client.v2.model.RumMetricCompute; -import com.datadog.api.client.v2.model.RumMetricComputeAggregationType; -import com.datadog.api.client.v2.model.RumMetricCreateAttributes; -import com.datadog.api.client.v2.model.RumMetricCreateData; -import com.datadog.api.client.v2.model.RumMetricCreateRequest; -import com.datadog.api.client.v2.model.RumMetricEventType; -import com.datadog.api.client.v2.model.RumMetricFilter; -import com.datadog.api.client.v2.model.RumMetricGroupBy; -import com.datadog.api.client.v2.model.RumMetricResponse; -import com.datadog.api.client.v2.model.RumMetricType; -import com.datadog.api.client.v2.model.RumMetricUniqueness; -import com.datadog.api.client.v2.model.RumMetricUniquenessWhen; +import com.datadog.api.client.v2.model.RUMMetricCompute; +import com.datadog.api.client.v2.model.RUMMetricComputeAggregationType; +import com.datadog.api.client.v2.model.RUMMetricCreateAttributes; +import com.datadog.api.client.v2.model.RUMMetricCreateData; +import com.datadog.api.client.v2.model.RUMMetricCreateRequest; +import com.datadog.api.client.v2.model.RUMMetricEventType; +import com.datadog.api.client.v2.model.RUMMetricFilter; +import com.datadog.api.client.v2.model.RUMMetricGroupBy; +import com.datadog.api.client.v2.model.RUMMetricResponse; +import com.datadog.api.client.v2.model.RUMMetricType; +import com.datadog.api.client.v2.model.RUMMetricUniqueness; +import com.datadog.api.client.v2.model.RUMMetricUniquenessWhen; import java.util.Collections; public class Example { @@ -23,34 +23,34 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumMetricsApi apiInstance = new RumMetricsApi(defaultClient); - RumMetricCreateRequest body = - new RumMetricCreateRequest() + RUMMetricCreateRequest body = + new RUMMetricCreateRequest() .data( - new RumMetricCreateData() + new RUMMetricCreateData() .attributes( - new RumMetricCreateAttributes() + new RUMMetricCreateAttributes() .compute( - new RumMetricCompute() - .aggregationType(RumMetricComputeAggregationType.DISTRIBUTION) + new RUMMetricCompute() + .aggregationType(RUMMetricComputeAggregationType.DISTRIBUTION) .includePercentiles(true) .path("@duration")) - .eventType(RumMetricEventType.SESSION) - .filter(new RumMetricFilter().query("@service:web-ui")) + .eventType(RUMMetricEventType.SESSION) + .filter(new RUMMetricFilter().query("@service:web-ui")) .groupBy( Collections.singletonList( - new RumMetricGroupBy() + new RUMMetricGroupBy() .path("@browser.name") .tagName("browser_name"))) .uniqueness( - new RumMetricUniqueness().when(RumMetricUniquenessWhen.WHEN_MATCH))) + new RUMMetricUniqueness().when(RUMMetricUniquenessWhen.WHEN_MATCH))) .id("examplerummetric") - .type(RumMetricType.RUM_METRICS)); + .type(RUMMetricType.RUM_METRICS)); try { - RumMetricResponse result = apiInstance.createRumMetric(body); + RUMMetricResponse result = apiInstance.createRUMMetric(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumMetricsApi#createRumMetric"); + System.err.println("Exception when calling RumMetricsApi#createRUMMetric"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-metrics/DeleteRumMetric.java b/examples/v2/rum-metrics/DeleteRUMMetric.java similarity index 92% rename from examples/v2/rum-metrics/DeleteRumMetric.java rename to examples/v2/rum-metrics/DeleteRUMMetric.java index a79df4ca05f..16b1126a573 100644 --- a/examples/v2/rum-metrics/DeleteRumMetric.java +++ b/examples/v2/rum-metrics/DeleteRUMMetric.java @@ -14,9 +14,9 @@ public static void main(String[] args) { String RUM_METRIC_DATA_ID = System.getenv("RUM_METRIC_DATA_ID"); try { - apiInstance.deleteRumMetric(RUM_METRIC_DATA_ID); + apiInstance.deleteRUMMetric(RUM_METRIC_DATA_ID); } catch (ApiException e) { - System.err.println("Exception when calling RumMetricsApi#deleteRumMetric"); + System.err.println("Exception when calling RumMetricsApi#deleteRUMMetric"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-metrics/GetRumMetric.java b/examples/v2/rum-metrics/GetRUMMetric.java similarity index 87% rename from examples/v2/rum-metrics/GetRumMetric.java rename to examples/v2/rum-metrics/GetRUMMetric.java index c1d3d72f3a4..c1e4500d448 100644 --- a/examples/v2/rum-metrics/GetRumMetric.java +++ b/examples/v2/rum-metrics/GetRUMMetric.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumMetricsApi; -import com.datadog.api.client.v2.model.RumMetricResponse; +import com.datadog.api.client.v2.model.RUMMetricResponse; public class Example { public static void main(String[] args) { @@ -15,10 +15,10 @@ public static void main(String[] args) { String RUM_METRIC_DATA_ID = System.getenv("RUM_METRIC_DATA_ID"); try { - RumMetricResponse result = apiInstance.getRumMetric(RUM_METRIC_DATA_ID); + RUMMetricResponse result = apiInstance.getRUMMetric(RUM_METRIC_DATA_ID); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumMetricsApi#getRumMetric"); + System.err.println("Exception when calling RumMetricsApi#getRUMMetric"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-metrics/ListRumMetrics.java b/examples/v2/rum-metrics/ListRUMMetrics.java similarity index 85% rename from examples/v2/rum-metrics/ListRumMetrics.java rename to examples/v2/rum-metrics/ListRUMMetrics.java index 27d9305be30..d11bdd96979 100644 --- a/examples/v2/rum-metrics/ListRumMetrics.java +++ b/examples/v2/rum-metrics/ListRUMMetrics.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumMetricsApi; -import com.datadog.api.client.v2.model.RumMetricsResponse; +import com.datadog.api.client.v2.model.RUMMetricsResponse; public class Example { public static void main(String[] args) { @@ -12,10 +12,10 @@ public static void main(String[] args) { RumMetricsApi apiInstance = new RumMetricsApi(defaultClient); try { - RumMetricsResponse result = apiInstance.listRumMetrics(); + RUMMetricsResponse result = apiInstance.listRUMMetrics(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumMetricsApi#listRumMetrics"); + System.err.println("Exception when calling RumMetricsApi#listRUMMetrics"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-metrics/UpdateRumMetric.java b/examples/v2/rum-metrics/UpdateRUMMetric.java similarity index 58% rename from examples/v2/rum-metrics/UpdateRumMetric.java rename to examples/v2/rum-metrics/UpdateRUMMetric.java index 2f01a19394f..4f0724ed1cd 100644 --- a/examples/v2/rum-metrics/UpdateRumMetric.java +++ b/examples/v2/rum-metrics/UpdateRUMMetric.java @@ -3,14 +3,14 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumMetricsApi; -import com.datadog.api.client.v2.model.RumMetricFilter; -import com.datadog.api.client.v2.model.RumMetricGroupBy; -import com.datadog.api.client.v2.model.RumMetricResponse; -import com.datadog.api.client.v2.model.RumMetricType; -import com.datadog.api.client.v2.model.RumMetricUpdateAttributes; -import com.datadog.api.client.v2.model.RumMetricUpdateCompute; -import com.datadog.api.client.v2.model.RumMetricUpdateData; -import com.datadog.api.client.v2.model.RumMetricUpdateRequest; +import com.datadog.api.client.v2.model.RUMMetricFilter; +import com.datadog.api.client.v2.model.RUMMetricGroupBy; +import com.datadog.api.client.v2.model.RUMMetricResponse; +import com.datadog.api.client.v2.model.RUMMetricType; +import com.datadog.api.client.v2.model.RUMMetricUpdateAttributes; +import com.datadog.api.client.v2.model.RUMMetricUpdateCompute; +import com.datadog.api.client.v2.model.RUMMetricUpdateData; +import com.datadog.api.client.v2.model.RUMMetricUpdateRequest; import java.util.Collections; public class Example { @@ -22,27 +22,27 @@ public static void main(String[] args) { // there is a valid "rum_metric" in the system String RUM_METRIC_DATA_ID = System.getenv("RUM_METRIC_DATA_ID"); - RumMetricUpdateRequest body = - new RumMetricUpdateRequest() + RUMMetricUpdateRequest body = + new RUMMetricUpdateRequest() .data( - new RumMetricUpdateData() + new RUMMetricUpdateData() .id(RUM_METRIC_DATA_ID) - .type(RumMetricType.RUM_METRICS) + .type(RUMMetricType.RUM_METRICS) .attributes( - new RumMetricUpdateAttributes() - .compute(new RumMetricUpdateCompute().includePercentiles(false)) - .filter(new RumMetricFilter().query("@service:rum-config")) + new RUMMetricUpdateAttributes() + .compute(new RUMMetricUpdateCompute().includePercentiles(false)) + .filter(new RUMMetricFilter().query("@service:rum-config")) .groupBy( Collections.singletonList( - new RumMetricGroupBy() + new RUMMetricGroupBy() .path("@browser.version") .tagName("browser_version"))))); try { - RumMetricResponse result = apiInstance.updateRumMetric(RUM_METRIC_DATA_ID, body); + RUMMetricResponse result = apiInstance.updateRUMMetric(RUM_METRIC_DATA_ID, body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumMetricsApi#updateRumMetric"); + System.err.println("Exception when calling RumMetricsApi#updateRUMMetric"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-operations/CreateRUMOperation.java b/examples/v2/rum-operations/CreateRUMOperation.java index 75e8f82ca7f..2c03714a42a 100644 --- a/examples/v2/rum-operations/CreateRUMOperation.java +++ b/examples/v2/rum-operations/CreateRUMOperation.java @@ -9,7 +9,7 @@ import com.datadog.api.client.v2.model.RUMOperationJourneyCompositeRuleKind; import com.datadog.api.client.v2.model.RUMOperationJourneyNode; import com.datadog.api.client.v2.model.RUMOperationJourneyPredicate; -import com.datadog.api.client.v2.model.RUMOperationJourneyRum; +import com.datadog.api.client.v2.model.RUMOperationJourneyRUM; import com.datadog.api.client.v2.model.RUMOperationJourneyStep; import com.datadog.api.client.v2.model.RUMOperationJourneyStepType; import com.datadog.api.client.v2.model.RUMOperationRequestAttributes; @@ -35,7 +35,7 @@ public static void main(String[] args) { .description(null) .displayName("Checkout completed") .journeyRum( - new RUMOperationJourneyRum() + new RUMOperationJourneyRUM() .rumSteps( Collections.singletonList( new RUMOperationJourneyStep() diff --git a/examples/v2/rum-operations/UpdateRUMOperation.java b/examples/v2/rum-operations/UpdateRUMOperation.java index 6af0c707753..39086fcada2 100644 --- a/examples/v2/rum-operations/UpdateRUMOperation.java +++ b/examples/v2/rum-operations/UpdateRUMOperation.java @@ -7,7 +7,7 @@ import com.datadog.api.client.v2.model.RUMOperationJourneyCompositeRuleKind; import com.datadog.api.client.v2.model.RUMOperationJourneyNode; import com.datadog.api.client.v2.model.RUMOperationJourneyPredicate; -import com.datadog.api.client.v2.model.RUMOperationJourneyRum; +import com.datadog.api.client.v2.model.RUMOperationJourneyRUM; import com.datadog.api.client.v2.model.RUMOperationJourneyStep; import com.datadog.api.client.v2.model.RUMOperationJourneyStepType; import com.datadog.api.client.v2.model.RUMOperationRequestAttributes; @@ -35,7 +35,7 @@ public static void main(String[] args) { .description(null) .displayName("Checkout completed") .journeyRum( - new RUMOperationJourneyRum() + new RUMOperationJourneyRUM() .rumSteps( Collections.singletonList( new RUMOperationJourneyStep() diff --git a/examples/v2/rum-recovery/CreateRUMRecoveryRequest.java b/examples/v2/rum-recovery/CreateRUMRecoveryRequest.java index 89cdffaa9e3..2132cd9b998 100644 --- a/examples/v2/rum-recovery/CreateRUMRecoveryRequest.java +++ b/examples/v2/rum-recovery/CreateRUMRecoveryRequest.java @@ -3,13 +3,13 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumRecoveryCreateAttributes; -import com.datadog.api.client.v2.model.RumRecoveryCreateData; -import com.datadog.api.client.v2.model.RumRecoveryCreateRequest; -import com.datadog.api.client.v2.model.RumRecoveryCreateResponse; -import com.datadog.api.client.v2.model.RumRecoverySessionInput; -import com.datadog.api.client.v2.model.RumRecoverySessionsCreateAttributes; -import com.datadog.api.client.v2.model.RumRecoverySessionsRequestType; +import com.datadog.api.client.v2.model.RUMRecoveryCreateAttributes; +import com.datadog.api.client.v2.model.RUMRecoveryCreateData; +import com.datadog.api.client.v2.model.RUMRecoveryCreateRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCreateResponse; +import com.datadog.api.client.v2.model.RUMRecoverySessionInput; +import com.datadog.api.client.v2.model.RUMRecoverySessionsCreateAttributes; +import com.datadog.api.client.v2.model.RUMRecoverySessionsRequestType; import java.util.Collections; import java.util.UUID; @@ -18,17 +18,17 @@ public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); - RumRecoveryCreateRequest body = - new RumRecoveryCreateRequest() + RUMRecoveryCreateRequest body = + new RUMRecoveryCreateRequest() .data( - new RumRecoveryCreateData() + new RUMRecoveryCreateData() .attributes( - new RumRecoveryCreateAttributes( - new RumRecoverySessionsCreateAttributes() - .requestType(RumRecoverySessionsRequestType.SESSIONS) + new RUMRecoveryCreateAttributes( + new RUMRecoverySessionsCreateAttributes() + .requestType(RUMRecoverySessionsRequestType.SESSIONS) .sessions( Collections.singletonList( - new RumRecoverySessionInput() + new RUMRecoverySessionInput() .applicationId( UUID.fromString( "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690")) @@ -38,7 +38,7 @@ public static void main(String[] args) { .type("rum_recovery_request")); try { - RumRecoveryCreateResponse result = apiInstance.createRUMRecoveryRequest(body); + RUMRecoveryCreateResponse result = apiInstance.createRUMRecoveryRequest(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRecoveryApi#createRUMRecoveryRequest"); diff --git a/examples/v2/rum-recovery/GetRUMRecoveryRequest.java b/examples/v2/rum-recovery/GetRUMRecoveryRequest.java index c9f2251923b..e6a4edadbd7 100644 --- a/examples/v2/rum-recovery/GetRUMRecoveryRequest.java +++ b/examples/v2/rum-recovery/GetRUMRecoveryRequest.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumRecoveryRequestResponse; +import com.datadog.api.client.v2.model.RUMRecoveryRequestResponse; import java.util.UUID; public class Example { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); try { - RumRecoveryRequestResponse result = + RUMRecoveryRequestResponse result = apiInstance.getRUMRecoveryRequest( UUID.fromString("11111111-1111-4111-8111-111111111111")); System.out.println(result); diff --git a/examples/v2/rum-recovery/GetRUMRecoverySessionCount.java b/examples/v2/rum-recovery/GetRUMRecoverySessionCount.java index ade02977251..98ceb1ee0cd 100644 --- a/examples/v2/rum-recovery/GetRUMRecoverySessionCount.java +++ b/examples/v2/rum-recovery/GetRUMRecoverySessionCount.java @@ -3,22 +3,22 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumRecoveryCountAttributes; -import com.datadog.api.client.v2.model.RumRecoveryCountRequest; -import com.datadog.api.client.v2.model.RumRecoveryCountRequestData; -import com.datadog.api.client.v2.model.RumRecoveryCountResponse; +import com.datadog.api.client.v2.model.RUMRecoveryCountAttributes; +import com.datadog.api.client.v2.model.RUMRecoveryCountRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCountRequestData; +import com.datadog.api.client.v2.model.RUMRecoveryCountResponse; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); - RumRecoveryCountRequest body = - new RumRecoveryCountRequest() + RUMRecoveryCountRequest body = + new RUMRecoveryCountRequest() .data( - new RumRecoveryCountRequestData() + new RUMRecoveryCountRequestData() .attributes( - new RumRecoveryCountAttributes() + new RUMRecoveryCountAttributes() .from(1789905600000L) .query("service:web") .to(1789992000000L)) @@ -26,7 +26,7 @@ public static void main(String[] args) { .type("rum_recovery_count")); try { - RumRecoveryCountResponse result = apiInstance.getRUMRecoverySessionCount(body); + RUMRecoveryCountResponse result = apiInstance.getRUMRecoverySessionCount(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRecoveryApi#getRUMRecoverySessionCount"); diff --git a/examples/v2/rum-recovery/GetRUMRecoverySessionCount_4221178610.java b/examples/v2/rum-recovery/GetRUMRecoverySessionCount_4221178610.java index c9677ef781c..3343374c32e 100644 --- a/examples/v2/rum-recovery/GetRUMRecoverySessionCount_4221178610.java +++ b/examples/v2/rum-recovery/GetRUMRecoverySessionCount_4221178610.java @@ -3,29 +3,29 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumRecoveryCountAttributes; -import com.datadog.api.client.v2.model.RumRecoveryCountRequest; -import com.datadog.api.client.v2.model.RumRecoveryCountRequestData; -import com.datadog.api.client.v2.model.RumRecoveryCountResponse; +import com.datadog.api.client.v2.model.RUMRecoveryCountAttributes; +import com.datadog.api.client.v2.model.RUMRecoveryCountRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCountRequestData; +import com.datadog.api.client.v2.model.RUMRecoveryCountResponse; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); - RumRecoveryCountRequest body = - new RumRecoveryCountRequest() + RUMRecoveryCountRequest body = + new RUMRecoveryCountRequest() .data( - new RumRecoveryCountRequestData() + new RUMRecoveryCountRequestData() .type("rum_recovery_count") .attributes( - new RumRecoveryCountAttributes() + new RUMRecoveryCountAttributes() .query("service:rum18600-fixture") .from(1621077071000L) .to(1636629071000L))); try { - RumRecoveryCountResponse result = apiInstance.getRUMRecoverySessionCount(body); + RUMRecoveryCountResponse result = apiInstance.getRUMRecoverySessionCount(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRecoveryApi#getRUMRecoverySessionCount"); diff --git a/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests.java b/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests.java index 85dc5638a24..571a0df91f5 100644 --- a/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests.java +++ b/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests.java @@ -3,8 +3,8 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumRecoveryBatchListResponse; -import com.datadog.api.client.v2.model.RumRecoveryBatchRequestType; +import com.datadog.api.client.v2.model.RUMRecoveryBatchListResponse; +import com.datadog.api.client.v2.model.RUMRecoveryBatchRequestType; public class Example { public static void main(String[] args) { @@ -12,8 +12,8 @@ public static void main(String[] args) { RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); try { - RumRecoveryBatchListResponse result = - apiInstance.listRUMRecoveryBatchRequests(RumRecoveryBatchRequestType.BATCH); + RUMRecoveryBatchListResponse result = + apiInstance.listRUMRecoveryBatchRequests(RUMRecoveryBatchRequestType.BATCH); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRecoveryApi#listRUMRecoveryBatchRequests"); diff --git a/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests_2586058226.java b/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests_2586058226.java index 183de52c4d8..31be69f496d 100644 --- a/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests_2586058226.java +++ b/examples/v2/rum-recovery/ListRUMRecoveryBatchRequests_2586058226.java @@ -4,8 +4,8 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; import com.datadog.api.client.v2.api.RumRecoveryApi.ListRUMRecoveryBatchRequestsOptionalParameters; -import com.datadog.api.client.v2.model.RumRecoveryBatchListResponse; -import com.datadog.api.client.v2.model.RumRecoveryBatchRequestType; +import com.datadog.api.client.v2.model.RUMRecoveryBatchListResponse; +import com.datadog.api.client.v2.model.RUMRecoveryBatchRequestType; public class Example { public static void main(String[] args) { @@ -13,9 +13,9 @@ public static void main(String[] args) { RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); try { - RumRecoveryBatchListResponse result = + RUMRecoveryBatchListResponse result = apiInstance.listRUMRecoveryBatchRequests( - RumRecoveryBatchRequestType.BATCH, + RUMRecoveryBatchRequestType.BATCH, new ListRUMRecoveryBatchRequestsOptionalParameters() .from(1L) .to(2L) diff --git a/examples/v2/rum-recovery/SearchRUMArchiveSessions.java b/examples/v2/rum-recovery/SearchRUMArchiveSessions.java index 957fcfa7ece..e62c4d661e2 100644 --- a/examples/v2/rum-recovery/SearchRUMArchiveSessions.java +++ b/examples/v2/rum-recovery/SearchRUMArchiveSessions.java @@ -3,22 +3,22 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumArchiveSessionsResponse; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchAttributes; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchData; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchRequest; +import com.datadog.api.client.v2.model.RUMArchiveSessionsResponse; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchAttributes; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchData; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchRequest; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); - RumArchiveSessionsSearchRequest body = - new RumArchiveSessionsSearchRequest() + RUMArchiveSessionsSearchRequest body = + new RUMArchiveSessionsSearchRequest() .data( - new RumArchiveSessionsSearchData() + new RUMArchiveSessionsSearchData() .attributes( - new RumArchiveSessionsSearchAttributes() + new RUMArchiveSessionsSearchAttributes() .cursor("example") .from(1789905600000L) .hideRetained(false) @@ -29,7 +29,7 @@ public static void main(String[] args) { .type("rum_archive_sessions_request")); try { - RumArchiveSessionsResponse result = apiInstance.searchRUMArchiveSessions(body); + RUMArchiveSessionsResponse result = apiInstance.searchRUMArchiveSessions(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRecoveryApi#searchRUMArchiveSessions"); diff --git a/examples/v2/rum-recovery/SearchRUMArchiveSessions_3394116303.java b/examples/v2/rum-recovery/SearchRUMArchiveSessions_3394116303.java index cc475f45479..29dac128848 100644 --- a/examples/v2/rum-recovery/SearchRUMArchiveSessions_3394116303.java +++ b/examples/v2/rum-recovery/SearchRUMArchiveSessions_3394116303.java @@ -3,30 +3,30 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumArchiveSessionsResponse; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchAttributes; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchData; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchRequest; +import com.datadog.api.client.v2.model.RUMArchiveSessionsResponse; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchAttributes; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchData; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchRequest; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); - RumArchiveSessionsSearchRequest body = - new RumArchiveSessionsSearchRequest() + RUMArchiveSessionsSearchRequest body = + new RUMArchiveSessionsSearchRequest() .data( - new RumArchiveSessionsSearchData() + new RUMArchiveSessionsSearchData() .type("rum_archive_sessions_request") .attributes( - new RumArchiveSessionsSearchAttributes() + new RUMArchiveSessionsSearchAttributes() .query("service:rum18600-fixture") .from(1636024271000L) .to(1636629071000L) .limit(1))); try { - RumArchiveSessionsResponse result = apiInstance.searchRUMArchiveSessions(body); + RUMArchiveSessionsResponse result = apiInstance.searchRUMArchiveSessions(body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRecoveryApi#searchRUMArchiveSessions"); diff --git a/examples/v2/rum-recovery/UpdateRUMRecoveryBatchRequest.java b/examples/v2/rum-recovery/UpdateRUMRecoveryBatchRequest.java index 01b66625fb0..9ee413c6073 100644 --- a/examples/v2/rum-recovery/UpdateRUMRecoveryBatchRequest.java +++ b/examples/v2/rum-recovery/UpdateRUMRecoveryBatchRequest.java @@ -3,11 +3,11 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRecoveryApi; -import com.datadog.api.client.v2.model.RumRecoveryCancelAttributes; -import com.datadog.api.client.v2.model.RumRecoveryCancelData; -import com.datadog.api.client.v2.model.RumRecoveryCancelRequest; -import com.datadog.api.client.v2.model.RumRecoveryCancelResponse; -import com.datadog.api.client.v2.model.RumRecoveryCancelStatus; +import com.datadog.api.client.v2.model.RUMRecoveryCancelAttributes; +import com.datadog.api.client.v2.model.RUMRecoveryCancelData; +import com.datadog.api.client.v2.model.RUMRecoveryCancelRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCancelResponse; +import com.datadog.api.client.v2.model.RUMRecoveryCancelStatus; import java.util.UUID; public class Example { @@ -15,17 +15,17 @@ public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); RumRecoveryApi apiInstance = new RumRecoveryApi(defaultClient); - RumRecoveryCancelRequest body = - new RumRecoveryCancelRequest() + RUMRecoveryCancelRequest body = + new RUMRecoveryCancelRequest() .data( - new RumRecoveryCancelData() + new RUMRecoveryCancelData() .attributes( - new RumRecoveryCancelAttributes().status(RumRecoveryCancelStatus.CANCELLED)) + new RUMRecoveryCancelAttributes().status(RUMRecoveryCancelStatus.CANCELLED)) .id("11111111-1111-4111-8111-111111111111") .type("rum_recovery_request")); try { - RumRecoveryCancelResponse result = + RUMRecoveryCancelResponse result = apiInstance.updateRUMRecoveryBatchRequest( UUID.fromString("11111111-1111-4111-8111-111111111111"), body); System.out.println(result); diff --git a/examples/v2/rum-remote-config/GetRumSdkConfig.java b/examples/v2/rum-remote-config/GetRUMSdkConfig.java similarity index 77% rename from examples/v2/rum-remote-config/GetRumSdkConfig.java rename to examples/v2/rum-remote-config/GetRUMSdkConfig.java index b47bfa861da..f4a7312bfd3 100644 --- a/examples/v2/rum-remote-config/GetRumSdkConfig.java +++ b/examples/v2/rum-remote-config/GetRUMSdkConfig.java @@ -3,21 +3,21 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRemoteConfigApi; -import com.datadog.api.client.v2.model.RumSdkConfigResponse; +import com.datadog.api.client.v2.model.RUMSdkConfigResponse; public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); - defaultClient.setUnstableOperationEnabled("v2.getRumSdkConfig", true); + defaultClient.setUnstableOperationEnabled("v2.getRUMSdkConfig", true); RumRemoteConfigApi apiInstance = new RumRemoteConfigApi(defaultClient); try { - RumSdkConfigResponse result = - apiInstance.getRumSdkConfig("abc12345-1234-5678-abcd-ef1234567890"); + RUMSdkConfigResponse result = + apiInstance.getRUMSdkConfig("abc12345-1234-5678-abcd-ef1234567890"); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumRemoteConfigApi#getRumSdkConfig"); + System.err.println("Exception when calling RumRemoteConfigApi#getRUMSdkConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-remote-config/UpdateRumSdkConfig.java b/examples/v2/rum-remote-config/UpdateRUMSdkConfig.java similarity index 69% rename from examples/v2/rum-remote-config/UpdateRumSdkConfig.java rename to examples/v2/rum-remote-config/UpdateRUMSdkConfig.java index 6436c00d107..33bf80918ba 100644 --- a/examples/v2/rum-remote-config/UpdateRumSdkConfig.java +++ b/examples/v2/rum-remote-config/UpdateRUMSdkConfig.java @@ -3,22 +3,22 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRemoteConfigApi; -import com.datadog.api.client.v2.model.RumSdkConfigDynamicOption; -import com.datadog.api.client.v2.model.RumSdkConfigDynamicOptionPair; -import com.datadog.api.client.v2.model.RumSdkConfigDynamicOptionSerializedType; -import com.datadog.api.client.v2.model.RumSdkConfigDynamicOptionStrategy; -import com.datadog.api.client.v2.model.RumSdkConfigMatchOption; -import com.datadog.api.client.v2.model.RumSdkConfigMatchOptionSerializedType; -import com.datadog.api.client.v2.model.RumSdkConfigResponse; -import com.datadog.api.client.v2.model.RumSdkConfigRumUpdateAttributes; -import com.datadog.api.client.v2.model.RumSdkConfigSerializedRegex; -import com.datadog.api.client.v2.model.RumSdkConfigSerializedRegexType; -import com.datadog.api.client.v2.model.RumSdkConfigTracingUrlConfig; -import com.datadog.api.client.v2.model.RumSdkConfigTracingUrlPropagatorType; -import com.datadog.api.client.v2.model.RumSdkConfigType; -import com.datadog.api.client.v2.model.RumSdkConfigUpdateAttributes; -import com.datadog.api.client.v2.model.RumSdkConfigUpdateData; -import com.datadog.api.client.v2.model.RumSdkConfigUpdateRequest; +import com.datadog.api.client.v2.model.RUMSdkConfigDynamicOption; +import com.datadog.api.client.v2.model.RUMSdkConfigDynamicOptionPair; +import com.datadog.api.client.v2.model.RUMSdkConfigDynamicOptionSerializedType; +import com.datadog.api.client.v2.model.RUMSdkConfigDynamicOptionStrategy; +import com.datadog.api.client.v2.model.RUMSdkConfigMatchOption; +import com.datadog.api.client.v2.model.RUMSdkConfigMatchOptionSerializedType; +import com.datadog.api.client.v2.model.RUMSdkConfigRUMUpdateAttributes; +import com.datadog.api.client.v2.model.RUMSdkConfigResponse; +import com.datadog.api.client.v2.model.RUMSdkConfigSerializedRegex; +import com.datadog.api.client.v2.model.RUMSdkConfigSerializedRegexType; +import com.datadog.api.client.v2.model.RUMSdkConfigTracingUrlConfig; +import com.datadog.api.client.v2.model.RUMSdkConfigTracingUrlPropagatorType; +import com.datadog.api.client.v2.model.RUMSdkConfigType; +import com.datadog.api.client.v2.model.RUMSdkConfigUpdateAttributes; +import com.datadog.api.client.v2.model.RUMSdkConfigUpdateData; +import com.datadog.api.client.v2.model.RUMSdkConfigUpdateRequest; import java.util.Arrays; import java.util.Collections; @@ -26,49 +26,49 @@ public class Example { public static void main(String[] args) { ApiClient defaultClient = ApiClient.getDefaultApiClient(); defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); - defaultClient.setUnstableOperationEnabled("v2.updateRumSdkConfig", true); + defaultClient.setUnstableOperationEnabled("v2.updateRUMSdkConfig", true); RumRemoteConfigApi apiInstance = new RumRemoteConfigApi(defaultClient); - RumSdkConfigUpdateRequest body = - new RumSdkConfigUpdateRequest() + RUMSdkConfigUpdateRequest body = + new RUMSdkConfigUpdateRequest() .data( - new RumSdkConfigUpdateData() + new RUMSdkConfigUpdateData() .attributes( - new RumSdkConfigUpdateAttributes() + new RUMSdkConfigUpdateAttributes() .rum( - new RumSdkConfigRumUpdateAttributes() + new RUMSdkConfigRUMUpdateAttributes() .allowedTracingUrls( Collections.singletonList( - new RumSdkConfigTracingUrlConfig() + new RUMSdkConfigTracingUrlConfig() .match( - new RumSdkConfigMatchOption() + new RUMSdkConfigMatchOption() .rcSerializedType( - RumSdkConfigMatchOptionSerializedType + RUMSdkConfigMatchOptionSerializedType .STRING) .value("https://app.datadoghq.com")) .propagatorTypes( Arrays.asList( - RumSdkConfigTracingUrlPropagatorType + RUMSdkConfigTracingUrlPropagatorType .DATADOG, - RumSdkConfigTracingUrlPropagatorType + RUMSdkConfigTracingUrlPropagatorType .TRACECONTEXT)))) .allowedTrackingOrigins( Collections.singletonList( - new RumSdkConfigMatchOption() + new RUMSdkConfigMatchOption() .rcSerializedType( - RumSdkConfigMatchOptionSerializedType.STRING) + RUMSdkConfigMatchOptionSerializedType.STRING) .value("https://app.datadoghq.com"))) .context( Collections.singletonList( - new RumSdkConfigDynamicOptionPair() + new RUMSdkConfigDynamicOptionPair() .key("id") .value( - new RumSdkConfigDynamicOption() + new RUMSdkConfigDynamicOption() .attribute("data-version") .extractor( - new RumSdkConfigSerializedRegex() + new RUMSdkConfigSerializedRegex() .rcSerializedType( - RumSdkConfigSerializedRegexType + RUMSdkConfigSerializedRegexType .REGEX) .value( "^https://app-.*.datadoghq.com")) @@ -76,11 +76,11 @@ public static void main(String[] args) { .name("app_version") .path("application.version") .rcSerializedType( - RumSdkConfigDynamicOptionSerializedType + RUMSdkConfigDynamicOptionSerializedType .DYNAMIC) .selector("#app-version") .strategy( - RumSdkConfigDynamicOptionStrategy.JS)))) + RUMSdkConfigDynamicOptionStrategy.JS)))) .defaultPrivacyLevel("mask") .enablePrivacyForActionName(true) .env("production") @@ -91,15 +91,15 @@ public static void main(String[] args) { .trackSessionAcrossSubdomains(false) .user( Collections.singletonList( - new RumSdkConfigDynamicOptionPair() + new RUMSdkConfigDynamicOptionPair() .key("id") .value( - new RumSdkConfigDynamicOption() + new RUMSdkConfigDynamicOption() .attribute("data-version") .extractor( - new RumSdkConfigSerializedRegex() + new RUMSdkConfigSerializedRegex() .rcSerializedType( - RumSdkConfigSerializedRegexType + RUMSdkConfigSerializedRegexType .REGEX) .value( "^https://app-.*.datadoghq.com")) @@ -107,35 +107,35 @@ public static void main(String[] args) { .name("app_version") .path("application.version") .rcSerializedType( - RumSdkConfigDynamicOptionSerializedType + RUMSdkConfigDynamicOptionSerializedType .DYNAMIC) .selector("#app-version") .strategy( - RumSdkConfigDynamicOptionStrategy.JS)))) + RUMSdkConfigDynamicOptionStrategy.JS)))) .version( - new RumSdkConfigDynamicOption() + new RUMSdkConfigDynamicOption() .attribute("data-version") .extractor( - new RumSdkConfigSerializedRegex() + new RUMSdkConfigSerializedRegex() .rcSerializedType( - RumSdkConfigSerializedRegexType.REGEX) + RUMSdkConfigSerializedRegexType.REGEX) .value("^https://app-.*.datadoghq.com")) .key("app.version") .name("app_version") .path("application.version") .rcSerializedType( - RumSdkConfigDynamicOptionSerializedType.DYNAMIC) + RUMSdkConfigDynamicOptionSerializedType.DYNAMIC) .selector("#app-version") - .strategy(RumSdkConfigDynamicOptionStrategy.JS)))) + .strategy(RUMSdkConfigDynamicOptionStrategy.JS)))) .id("abc12345-1234-5678-abcd-ef1234567890") - .type(RumSdkConfigType.RUM_SDK_CONFIG)); + .type(RUMSdkConfigType.RUM_SDK_CONFIG)); try { - RumSdkConfigResponse result = - apiInstance.updateRumSdkConfig("abc12345-1234-5678-abcd-ef1234567890", body); + RUMSdkConfigResponse result = + apiInstance.updateRUMSdkConfig("abc12345-1234-5678-abcd-ef1234567890", body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumRemoteConfigApi#updateRumSdkConfig"); + System.err.println("Exception when calling RumRemoteConfigApi#updateRUMSdkConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.java b/examples/v2/rum-replay-playlists/AddRUMReplaySessionToPlaylist.java similarity index 89% rename from examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.java rename to examples/v2/rum-replay-playlists/AddRUMReplaySessionToPlaylist.java index 5d91a45656d..d06bf15c623 100644 --- a/examples/v2/rum-replay-playlists/AddRumReplaySessionToPlaylist.java +++ b/examples/v2/rum-replay-playlists/AddRUMReplaySessionToPlaylist.java @@ -13,12 +13,12 @@ public static void main(String[] args) { try { PlaylistsSession result = - apiInstance.addRumReplaySessionToPlaylist( + apiInstance.addRUMReplaySessionToPlaylist( 1704067200000L, 1234567L, "00000000-0000-0000-0000-000000000001"); System.out.println(result); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayPlaylistsApi#addRumReplaySessionToPlaylist"); + "Exception when calling RumReplayPlaylistsApi#addRUMReplaySessionToPlaylist"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.java b/examples/v2/rum-replay-playlists/BulkRemoveRUMReplayPlaylistSessions.java similarity index 93% rename from examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.java rename to examples/v2/rum-replay-playlists/BulkRemoveRUMReplayPlaylistSessions.java index 14573feb4bd..940c9fc3492 100644 --- a/examples/v2/rum-replay-playlists/BulkRemoveRumReplayPlaylistSessions.java +++ b/examples/v2/rum-replay-playlists/BulkRemoveRUMReplayPlaylistSessions.java @@ -23,10 +23,10 @@ public static void main(String[] args) { .type(ViewershipHistorySessionDataType.RUM_REPLAY_SESSION))); try { - apiInstance.bulkRemoveRumReplayPlaylistSessions(1234567L, body); + apiInstance.bulkRemoveRUMReplayPlaylistSessions(1234567L, body); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayPlaylistsApi#bulkRemoveRumReplayPlaylistSessions"); + "Exception when calling RumReplayPlaylistsApi#bulkRemoveRUMReplayPlaylistSessions"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.java b/examples/v2/rum-replay-playlists/CreateRUMReplayPlaylist.java similarity index 94% rename from examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.java rename to examples/v2/rum-replay-playlists/CreateRUMReplayPlaylist.java index 5f9374290bd..cf24aff8c48 100644 --- a/examples/v2/rum-replay-playlists/CreateRumReplayPlaylist.java +++ b/examples/v2/rum-replay-playlists/CreateRUMReplayPlaylist.java @@ -30,10 +30,10 @@ public static void main(String[] args) { .type(PlaylistDataType.RUM_REPLAY_PLAYLIST)); try { - Playlist result = apiInstance.createRumReplayPlaylist(body); + Playlist result = apiInstance.createRUMReplayPlaylist(body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumReplayPlaylistsApi#createRumReplayPlaylist"); + System.err.println("Exception when calling RumReplayPlaylistsApi#createRUMReplayPlaylist"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.java b/examples/v2/rum-replay-playlists/DeleteRUMReplayPlaylist.java similarity index 90% rename from examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.java rename to examples/v2/rum-replay-playlists/DeleteRUMReplayPlaylist.java index 0c5029d8be2..e00880afe0d 100644 --- a/examples/v2/rum-replay-playlists/DeleteRumReplayPlaylist.java +++ b/examples/v2/rum-replay-playlists/DeleteRUMReplayPlaylist.java @@ -11,9 +11,9 @@ public static void main(String[] args) { RumReplayPlaylistsApi apiInstance = new RumReplayPlaylistsApi(defaultClient); try { - apiInstance.deleteRumReplayPlaylist(1234567L); + apiInstance.deleteRUMReplayPlaylist(1234567L); } catch (ApiException e) { - System.err.println("Exception when calling RumReplayPlaylistsApi#deleteRumReplayPlaylist"); + System.err.println("Exception when calling RumReplayPlaylistsApi#deleteRUMReplayPlaylist"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/GetRumReplayPlaylist.java b/examples/v2/rum-replay-playlists/GetRUMReplayPlaylist.java similarity index 90% rename from examples/v2/rum-replay-playlists/GetRumReplayPlaylist.java rename to examples/v2/rum-replay-playlists/GetRUMReplayPlaylist.java index 227dfc1f5f7..023d63bd76b 100644 --- a/examples/v2/rum-replay-playlists/GetRumReplayPlaylist.java +++ b/examples/v2/rum-replay-playlists/GetRUMReplayPlaylist.java @@ -12,10 +12,10 @@ public static void main(String[] args) { RumReplayPlaylistsApi apiInstance = new RumReplayPlaylistsApi(defaultClient); try { - Playlist result = apiInstance.getRumReplayPlaylist(1234567L); + Playlist result = apiInstance.getRUMReplayPlaylist(1234567L); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumReplayPlaylistsApi#getRumReplayPlaylist"); + System.err.println("Exception when calling RumReplayPlaylistsApi#getRUMReplayPlaylist"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.java b/examples/v2/rum-replay-playlists/ListRUMReplayPlaylistSessions.java similarity index 87% rename from examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.java rename to examples/v2/rum-replay-playlists/ListRUMReplayPlaylistSessions.java index 1da1e895e95..39db9453535 100644 --- a/examples/v2/rum-replay-playlists/ListRumReplayPlaylistSessions.java +++ b/examples/v2/rum-replay-playlists/ListRUMReplayPlaylistSessions.java @@ -12,11 +12,11 @@ public static void main(String[] args) { RumReplayPlaylistsApi apiInstance = new RumReplayPlaylistsApi(defaultClient); try { - PlaylistsSessionArray result = apiInstance.listRumReplayPlaylistSessions(1234567L); + PlaylistsSessionArray result = apiInstance.listRUMReplayPlaylistSessions(1234567L); System.out.println(result); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayPlaylistsApi#listRumReplayPlaylistSessions"); + "Exception when calling RumReplayPlaylistsApi#listRUMReplayPlaylistSessions"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/ListRumReplayPlaylists.java b/examples/v2/rum-replay-playlists/ListRUMReplayPlaylists.java similarity index 90% rename from examples/v2/rum-replay-playlists/ListRumReplayPlaylists.java rename to examples/v2/rum-replay-playlists/ListRUMReplayPlaylists.java index 665e886b7bf..383adc5659f 100644 --- a/examples/v2/rum-replay-playlists/ListRumReplayPlaylists.java +++ b/examples/v2/rum-replay-playlists/ListRUMReplayPlaylists.java @@ -12,10 +12,10 @@ public static void main(String[] args) { RumReplayPlaylistsApi apiInstance = new RumReplayPlaylistsApi(defaultClient); try { - PlaylistArray result = apiInstance.listRumReplayPlaylists(); + PlaylistArray result = apiInstance.listRUMReplayPlaylists(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumReplayPlaylistsApi#listRumReplayPlaylists"); + System.err.println("Exception when calling RumReplayPlaylistsApi#listRUMReplayPlaylists"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.java b/examples/v2/rum-replay-playlists/RemoveRUMReplaySessionFromPlaylist.java similarity index 85% rename from examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.java rename to examples/v2/rum-replay-playlists/RemoveRUMReplaySessionFromPlaylist.java index f119d2586d6..b007a28c113 100644 --- a/examples/v2/rum-replay-playlists/RemoveRumReplaySessionFromPlaylist.java +++ b/examples/v2/rum-replay-playlists/RemoveRUMReplaySessionFromPlaylist.java @@ -11,11 +11,11 @@ public static void main(String[] args) { RumReplayPlaylistsApi apiInstance = new RumReplayPlaylistsApi(defaultClient); try { - apiInstance.removeRumReplaySessionFromPlaylist( + apiInstance.removeRUMReplaySessionFromPlaylist( 1234567L, "00000000-0000-0000-0000-000000000001"); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayPlaylistsApi#removeRumReplaySessionFromPlaylist"); + "Exception when calling RumReplayPlaylistsApi#removeRUMReplaySessionFromPlaylist"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.java b/examples/v2/rum-replay-playlists/UpdateRUMReplayPlaylist.java similarity index 94% rename from examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.java rename to examples/v2/rum-replay-playlists/UpdateRUMReplayPlaylist.java index dc11fbe6a3c..66b6e101999 100644 --- a/examples/v2/rum-replay-playlists/UpdateRumReplayPlaylist.java +++ b/examples/v2/rum-replay-playlists/UpdateRUMReplayPlaylist.java @@ -30,10 +30,10 @@ public static void main(String[] args) { .type(PlaylistDataType.RUM_REPLAY_PLAYLIST)); try { - Playlist result = apiInstance.updateRumReplayPlaylist(1234567L, body); + Playlist result = apiInstance.updateRUMReplayPlaylist(1234567L, body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumReplayPlaylistsApi#updateRumReplayPlaylist"); + System.err.println("Exception when calling RumReplayPlaylistsApi#updateRUMReplayPlaylist"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.java b/examples/v2/rum-replay-viewership/CreateRUMReplaySessionWatch.java similarity index 94% rename from examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.java rename to examples/v2/rum-replay-viewership/CreateRUMReplaySessionWatch.java index 6c5cbc905e2..a0b27a87c51 100644 --- a/examples/v2/rum-replay-viewership/CreateRumReplaySessionWatch.java +++ b/examples/v2/rum-replay-viewership/CreateRUMReplaySessionWatch.java @@ -28,11 +28,11 @@ public static void main(String[] args) { try { Watch result = - apiInstance.createRumReplaySessionWatch("00000000-0000-0000-0000-000000000001", body); + apiInstance.createRUMReplaySessionWatch("00000000-0000-0000-0000-000000000001", body); System.out.println(result); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayViewershipApi#createRumReplaySessionWatch"); + "Exception when calling RumReplayViewershipApi#createRUMReplaySessionWatch"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.java b/examples/v2/rum-replay-viewership/DeleteRUMReplaySessionWatch.java similarity index 90% rename from examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.java rename to examples/v2/rum-replay-viewership/DeleteRUMReplaySessionWatch.java index 853382bc584..02d14650765 100644 --- a/examples/v2/rum-replay-viewership/DeleteRumReplaySessionWatch.java +++ b/examples/v2/rum-replay-viewership/DeleteRUMReplaySessionWatch.java @@ -11,10 +11,10 @@ public static void main(String[] args) { RumReplayViewershipApi apiInstance = new RumReplayViewershipApi(defaultClient); try { - apiInstance.deleteRumReplaySessionWatch("00000000-0000-0000-0000-000000000001"); + apiInstance.deleteRUMReplaySessionWatch("00000000-0000-0000-0000-000000000001"); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayViewershipApi#deleteRumReplaySessionWatch"); + "Exception when calling RumReplayViewershipApi#deleteRUMReplaySessionWatch"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.java b/examples/v2/rum-replay-viewership/ListRUMReplaySessionWatchers.java similarity index 88% rename from examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.java rename to examples/v2/rum-replay-viewership/ListRUMReplaySessionWatchers.java index 1f904b36592..1c4d5b90d2f 100644 --- a/examples/v2/rum-replay-viewership/ListRumReplaySessionWatchers.java +++ b/examples/v2/rum-replay-viewership/ListRUMReplaySessionWatchers.java @@ -13,11 +13,11 @@ public static void main(String[] args) { try { WatcherArray result = - apiInstance.listRumReplaySessionWatchers("00000000-0000-0000-0000-000000000001"); + apiInstance.listRUMReplaySessionWatchers("00000000-0000-0000-0000-000000000001"); System.out.println(result); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayViewershipApi#listRumReplaySessionWatchers"); + "Exception when calling RumReplayViewershipApi#listRUMReplaySessionWatchers"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.java b/examples/v2/rum-replay-viewership/ListRUMReplayViewershipHistorySessions.java similarity index 88% rename from examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.java rename to examples/v2/rum-replay-viewership/ListRUMReplayViewershipHistorySessions.java index c1229871d17..a4cd8ee3697 100644 --- a/examples/v2/rum-replay-viewership/ListRumReplayViewershipHistorySessions.java +++ b/examples/v2/rum-replay-viewership/ListRUMReplayViewershipHistorySessions.java @@ -12,11 +12,11 @@ public static void main(String[] args) { RumReplayViewershipApi apiInstance = new RumReplayViewershipApi(defaultClient); try { - ViewershipHistorySessionArray result = apiInstance.listRumReplayViewershipHistorySessions(); + ViewershipHistorySessionArray result = apiInstance.listRUMReplayViewershipHistorySessions(); System.out.println(result); } catch (ApiException e) { System.err.println( - "Exception when calling RumReplayViewershipApi#listRumReplayViewershipHistorySessions"); + "Exception when calling RumReplayViewershipApi#listRUMReplayViewershipHistorySessions"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-retention-filters/CreateExclusionFilter.java b/examples/v2/rum-retention-filters/CreateExclusionFilter.java index c6bb0852c4f..873371d8af6 100644 --- a/examples/v2/rum-retention-filters/CreateExclusionFilter.java +++ b/examples/v2/rum-retention-filters/CreateExclusionFilter.java @@ -3,12 +3,12 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumExclusionFilterCreateAttributes; -import com.datadog.api.client.v2.model.RumExclusionFilterCreateData; -import com.datadog.api.client.v2.model.RumExclusionFilterCreateRequest; -import com.datadog.api.client.v2.model.RumExclusionFilterEventType; -import com.datadog.api.client.v2.model.RumExclusionFilterResponse; -import com.datadog.api.client.v2.model.RumExclusionFilterType; +import com.datadog.api.client.v2.model.RUMExclusionFilterCreateAttributes; +import com.datadog.api.client.v2.model.RUMExclusionFilterCreateData; +import com.datadog.api.client.v2.model.RUMExclusionFilterCreateRequest; +import com.datadog.api.client.v2.model.RUMExclusionFilterEventType; +import com.datadog.api.client.v2.model.RUMExclusionFilterResponse; +import com.datadog.api.client.v2.model.RUMExclusionFilterType; public class Example { public static void main(String[] args) { @@ -16,20 +16,20 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); - RumExclusionFilterCreateRequest body = - new RumExclusionFilterCreateRequest() + RUMExclusionFilterCreateRequest body = + new RUMExclusionFilterCreateRequest() .data( - new RumExclusionFilterCreateData() + new RUMExclusionFilterCreateData() .attributes( - new RumExclusionFilterCreateAttributes() + new RUMExclusionFilterCreateAttributes() .enabled(true) - .eventType(RumExclusionFilterEventType.ERROR) + .eventType(RUMExclusionFilterEventType.ERROR) .name("Exclude noisy browser extension errors") .query("@error.message:*extension*")) - .type(RumExclusionFilterType.EXCLUSION_FILTERS)); + .type(RUMExclusionFilterType.EXCLUSION_FILTERS)); try { - RumExclusionFilterResponse result = apiInstance.createExclusionFilter("app_id", body); + RUMExclusionFilterResponse result = apiInstance.createExclusionFilter("app_id", body); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#createExclusionFilter"); diff --git a/examples/v2/rum-retention-filters/CreateRetentionFilter.java b/examples/v2/rum-retention-filters/CreateRetentionFilter.java index 849c49e7d7d..022e67e3f7b 100644 --- a/examples/v2/rum-retention-filters/CreateRetentionFilter.java +++ b/examples/v2/rum-retention-filters/CreateRetentionFilter.java @@ -3,12 +3,12 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumRetentionFilterCreateAttributes; -import com.datadog.api.client.v2.model.RumRetentionFilterCreateData; -import com.datadog.api.client.v2.model.RumRetentionFilterCreateRequest; -import com.datadog.api.client.v2.model.RumRetentionFilterEventType; -import com.datadog.api.client.v2.model.RumRetentionFilterResponse; -import com.datadog.api.client.v2.model.RumRetentionFilterType; +import com.datadog.api.client.v2.model.RUMRetentionFilterCreateAttributes; +import com.datadog.api.client.v2.model.RUMRetentionFilterCreateData; +import com.datadog.api.client.v2.model.RUMRetentionFilterCreateRequest; +import com.datadog.api.client.v2.model.RUMRetentionFilterEventType; +import com.datadog.api.client.v2.model.RUMRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMRetentionFilterType; public class Example { public static void main(String[] args) { @@ -16,21 +16,21 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); - RumRetentionFilterCreateRequest body = - new RumRetentionFilterCreateRequest() + RUMRetentionFilterCreateRequest body = + new RUMRetentionFilterCreateRequest() .data( - new RumRetentionFilterCreateData() - .type(RumRetentionFilterType.RETENTION_FILTERS) + new RUMRetentionFilterCreateData() + .type(RUMRetentionFilterType.RETENTION_FILTERS) .attributes( - new RumRetentionFilterCreateAttributes() + new RUMRetentionFilterCreateAttributes() .name("Test creating retention filter") - .eventType(RumRetentionFilterEventType.SESSION) + .eventType(RUMRetentionFilterEventType.SESSION) .query("custom_query") .sampleRate(50.0) .enabled(true))); try { - RumRetentionFilterResponse result = + RUMRetentionFilterResponse result = apiInstance.createRetentionFilter("a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", body); System.out.println(result); } catch (ApiException e) { diff --git a/examples/v2/rum-retention-filters/GetExclusionFilter.java b/examples/v2/rum-retention-filters/GetExclusionFilter.java index 7bb00b7b074..bd33b7cab38 100644 --- a/examples/v2/rum-retention-filters/GetExclusionFilter.java +++ b/examples/v2/rum-retention-filters/GetExclusionFilter.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumExclusionFilterResponse; +import com.datadog.api.client.v2.model.RUMExclusionFilterResponse; public class Example { public static void main(String[] args) { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); try { - RumExclusionFilterResponse result = apiInstance.getExclusionFilter("app_id", "ef_id"); + RUMExclusionFilterResponse result = apiInstance.getExclusionFilter("app_id", "ef_id"); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#getExclusionFilter"); diff --git a/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java b/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java index ce2bc6cff1f..816b68cf5f4 100644 --- a/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java +++ b/examples/v2/rum-retention-filters/GetPermanentRetentionFilter.java @@ -3,8 +3,8 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterID; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterID; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterResponse; public class Example { public static void main(String[] args) { @@ -13,9 +13,9 @@ public static void main(String[] args) { RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); try { - RumPermanentRetentionFilterResponse result = + RUMPermanentRetentionFilterResponse result = apiInstance.getPermanentRetentionFilter( - "app_id", RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS); + "app_id", RUMPermanentRetentionFilterID.SYNTHETICS_SESSIONS); System.out.println(result); } catch (ApiException e) { System.err.println( diff --git a/examples/v2/rum-retention-filters/GetRetentionFilter.java b/examples/v2/rum-retention-filters/GetRetentionFilter.java index 0271327c842..b9b829288ae 100644 --- a/examples/v2/rum-retention-filters/GetRetentionFilter.java +++ b/examples/v2/rum-retention-filters/GetRetentionFilter.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMRetentionFilterResponse; public class Example { public static void main(String[] args) { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); try { - RumRetentionFilterResponse result = + RUMRetentionFilterResponse result = apiInstance.getRetentionFilter( "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", "4b95d361-f65d-4515-9824-c9aaeba5ac2a"); System.out.println(result); diff --git a/examples/v2/rum-retention-filters/ListExclusionFilters.java b/examples/v2/rum-retention-filters/ListExclusionFilters.java index fed570ec37d..c1ede4bab75 100644 --- a/examples/v2/rum-retention-filters/ListExclusionFilters.java +++ b/examples/v2/rum-retention-filters/ListExclusionFilters.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumExclusionFiltersResponse; +import com.datadog.api.client.v2.model.RUMExclusionFiltersResponse; public class Example { public static void main(String[] args) { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); try { - RumExclusionFiltersResponse result = apiInstance.listExclusionFilters("app_id"); + RUMExclusionFiltersResponse result = apiInstance.listExclusionFilters("app_id"); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling RumRetentionFiltersApi#listExclusionFilters"); diff --git a/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java b/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java index 6670e808eba..7fdb17ccf6b 100644 --- a/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java +++ b/examples/v2/rum-retention-filters/ListPermanentRetentionFilters.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumPermanentRetentionFiltersResponse; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFiltersResponse; public class Example { public static void main(String[] args) { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); try { - RumPermanentRetentionFiltersResponse result = + RUMPermanentRetentionFiltersResponse result = apiInstance.listPermanentRetentionFilters("app_id"); System.out.println(result); } catch (ApiException e) { diff --git a/examples/v2/rum-retention-filters/ListRetentionFilters.java b/examples/v2/rum-retention-filters/ListRetentionFilters.java index 8a1e84860d8..dfc8e72e112 100644 --- a/examples/v2/rum-retention-filters/ListRetentionFilters.java +++ b/examples/v2/rum-retention-filters/ListRetentionFilters.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumRetentionFiltersResponse; +import com.datadog.api.client.v2.model.RUMRetentionFiltersResponse; public class Example { public static void main(String[] args) { @@ -12,7 +12,7 @@ public static void main(String[] args) { RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); try { - RumRetentionFiltersResponse result = + RUMRetentionFiltersResponse result = apiInstance.listRetentionFilters("1d4b9c34-7ac4-423a-91cf-9902d926e9b3"); System.out.println(result); } catch (ApiException e) { diff --git a/examples/v2/rum-retention-filters/OrderRetentionFilters.java b/examples/v2/rum-retention-filters/OrderRetentionFilters.java index 472cabf8f66..a7a890b33d9 100644 --- a/examples/v2/rum-retention-filters/OrderRetentionFilters.java +++ b/examples/v2/rum-retention-filters/OrderRetentionFilters.java @@ -3,10 +3,10 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumRetentionFilterType; -import com.datadog.api.client.v2.model.RumRetentionFiltersOrderData; -import com.datadog.api.client.v2.model.RumRetentionFiltersOrderRequest; -import com.datadog.api.client.v2.model.RumRetentionFiltersOrderResponse; +import com.datadog.api.client.v2.model.RUMRetentionFilterType; +import com.datadog.api.client.v2.model.RUMRetentionFiltersOrderData; +import com.datadog.api.client.v2.model.RUMRetentionFiltersOrderRequest; +import com.datadog.api.client.v2.model.RUMRetentionFiltersOrderResponse; import java.util.Arrays; public class Example { @@ -15,22 +15,22 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); - RumRetentionFiltersOrderRequest body = - new RumRetentionFiltersOrderRequest() + RUMRetentionFiltersOrderRequest body = + new RUMRetentionFiltersOrderRequest() .data( Arrays.asList( - new RumRetentionFiltersOrderData() - .type(RumRetentionFilterType.RETENTION_FILTERS) + new RUMRetentionFiltersOrderData() + .type(RUMRetentionFilterType.RETENTION_FILTERS) .id("325631eb-94c9-49c0-93f9-ab7e4fd24529"), - new RumRetentionFiltersOrderData() - .type(RumRetentionFilterType.RETENTION_FILTERS) + new RUMRetentionFiltersOrderData() + .type(RUMRetentionFilterType.RETENTION_FILTERS) .id("42d89430-5b80-426e-a44b-ba3b417ece25"), - new RumRetentionFiltersOrderData() - .type(RumRetentionFilterType.RETENTION_FILTERS) + new RUMRetentionFiltersOrderData() + .type(RUMRetentionFilterType.RETENTION_FILTERS) .id("bff0bc34-99e9-4c16-adce-f47e71948c23"))); try { - RumRetentionFiltersOrderResponse result = + RUMRetentionFiltersOrderResponse result = apiInstance.orderRetentionFilters("1d4b9c34-7ac4-423a-91cf-9902d926e9b3", body); System.out.println(result); } catch (ApiException e) { diff --git a/examples/v2/rum-retention-filters/UpdateExclusionFilter.java b/examples/v2/rum-retention-filters/UpdateExclusionFilter.java index 3c21bfa3354..c73f0f84627 100644 --- a/examples/v2/rum-retention-filters/UpdateExclusionFilter.java +++ b/examples/v2/rum-retention-filters/UpdateExclusionFilter.java @@ -3,12 +3,12 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumExclusionFilterEventType; -import com.datadog.api.client.v2.model.RumExclusionFilterResponse; -import com.datadog.api.client.v2.model.RumExclusionFilterType; -import com.datadog.api.client.v2.model.RumExclusionFilterUpdateAttributes; -import com.datadog.api.client.v2.model.RumExclusionFilterUpdateData; -import com.datadog.api.client.v2.model.RumExclusionFilterUpdateRequest; +import com.datadog.api.client.v2.model.RUMExclusionFilterEventType; +import com.datadog.api.client.v2.model.RUMExclusionFilterResponse; +import com.datadog.api.client.v2.model.RUMExclusionFilterType; +import com.datadog.api.client.v2.model.RUMExclusionFilterUpdateAttributes; +import com.datadog.api.client.v2.model.RUMExclusionFilterUpdateData; +import com.datadog.api.client.v2.model.RUMExclusionFilterUpdateRequest; public class Example { public static void main(String[] args) { @@ -16,21 +16,21 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); - RumExclusionFilterUpdateRequest body = - new RumExclusionFilterUpdateRequest() + RUMExclusionFilterUpdateRequest body = + new RUMExclusionFilterUpdateRequest() .data( - new RumExclusionFilterUpdateData() + new RUMExclusionFilterUpdateData() .attributes( - new RumExclusionFilterUpdateAttributes() + new RUMExclusionFilterUpdateAttributes() .enabled(true) - .eventType(RumExclusionFilterEventType.ERROR) + .eventType(RUMExclusionFilterEventType.ERROR) .name("Exclude noisy browser extension errors") .query("@error.message:*extension*")) .id("051601eb-54a0-abc0-03f9-cc02efa18892") - .type(RumExclusionFilterType.EXCLUSION_FILTERS)); + .type(RUMExclusionFilterType.EXCLUSION_FILTERS)); try { - RumExclusionFilterResponse result = + RUMExclusionFilterResponse result = apiInstance.updateExclusionFilter("app_id", "ef_id", body); System.out.println(result); } catch (ApiException e) { diff --git a/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java b/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java index 14d13433c8e..232cb7d60b1 100644 --- a/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java +++ b/examples/v2/rum-retention-filters/UpdatePermanentRetentionFilter.java @@ -3,13 +3,13 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumCrossProductSamplingUpdate; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterID; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterResponse; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterType; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterUpdateAttributes; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterUpdateData; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterUpdateRequest; +import com.datadog.api.client.v2.model.RUMCrossProductSamplingUpdate; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterID; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterType; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterUpdateAttributes; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterUpdateData; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterUpdateRequest; public class Example { public static void main(String[] args) { @@ -17,23 +17,23 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); - RumPermanentRetentionFilterUpdateRequest body = - new RumPermanentRetentionFilterUpdateRequest() + RUMPermanentRetentionFilterUpdateRequest body = + new RUMPermanentRetentionFilterUpdateRequest() .data( - new RumPermanentRetentionFilterUpdateData() + new RUMPermanentRetentionFilterUpdateData() .attributes( - new RumPermanentRetentionFilterUpdateAttributes() + new RUMPermanentRetentionFilterUpdateAttributes() .crossProductSampling( - new RumCrossProductSamplingUpdate() + new RUMCrossProductSamplingUpdate() .traceEnabled(true) .traceSampleRate(25.0))) - .id(RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS) - .type(RumPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS)); + .id(RUMPermanentRetentionFilterID.SYNTHETICS_SESSIONS) + .type(RUMPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS)); try { - RumPermanentRetentionFilterResponse result = + RUMPermanentRetentionFilterResponse result = apiInstance.updatePermanentRetentionFilter( - "app_id", RumPermanentRetentionFilterID.SYNTHETICS_SESSIONS, body); + "app_id", RUMPermanentRetentionFilterID.SYNTHETICS_SESSIONS, body); System.out.println(result); } catch (ApiException e) { System.err.println( diff --git a/examples/v2/rum-retention-filters/UpdateRetentionFilter.java b/examples/v2/rum-retention-filters/UpdateRetentionFilter.java index 73df2b2cf03..90fb73c9f7e 100644 --- a/examples/v2/rum-retention-filters/UpdateRetentionFilter.java +++ b/examples/v2/rum-retention-filters/UpdateRetentionFilter.java @@ -3,12 +3,12 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionFiltersApi; -import com.datadog.api.client.v2.model.RumRetentionFilterEventType; -import com.datadog.api.client.v2.model.RumRetentionFilterResponse; -import com.datadog.api.client.v2.model.RumRetentionFilterType; -import com.datadog.api.client.v2.model.RumRetentionFilterUpdateAttributes; -import com.datadog.api.client.v2.model.RumRetentionFilterUpdateData; -import com.datadog.api.client.v2.model.RumRetentionFilterUpdateRequest; +import com.datadog.api.client.v2.model.RUMRetentionFilterEventType; +import com.datadog.api.client.v2.model.RUMRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMRetentionFilterType; +import com.datadog.api.client.v2.model.RUMRetentionFilterUpdateAttributes; +import com.datadog.api.client.v2.model.RUMRetentionFilterUpdateData; +import com.datadog.api.client.v2.model.RUMRetentionFilterUpdateRequest; public class Example { public static void main(String[] args) { @@ -16,22 +16,22 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionFiltersApi apiInstance = new RumRetentionFiltersApi(defaultClient); - RumRetentionFilterUpdateRequest body = - new RumRetentionFilterUpdateRequest() + RUMRetentionFilterUpdateRequest body = + new RUMRetentionFilterUpdateRequest() .data( - new RumRetentionFilterUpdateData() + new RUMRetentionFilterUpdateData() .id("4b95d361-f65d-4515-9824-c9aaeba5ac2a") - .type(RumRetentionFilterType.RETENTION_FILTERS) + .type(RUMRetentionFilterType.RETENTION_FILTERS) .attributes( - new RumRetentionFilterUpdateAttributes() + new RUMRetentionFilterUpdateAttributes() .name("Test updating retention filter") - .eventType(RumRetentionFilterEventType.VIEW) + .eventType(RUMRetentionFilterEventType.VIEW) .query("view_query") .sampleRate(100.0) .enabled(true))); try { - RumRetentionFilterResponse result = + RUMRetentionFilterResponse result = apiInstance.updateRetentionFilter( "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690", "4b95d361-f65d-4515-9824-c9aaeba5ac2a", body); System.out.println(result); diff --git a/examples/v2/rum-retention-quotas/DeleteRumQuotaConfig.java b/examples/v2/rum-retention-quotas/DeleteRUMQuotaConfig.java similarity index 81% rename from examples/v2/rum-retention-quotas/DeleteRumQuotaConfig.java rename to examples/v2/rum-retention-quotas/DeleteRUMQuotaConfig.java index 17de92bd762..cee21595959 100644 --- a/examples/v2/rum-retention-quotas/DeleteRumQuotaConfig.java +++ b/examples/v2/rum-retention-quotas/DeleteRUMQuotaConfig.java @@ -3,7 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionQuotasApi; -import com.datadog.api.client.v2.model.RumRetentionQuotaScopeType; +import com.datadog.api.client.v2.model.RUMRetentionQuotaScopeType; public class Example { public static void main(String[] args) { @@ -12,10 +12,10 @@ public static void main(String[] args) { RumRetentionQuotasApi apiInstance = new RumRetentionQuotasApi(defaultClient); try { - apiInstance.deleteRumQuotaConfig( - RumRetentionQuotaScopeType.APPLICATION, "cd73a516-a481-4af5-8352-9b577465c77b"); + apiInstance.deleteRUMQuotaConfig( + RUMRetentionQuotaScopeType.APPLICATION, "cd73a516-a481-4af5-8352-9b577465c77b"); } catch (ApiException e) { - System.err.println("Exception when calling RumRetentionQuotasApi#deleteRumQuotaConfig"); + System.err.println("Exception when calling RumRetentionQuotasApi#deleteRUMQuotaConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-retention-quotas/GetRumQuotaConfig.java b/examples/v2/rum-retention-quotas/GetRUMQuotaConfig.java similarity index 74% rename from examples/v2/rum-retention-quotas/GetRumQuotaConfig.java rename to examples/v2/rum-retention-quotas/GetRUMQuotaConfig.java index 8a3bde77aa6..4ad9076d629 100644 --- a/examples/v2/rum-retention-quotas/GetRumQuotaConfig.java +++ b/examples/v2/rum-retention-quotas/GetRUMQuotaConfig.java @@ -3,8 +3,8 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionQuotasApi; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigResponse; -import com.datadog.api.client.v2.model.RumRetentionQuotaScopeType; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigResponse; +import com.datadog.api.client.v2.model.RUMRetentionQuotaScopeType; public class Example { public static void main(String[] args) { @@ -13,12 +13,12 @@ public static void main(String[] args) { RumRetentionQuotasApi apiInstance = new RumRetentionQuotasApi(defaultClient); try { - RumRetentionQuotaConfigResponse result = - apiInstance.getRumQuotaConfig( - RumRetentionQuotaScopeType.APPLICATION, "cd73a516-a481-4af5-8352-9b577465c77b"); + RUMRetentionQuotaConfigResponse result = + apiInstance.getRUMQuotaConfig( + RUMRetentionQuotaScopeType.APPLICATION, "cd73a516-a481-4af5-8352-9b577465c77b"); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumRetentionQuotasApi#getRumQuotaConfig"); + System.err.println("Exception when calling RumRetentionQuotasApi#getRUMQuotaConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/examples/v2/rum-retention-quotas/UpsertRumQuotaConfig.java b/examples/v2/rum-retention-quotas/UpsertRUMQuotaConfig.java similarity index 50% rename from examples/v2/rum-retention-quotas/UpsertRumQuotaConfig.java rename to examples/v2/rum-retention-quotas/UpsertRUMQuotaConfig.java index 0a08ec3a94d..4fd04b16dbc 100644 --- a/examples/v2/rum-retention-quotas/UpsertRumQuotaConfig.java +++ b/examples/v2/rum-retention-quotas/UpsertRUMQuotaConfig.java @@ -3,16 +3,16 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.RumRetentionQuotasApi; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigResponse; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigType; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigUpdateAttributes; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigUpdateData; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigUpdateRequest; -import com.datadog.api.client.v2.model.RumRetentionQuotaCustomConfig; -import com.datadog.api.client.v2.model.RumRetentionQuotaMode; -import com.datadog.api.client.v2.model.RumRetentionQuotaReachedAction; -import com.datadog.api.client.v2.model.RumRetentionQuotaScopeType; -import com.datadog.api.client.v2.model.RumRetentionQuotaWindowType; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigResponse; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigType; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigUpdateAttributes; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigUpdateData; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigUpdateRequest; +import com.datadog.api.client.v2.model.RUMRetentionQuotaCustomConfig; +import com.datadog.api.client.v2.model.RUMRetentionQuotaMode; +import com.datadog.api.client.v2.model.RUMRetentionQuotaReachedAction; +import com.datadog.api.client.v2.model.RUMRetentionQuotaScopeType; +import com.datadog.api.client.v2.model.RUMRetentionQuotaWindowType; public class Example { public static void main(String[] args) { @@ -20,30 +20,30 @@ public static void main(String[] args) { defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN")); RumRetentionQuotasApi apiInstance = new RumRetentionQuotasApi(defaultClient); - RumRetentionQuotaConfigUpdateRequest body = - new RumRetentionQuotaConfigUpdateRequest() + RUMRetentionQuotaConfigUpdateRequest body = + new RUMRetentionQuotaConfigUpdateRequest() .data( - new RumRetentionQuotaConfigUpdateData() + new RUMRetentionQuotaConfigUpdateData() .attributes( - new RumRetentionQuotaConfigUpdateAttributes() + new RUMRetentionQuotaConfigUpdateAttributes() .custom( - new RumRetentionQuotaCustomConfig() + new RUMRetentionQuotaCustomConfig() .dailyResetTime("08:00") .dailyResetTimezone("+09:00") - .quotaReachedAction(RumRetentionQuotaReachedAction.STOP) + .quotaReachedAction(RUMRetentionQuotaReachedAction.STOP) .sessionLimit(1000000L) - .windowType(RumRetentionQuotaWindowType.DAILY)) - .mode(RumRetentionQuotaMode.CUSTOM)) + .windowType(RUMRetentionQuotaWindowType.DAILY)) + .mode(RUMRetentionQuotaMode.CUSTOM)) .id("cd73a516-a481-4af5-8352-9b577465c77b") - .type(RumRetentionQuotaConfigType.RUM_QUOTA_CONFIG)); + .type(RUMRetentionQuotaConfigType.RUM_QUOTA_CONFIG)); try { - RumRetentionQuotaConfigResponse result = - apiInstance.upsertRumQuotaConfig( - RumRetentionQuotaScopeType.APPLICATION, "cd73a516-a481-4af5-8352-9b577465c77b", body); + RUMRetentionQuotaConfigResponse result = + apiInstance.upsertRUMQuotaConfig( + RUMRetentionQuotaScopeType.APPLICATION, "cd73a516-a481-4af5-8352-9b577465c77b", body); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling RumRetentionQuotasApi#upsertRumQuotaConfig"); + System.err.println("Exception when calling RumRetentionQuotasApi#upsertRUMQuotaConfig"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index e1726d750e5..8208c92a87d 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -1729,8 +1729,8 @@ public class ApiClient { put("v2.getPrunedTraceByID", false); put("v2.getTraceByID", false); put("v2.getAsmServiceByName", false); - put("v2.getRumSdkConfig", false); - put("v2.updateRumSdkConfig", false); + put("v2.getRUMSdkConfig", false); + put("v2.updateRUMSdkConfig", false); put("v2.createReportSchedule", false); put("v2.patchReportSchedule", false); put("v2.deleteSourcemaps", false); @@ -1738,9 +1738,9 @@ public class ApiClient { put("v2.getSourcemaps", false); put("v2.listSourcemaps", false); put("v2.restoreSourcemaps", false); - put("v2.createRumConfig", false); - put("v2.getRumConfig", false); - put("v2.updateRumConfig", false); + put("v2.createRUMConfig", false); + put("v2.getRUMConfig", false); + put("v2.updateRUMConfig", false); put("v2.createTeamsOwnershipMapping", false); put("v2.createTeamsOwnershipMappingsBatch", false); put("v2.deleteTeamsOwnershipMapping", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/RumConfigApi.java b/src/main/java/com/datadog/api/client/v2/api/RumConfigApi.java index c23da1f711e..649070b9710 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumConfigApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumConfigApi.java @@ -4,9 +4,9 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumConfigCreateRequest; -import com.datadog.api.client.v2.model.RumConfigResponse; -import com.datadog.api.client.v2.model.RumConfigUpdateRequest; +import com.datadog.api.client.v2.model.RUMConfigCreateRequest; +import com.datadog.api.client.v2.model.RUMConfigResponse; +import com.datadog.api.client.v2.model.RUMConfigUpdateRequest; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -48,26 +48,26 @@ public void setApiClient(ApiClient apiClient) { /** * Create the RUM configuration. * - *

See {@link #createRumConfigWithHttpInfo}. + *

See {@link #createRUMConfigWithHttpInfo}. * * @param body The definition of the RUM configuration to create. (required) - * @return RumConfigResponse + * @return RUMConfigResponse * @throws ApiException if fails to make API call */ - public RumConfigResponse createRumConfig(RumConfigCreateRequest body) throws ApiException { - return createRumConfigWithHttpInfo(body).getData(); + public RUMConfigResponse createRUMConfig(RUMConfigCreateRequest body) throws ApiException { + return createRUMConfigWithHttpInfo(body).getData(); } /** * Create the RUM configuration. * - *

See {@link #createRumConfigWithHttpInfoAsync}. + *

See {@link #createRUMConfigWithHttpInfoAsync}. * * @param body The definition of the RUM configuration to create. (required) - * @return CompletableFuture<RumConfigResponse> + * @return CompletableFuture<RUMConfigResponse> */ - public CompletableFuture createRumConfigAsync(RumConfigCreateRequest body) { - return createRumConfigWithHttpInfoAsync(body) + public CompletableFuture createRUMConfigAsync(RUMConfigCreateRequest body) { + return createRUMConfigWithHttpInfoAsync(body) .thenApply( response -> { return response.getData(); @@ -79,7 +79,7 @@ public CompletableFuture createRumConfigAsync(RumConfigCreate * the request body when the request is successful. * * @param body The definition of the RUM configuration to create. (required) - * @return ApiResponse<RumConfigResponse> + * @return ApiResponse<RUMConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -91,10 +91,10 @@ public CompletableFuture createRumConfigAsync(RumConfigCreate * *
429 Too many requests -
*/ - public ApiResponse createRumConfigWithHttpInfo(RumConfigCreateRequest body) + public ApiResponse createRUMConfigWithHttpInfo(RUMConfigCreateRequest body) throws ApiException { // Check if unstable operation is enabled - String operationId = "createRumConfig"; + String operationId = "createRUMConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -105,7 +105,7 @@ public ApiResponse createRumConfigWithHttpInfo(RumConfigCreat // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling createRumConfig"); + 400, "Missing the required parameter 'body' when calling createRUMConfig"); } // create path and map variables String localVarPath = "/api/v2/rum/config"; @@ -114,7 +114,7 @@ public ApiResponse createRumConfigWithHttpInfo(RumConfigCreat Invocation.Builder builder = apiClient.createBuilder( - "v2.RumConfigApi.createRumConfig", + "v2.RumConfigApi.createRUMConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -129,25 +129,25 @@ public ApiResponse createRumConfigWithHttpInfo(RumConfigCreat localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Create the RUM configuration. * - *

See {@link #createRumConfigWithHttpInfo}. + *

See {@link #createRUMConfigWithHttpInfo}. * * @param body The definition of the RUM configuration to create. (required) - * @return CompletableFuture<ApiResponse<RumConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMConfigResponse>> */ - public CompletableFuture> createRumConfigWithHttpInfoAsync( - RumConfigCreateRequest body) { + public CompletableFuture> createRUMConfigWithHttpInfoAsync( + RUMConfigCreateRequest body) { // Check if unstable operation is enabled - String operationId = "createRumConfig"; + String operationId = "createRUMConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; @@ -156,10 +156,10 @@ public CompletableFuture> createRumConfigWithHttp // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling createRumConfig")); + 400, "Missing the required parameter 'body' when calling createRUMConfig")); return result; } // create path and map variables @@ -171,7 +171,7 @@ public CompletableFuture> createRumConfigWithHttp try { builder = apiClient.createBuilder( - "v2.RumConfigApi.createRumConfig", + "v2.RumConfigApi.createRUMConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -179,7 +179,7 @@ public CompletableFuture> createRumConfigWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -191,30 +191,30 @@ public CompletableFuture> createRumConfigWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get the RUM configuration. * - *

See {@link #getRumConfigWithHttpInfo}. + *

See {@link #getRUMConfigWithHttpInfo}. * - * @return RumConfigResponse + * @return RUMConfigResponse * @throws ApiException if fails to make API call */ - public RumConfigResponse getRumConfig() throws ApiException { - return getRumConfigWithHttpInfo().getData(); + public RUMConfigResponse getRUMConfig() throws ApiException { + return getRUMConfigWithHttpInfo().getData(); } /** * Get the RUM configuration. * - *

See {@link #getRumConfigWithHttpInfoAsync}. + *

See {@link #getRUMConfigWithHttpInfoAsync}. * - * @return CompletableFuture<RumConfigResponse> + * @return CompletableFuture<RUMConfigResponse> */ - public CompletableFuture getRumConfigAsync() { - return getRumConfigWithHttpInfoAsync() + public CompletableFuture getRUMConfigAsync() { + return getRUMConfigWithHttpInfoAsync() .thenApply( response -> { return response.getData(); @@ -224,7 +224,7 @@ public CompletableFuture getRumConfigAsync() { /** * Get the RUM configuration for your organization. * - * @return ApiResponse<RumConfigResponse> + * @return ApiResponse<RUMConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -235,9 +235,9 @@ public CompletableFuture getRumConfigAsync() { * *
429 Too many requests -
*/ - public ApiResponse getRumConfigWithHttpInfo() throws ApiException { + public ApiResponse getRUMConfigWithHttpInfo() throws ApiException { // Check if unstable operation is enabled - String operationId = "getRumConfig"; + String operationId = "getRUMConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -251,7 +251,7 @@ public ApiResponse getRumConfigWithHttpInfo() throws ApiExcep Invocation.Builder builder = apiClient.createBuilder( - "v2.RumConfigApi.getRumConfig", + "v2.RumConfigApi.getRUMConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -266,23 +266,23 @@ public ApiResponse getRumConfigWithHttpInfo() throws ApiExcep localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get the RUM configuration. * - *

See {@link #getRumConfigWithHttpInfo}. + *

See {@link #getRUMConfigWithHttpInfo}. * - * @return CompletableFuture<ApiResponse<RumConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMConfigResponse>> */ - public CompletableFuture> getRumConfigWithHttpInfoAsync() { + public CompletableFuture> getRUMConfigWithHttpInfoAsync() { // Check if unstable operation is enabled - String operationId = "getRumConfig"; + String operationId = "getRUMConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; @@ -297,7 +297,7 @@ public CompletableFuture> getRumConfigWithHttpInf try { builder = apiClient.createBuilder( - "v2.RumConfigApi.getRumConfig", + "v2.RumConfigApi.getRUMConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -305,7 +305,7 @@ public CompletableFuture> getRumConfigWithHttpInf new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -317,32 +317,32 @@ public CompletableFuture> getRumConfigWithHttpInf localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Update the RUM configuration. * - *

See {@link #updateRumConfigWithHttpInfo}. + *

See {@link #updateRUMConfigWithHttpInfo}. * * @param body New definition of the RUM configuration. (required) - * @return RumConfigResponse + * @return RUMConfigResponse * @throws ApiException if fails to make API call */ - public RumConfigResponse updateRumConfig(RumConfigUpdateRequest body) throws ApiException { - return updateRumConfigWithHttpInfo(body).getData(); + public RUMConfigResponse updateRUMConfig(RUMConfigUpdateRequest body) throws ApiException { + return updateRUMConfigWithHttpInfo(body).getData(); } /** * Update the RUM configuration. * - *

See {@link #updateRumConfigWithHttpInfoAsync}. + *

See {@link #updateRUMConfigWithHttpInfoAsync}. * * @param body New definition of the RUM configuration. (required) - * @return CompletableFuture<RumConfigResponse> + * @return CompletableFuture<RUMConfigResponse> */ - public CompletableFuture updateRumConfigAsync(RumConfigUpdateRequest body) { - return updateRumConfigWithHttpInfoAsync(body) + public CompletableFuture updateRUMConfigAsync(RUMConfigUpdateRequest body) { + return updateRUMConfigWithHttpInfoAsync(body) .thenApply( response -> { return response.getData(); @@ -354,7 +354,7 @@ public CompletableFuture updateRumConfigAsync(RumConfigUpdate * the request body when the request is successful. * * @param body New definition of the RUM configuration. (required) - * @return ApiResponse<RumConfigResponse> + * @return ApiResponse<RUMConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -366,10 +366,10 @@ public CompletableFuture updateRumConfigAsync(RumConfigUpdate * *
429 Too many requests -
*/ - public ApiResponse updateRumConfigWithHttpInfo(RumConfigUpdateRequest body) + public ApiResponse updateRUMConfigWithHttpInfo(RUMConfigUpdateRequest body) throws ApiException { // Check if unstable operation is enabled - String operationId = "updateRumConfig"; + String operationId = "updateRUMConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -380,7 +380,7 @@ public ApiResponse updateRumConfigWithHttpInfo(RumConfigUpdat // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumConfig"); + 400, "Missing the required parameter 'body' when calling updateRUMConfig"); } // create path and map variables String localVarPath = "/api/v2/rum/config"; @@ -389,7 +389,7 @@ public ApiResponse updateRumConfigWithHttpInfo(RumConfigUpdat Invocation.Builder builder = apiClient.createBuilder( - "v2.RumConfigApi.updateRumConfig", + "v2.RumConfigApi.updateRUMConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -404,25 +404,25 @@ public ApiResponse updateRumConfigWithHttpInfo(RumConfigUpdat localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Update the RUM configuration. * - *

See {@link #updateRumConfigWithHttpInfo}. + *

See {@link #updateRUMConfigWithHttpInfo}. * * @param body New definition of the RUM configuration. (required) - * @return CompletableFuture<ApiResponse<RumConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMConfigResponse>> */ - public CompletableFuture> updateRumConfigWithHttpInfoAsync( - RumConfigUpdateRequest body) { + public CompletableFuture> updateRUMConfigWithHttpInfoAsync( + RUMConfigUpdateRequest body) { // Check if unstable operation is enabled - String operationId = "updateRumConfig"; + String operationId = "updateRUMConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; @@ -431,10 +431,10 @@ public CompletableFuture> updateRumConfigWithHttp // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumConfig")); + 400, "Missing the required parameter 'body' when calling updateRUMConfig")); return result; } // create path and map variables @@ -446,7 +446,7 @@ public CompletableFuture> updateRumConfigWithHttp try { builder = apiClient.createBuilder( - "v2.RumConfigApi.updateRumConfig", + "v2.RumConfigApi.updateRUMConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -454,7 +454,7 @@ public CompletableFuture> updateRumConfigWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -466,6 +466,6 @@ public CompletableFuture> updateRumConfigWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } diff --git a/src/main/java/com/datadog/api/client/v2/api/RumManagedArchivesApi.java b/src/main/java/com/datadog/api/client/v2/api/RumManagedArchivesApi.java index 7ff0afa811c..4201cd91339 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumManagedArchivesApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumManagedArchivesApi.java @@ -4,9 +4,9 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumArchiveConfigListResponse; -import com.datadog.api.client.v2.model.RumArchiveConfigResponse; -import com.datadog.api.client.v2.model.RumArchiveConfigUpsertRequest; +import com.datadog.api.client.v2.model.RUMArchiveConfigListResponse; +import com.datadog.api.client.v2.model.RUMArchiveConfigResponse; +import com.datadog.api.client.v2.model.RUMArchiveConfigUpsertRequest; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -188,10 +188,10 @@ public CompletableFuture> deleteRUMArchiveConfigWithHttpInfoAs *

See {@link #getRUMArchiveConfigWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return RumArchiveConfigResponse + * @return RUMArchiveConfigResponse * @throws ApiException if fails to make API call */ - public RumArchiveConfigResponse getRUMArchiveConfig(UUID appId) throws ApiException { + public RUMArchiveConfigResponse getRUMArchiveConfig(UUID appId) throws ApiException { return getRUMArchiveConfigWithHttpInfo(appId).getData(); } @@ -201,9 +201,9 @@ public RumArchiveConfigResponse getRUMArchiveConfig(UUID appId) throws ApiExcept *

See {@link #getRUMArchiveConfigWithHttpInfoAsync}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<RumArchiveConfigResponse> + * @return CompletableFuture<RUMArchiveConfigResponse> */ - public CompletableFuture getRUMArchiveConfigAsync(UUID appId) { + public CompletableFuture getRUMArchiveConfigAsync(UUID appId) { return getRUMArchiveConfigWithHttpInfoAsync(appId) .thenApply( response -> { @@ -215,7 +215,7 @@ public CompletableFuture getRUMArchiveConfigAsync(UUID * Get the archive configuration for a RUM application. * * @param appId RUM application ID. (required) - * @return ApiResponse<RumArchiveConfigResponse> + * @return ApiResponse<RUMArchiveConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -229,7 +229,7 @@ public CompletableFuture getRUMArchiveConfigAsync(UUID * *
429 Too Many Requests -
*/ - public ApiResponse getRUMArchiveConfigWithHttpInfo(UUID appId) + public ApiResponse getRUMArchiveConfigWithHttpInfo(UUID appId) throws ApiException { Object localVarPostBody = null; @@ -262,7 +262,7 @@ public ApiResponse getRUMArchiveConfigWithHttpInfo(UUI localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -271,15 +271,15 @@ public ApiResponse getRUMArchiveConfigWithHttpInfo(UUI *

See {@link #getRUMArchiveConfigWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<ApiResponse<RumArchiveConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMArchiveConfigResponse>> */ - public CompletableFuture> + public CompletableFuture> getRUMArchiveConfigWithHttpInfoAsync(UUID appId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling getRUMArchiveConfig")); @@ -304,7 +304,7 @@ public ApiResponse getRUMArchiveConfigWithHttpInfo(UUI new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -316,7 +316,7 @@ public ApiResponse getRUMArchiveConfigWithHttpInfo(UUI localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** Manage optional parameters to listRUMArchiveConfigs. */ @@ -352,10 +352,10 @@ public ListRUMArchiveConfigsOptionalParameters pageSize(Integer pageSize) { * *

See {@link #listRUMArchiveConfigsWithHttpInfo}. * - * @return RumArchiveConfigListResponse + * @return RUMArchiveConfigListResponse * @throws ApiException if fails to make API call */ - public RumArchiveConfigListResponse listRUMArchiveConfigs() throws ApiException { + public RUMArchiveConfigListResponse listRUMArchiveConfigs() throws ApiException { return listRUMArchiveConfigsWithHttpInfo(new ListRUMArchiveConfigsOptionalParameters()) .getData(); } @@ -365,9 +365,9 @@ public RumArchiveConfigListResponse listRUMArchiveConfigs() throws ApiException * *

See {@link #listRUMArchiveConfigsWithHttpInfoAsync}. * - * @return CompletableFuture<RumArchiveConfigListResponse> + * @return CompletableFuture<RUMArchiveConfigListResponse> */ - public CompletableFuture listRUMArchiveConfigsAsync() { + public CompletableFuture listRUMArchiveConfigsAsync() { return listRUMArchiveConfigsWithHttpInfoAsync(new ListRUMArchiveConfigsOptionalParameters()) .thenApply( response -> { @@ -381,10 +381,10 @@ public CompletableFuture listRUMArchiveConfigsAsyn *

See {@link #listRUMArchiveConfigsWithHttpInfo}. * * @param parameters Optional parameters for the request. - * @return RumArchiveConfigListResponse + * @return RUMArchiveConfigListResponse * @throws ApiException if fails to make API call */ - public RumArchiveConfigListResponse listRUMArchiveConfigs( + public RUMArchiveConfigListResponse listRUMArchiveConfigs( ListRUMArchiveConfigsOptionalParameters parameters) throws ApiException { return listRUMArchiveConfigsWithHttpInfo(parameters).getData(); } @@ -395,9 +395,9 @@ public RumArchiveConfigListResponse listRUMArchiveConfigs( *

See {@link #listRUMArchiveConfigsWithHttpInfoAsync}. * * @param parameters Optional parameters for the request. - * @return CompletableFuture<RumArchiveConfigListResponse> + * @return CompletableFuture<RUMArchiveConfigListResponse> */ - public CompletableFuture listRUMArchiveConfigsAsync( + public CompletableFuture listRUMArchiveConfigsAsync( ListRUMArchiveConfigsOptionalParameters parameters) { return listRUMArchiveConfigsWithHttpInfoAsync(parameters) .thenApply( @@ -410,7 +410,7 @@ public CompletableFuture listRUMArchiveConfigsAsyn * Get the list of archive configurations for your organization. * * @param parameters Optional parameters for the request. - * @return ApiResponse<RumArchiveConfigListResponse> + * @return ApiResponse<RUMArchiveConfigListResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -423,7 +423,7 @@ public CompletableFuture listRUMArchiveConfigsAsyn * *
429 Too Many Requests -
*/ - public ApiResponse listRUMArchiveConfigsWithHttpInfo( + public ApiResponse listRUMArchiveConfigsWithHttpInfo( ListRUMArchiveConfigsOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; Integer pageNumber = parameters.pageNumber; @@ -454,7 +454,7 @@ public ApiResponse listRUMArchiveConfigsWithHttpIn localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -463,9 +463,9 @@ public ApiResponse listRUMArchiveConfigsWithHttpIn *

See {@link #listRUMArchiveConfigsWithHttpInfo}. * * @param parameters Optional parameters for the request. - * @return CompletableFuture<ApiResponse<RumArchiveConfigListResponse>> + * @return CompletableFuture<ApiResponse<RUMArchiveConfigListResponse>> */ - public CompletableFuture> + public CompletableFuture> listRUMArchiveConfigsWithHttpInfoAsync(ListRUMArchiveConfigsOptionalParameters parameters) { Object localVarPostBody = null; Integer pageNumber = parameters.pageNumber; @@ -491,7 +491,7 @@ public ApiResponse listRUMArchiveConfigsWithHttpIn new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -504,7 +504,7 @@ public ApiResponse listRUMArchiveConfigsWithHttpIn localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -514,11 +514,11 @@ public ApiResponse listRUMArchiveConfigsWithHttpIn * * @param appId RUM application ID. Must match data.id for PUT. (required) * @param body JSON:API request body. (required) - * @return RumArchiveConfigResponse + * @return RUMArchiveConfigResponse * @throws ApiException if fails to make API call */ - public RumArchiveConfigResponse updateRUMArchiveConfig( - UUID appId, RumArchiveConfigUpsertRequest body) throws ApiException { + public RUMArchiveConfigResponse updateRUMArchiveConfig( + UUID appId, RUMArchiveConfigUpsertRequest body) throws ApiException { return updateRUMArchiveConfigWithHttpInfo(appId, body).getData(); } @@ -529,10 +529,10 @@ public RumArchiveConfigResponse updateRUMArchiveConfig( * * @param appId RUM application ID. Must match data.id for PUT. (required) * @param body JSON:API request body. (required) - * @return CompletableFuture<RumArchiveConfigResponse> + * @return CompletableFuture<RUMArchiveConfigResponse> */ - public CompletableFuture updateRUMArchiveConfigAsync( - UUID appId, RumArchiveConfigUpsertRequest body) { + public CompletableFuture updateRUMArchiveConfigAsync( + UUID appId, RUMArchiveConfigUpsertRequest body) { return updateRUMArchiveConfigWithHttpInfoAsync(appId, body) .thenApply( response -> { @@ -546,7 +546,7 @@ public CompletableFuture updateRUMArchiveConfigAsync( * * @param appId RUM application ID. Must match data.id for PUT. (required) * @param body JSON:API request body. (required) - * @return ApiResponse<RumArchiveConfigResponse> + * @return ApiResponse<RUMArchiveConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -560,8 +560,8 @@ public CompletableFuture updateRUMArchiveConfigAsync( * *
429 Too Many Requests -
*/ - public ApiResponse updateRUMArchiveConfigWithHttpInfo( - UUID appId, RumArchiveConfigUpsertRequest body) throws ApiException { + public ApiResponse updateRUMArchiveConfigWithHttpInfo( + UUID appId, RUMArchiveConfigUpsertRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'appId' is set @@ -599,7 +599,7 @@ public ApiResponse updateRUMArchiveConfigWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -609,15 +609,15 @@ public ApiResponse updateRUMArchiveConfigWithHttpInfo( * * @param appId RUM application ID. Must match data.id for PUT. (required) * @param body JSON:API request body. (required) - * @return CompletableFuture<ApiResponse<RumArchiveConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMArchiveConfigResponse>> */ - public CompletableFuture> - updateRUMArchiveConfigWithHttpInfoAsync(UUID appId, RumArchiveConfigUpsertRequest body) { + public CompletableFuture> + updateRUMArchiveConfigWithHttpInfoAsync(UUID appId, RUMArchiveConfigUpsertRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling updateRUMArchiveConfig")); @@ -626,7 +626,7 @@ public ApiResponse updateRUMArchiveConfigWithHttpInfo( // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling updateRUMArchiveConfig")); @@ -651,7 +651,7 @@ public ApiResponse updateRUMArchiveConfigWithHttpInfo( new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -663,6 +663,6 @@ public ApiResponse updateRUMArchiveConfigWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } diff --git a/src/main/java/com/datadog/api/client/v2/api/RumMetricsApi.java b/src/main/java/com/datadog/api/client/v2/api/RumMetricsApi.java index 92a4f3a65ff..97fdf2f30f9 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumMetricsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumMetricsApi.java @@ -4,10 +4,10 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumMetricCreateRequest; -import com.datadog.api.client.v2.model.RumMetricResponse; -import com.datadog.api.client.v2.model.RumMetricUpdateRequest; -import com.datadog.api.client.v2.model.RumMetricsResponse; +import com.datadog.api.client.v2.model.RUMMetricCreateRequest; +import com.datadog.api.client.v2.model.RUMMetricResponse; +import com.datadog.api.client.v2.model.RUMMetricUpdateRequest; +import com.datadog.api.client.v2.model.RUMMetricsResponse; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -49,26 +49,26 @@ public void setApiClient(ApiClient apiClient) { /** * Create a RUM-based metric. * - *

See {@link #createRumMetricWithHttpInfo}. + *

See {@link #createRUMMetricWithHttpInfo}. * * @param body The definition of the new RUM-based metric. (required) - * @return RumMetricResponse + * @return RUMMetricResponse * @throws ApiException if fails to make API call */ - public RumMetricResponse createRumMetric(RumMetricCreateRequest body) throws ApiException { - return createRumMetricWithHttpInfo(body).getData(); + public RUMMetricResponse createRUMMetric(RUMMetricCreateRequest body) throws ApiException { + return createRUMMetricWithHttpInfo(body).getData(); } /** * Create a RUM-based metric. * - *

See {@link #createRumMetricWithHttpInfoAsync}. + *

See {@link #createRUMMetricWithHttpInfoAsync}. * * @param body The definition of the new RUM-based metric. (required) - * @return CompletableFuture<RumMetricResponse> + * @return CompletableFuture<RUMMetricResponse> */ - public CompletableFuture createRumMetricAsync(RumMetricCreateRequest body) { - return createRumMetricWithHttpInfoAsync(body) + public CompletableFuture createRUMMetricAsync(RUMMetricCreateRequest body) { + return createRUMMetricWithHttpInfoAsync(body) .thenApply( response -> { return response.getData(); @@ -80,7 +80,7 @@ public CompletableFuture createRumMetricAsync(RumMetricCreate * , is unique within your organization, and cannot be changed after creation. The * event_type, compute, and uniqueness settings cannot be changed * after creation either. Only filter, group_by, and - * compute.include_percentiles can be changed with UpdateRumMetric. + * compute.include_percentiles can be changed with UpdateRUMMetric. * uniqueness is required when event_type is session or * view, and must be omitted for any other event type. When aggregation_type * is distribution, include_percentiles is required. When it is @@ -89,7 +89,7 @@ public CompletableFuture createRumMetricAsync(RumMetricCreate * 409 Conflict error if a metric with the same name already exists. * * @param body The definition of the new RUM-based metric. (required) - * @return ApiResponse<RumMetricResponse> + * @return ApiResponse<RUMMetricResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -102,14 +102,14 @@ public CompletableFuture createRumMetricAsync(RumMetricCreate * *
429 Too many requests -
*/ - public ApiResponse createRumMetricWithHttpInfo(RumMetricCreateRequest body) + public ApiResponse createRUMMetricWithHttpInfo(RUMMetricCreateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling createRumMetric"); + 400, "Missing the required parameter 'body' when calling createRUMMetric"); } // create path and map variables String localVarPath = "/api/v2/rum/config/metrics"; @@ -118,7 +118,7 @@ public ApiResponse createRumMetricWithHttpInfo(RumMetricCreat Invocation.Builder builder = apiClient.createBuilder( - "v2.RumMetricsApi.createRumMetric", + "v2.RumMetricsApi.createRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -133,27 +133,27 @@ public ApiResponse createRumMetricWithHttpInfo(RumMetricCreat localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Create a RUM-based metric. * - *

See {@link #createRumMetricWithHttpInfo}. + *

See {@link #createRUMMetricWithHttpInfo}. * * @param body The definition of the new RUM-based metric. (required) - * @return CompletableFuture<ApiResponse<RumMetricResponse>> + * @return CompletableFuture<ApiResponse<RUMMetricResponse>> */ - public CompletableFuture> createRumMetricWithHttpInfoAsync( - RumMetricCreateRequest body) { + public CompletableFuture> createRUMMetricWithHttpInfoAsync( + RUMMetricCreateRequest body) { Object localVarPostBody = body; // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling createRumMetric")); + 400, "Missing the required parameter 'body' when calling createRUMMetric")); return result; } // create path and map variables @@ -165,7 +165,7 @@ public CompletableFuture> createRumMetricWithHttp try { builder = apiClient.createBuilder( - "v2.RumMetricsApi.createRumMetric", + "v2.RumMetricsApi.createRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -173,7 +173,7 @@ public CompletableFuture> createRumMetricWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -185,33 +185,33 @@ public CompletableFuture> createRumMetricWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Delete a RUM-based metric. * - *

See {@link #deleteRumMetricWithHttpInfo}. + *

See {@link #deleteRUMMetricWithHttpInfo}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @throws ApiException if fails to make API call */ - public void deleteRumMetric(String metricId) throws ApiException { - deleteRumMetricWithHttpInfo(metricId); + public void deleteRUMMetric(String metricId) throws ApiException { + deleteRUMMetricWithHttpInfo(metricId); } /** * Delete a RUM-based metric. * - *

See {@link #deleteRumMetricWithHttpInfoAsync}. + *

See {@link #deleteRUMMetricWithHttpInfoAsync}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @return CompletableFuture */ - public CompletableFuture deleteRumMetricAsync(String metricId) { - return deleteRumMetricWithHttpInfoAsync(metricId) + public CompletableFuture deleteRUMMetricAsync(String metricId) { + return deleteRUMMetricWithHttpInfoAsync(metricId) .thenApply( response -> { return response.getData(); @@ -223,7 +223,7 @@ public CompletableFuture deleteRumMetricAsync(String metricId) { * generated is not deleted. Deleting a metric cannot be undone. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -236,13 +236,13 @@ public CompletableFuture deleteRumMetricAsync(String metricId) { * 429 Too many requests - * */ - public ApiResponse deleteRumMetricWithHttpInfo(String metricId) throws ApiException { + public ApiResponse deleteRUMMetricWithHttpInfo(String metricId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'metricId' is set if (metricId == null) { throw new ApiException( - 400, "Missing the required parameter 'metricId' when calling deleteRumMetric"); + 400, "Missing the required parameter 'metricId' when calling deleteRUMMetric"); } // create path and map variables String localVarPath = @@ -253,7 +253,7 @@ public ApiResponse deleteRumMetricWithHttpInfo(String metricId) throws Api Invocation.Builder builder = apiClient.createBuilder( - "v2.RumMetricsApi.deleteRumMetric", + "v2.RumMetricsApi.deleteRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -274,13 +274,13 @@ public ApiResponse deleteRumMetricWithHttpInfo(String metricId) throws Api /** * Delete a RUM-based metric. * - *

See {@link #deleteRumMetricWithHttpInfo}. + *

See {@link #deleteRUMMetricWithHttpInfo}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteRumMetricWithHttpInfoAsync(String metricId) { + public CompletableFuture> deleteRUMMetricWithHttpInfoAsync(String metricId) { Object localVarPostBody = null; // verify the required parameter 'metricId' is set @@ -288,7 +288,7 @@ public CompletableFuture> deleteRumMetricWithHttpInfoAsync(Str CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'metricId' when calling deleteRumMetric")); + 400, "Missing the required parameter 'metricId' when calling deleteRUMMetric")); return result; } // create path and map variables @@ -302,7 +302,7 @@ public CompletableFuture> deleteRumMetricWithHttpInfoAsync(Str try { builder = apiClient.createBuilder( - "v2.RumMetricsApi.deleteRumMetric", + "v2.RumMetricsApi.deleteRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -328,28 +328,28 @@ public CompletableFuture> deleteRumMetricWithHttpInfoAsync(Str /** * Get a RUM-based metric. * - *

See {@link #getRumMetricWithHttpInfo}. + *

See {@link #getRUMMetricWithHttpInfo}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) - * @return RumMetricResponse + * ListRUMMetrics. (required) + * @return RUMMetricResponse * @throws ApiException if fails to make API call */ - public RumMetricResponse getRumMetric(String metricId) throws ApiException { - return getRumMetricWithHttpInfo(metricId).getData(); + public RUMMetricResponse getRUMMetric(String metricId) throws ApiException { + return getRUMMetricWithHttpInfo(metricId).getData(); } /** * Get a RUM-based metric. * - *

See {@link #getRumMetricWithHttpInfoAsync}. + *

See {@link #getRUMMetricWithHttpInfoAsync}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) - * @return CompletableFuture<RumMetricResponse> + * ListRUMMetrics. (required) + * @return CompletableFuture<RUMMetricResponse> */ - public CompletableFuture getRumMetricAsync(String metricId) { - return getRumMetricWithHttpInfoAsync(metricId) + public CompletableFuture getRUMMetricAsync(String metricId) { + return getRUMMetricWithHttpInfoAsync(metricId) .thenApply( response -> { return response.getData(); @@ -358,12 +358,12 @@ public CompletableFuture getRumMetricAsync(String metricId) { /** * Get a specific RUM-based metric from your organization. The metric_id is the - * metric name returned in data.id by ListRumMetrics and - * CreateRumMetric. + * metric name returned in data.id by ListRUMMetrics and + * CreateRUMMetric. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) - * @return ApiResponse<RumMetricResponse> + * ListRUMMetrics. (required) + * @return ApiResponse<RUMMetricResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -375,14 +375,14 @@ public CompletableFuture getRumMetricAsync(String metricId) { * *
429 Too many requests -
*/ - public ApiResponse getRumMetricWithHttpInfo(String metricId) + public ApiResponse getRUMMetricWithHttpInfo(String metricId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'metricId' is set if (metricId == null) { throw new ApiException( - 400, "Missing the required parameter 'metricId' when calling getRumMetric"); + 400, "Missing the required parameter 'metricId' when calling getRUMMetric"); } // create path and map variables String localVarPath = @@ -393,7 +393,7 @@ public ApiResponse getRumMetricWithHttpInfo(String metricId) Invocation.Builder builder = apiClient.createBuilder( - "v2.RumMetricsApi.getRumMetric", + "v2.RumMetricsApi.getRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -408,28 +408,28 @@ public ApiResponse getRumMetricWithHttpInfo(String metricId) localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get a RUM-based metric. * - *

See {@link #getRumMetricWithHttpInfo}. + *

See {@link #getRUMMetricWithHttpInfo}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) - * @return CompletableFuture<ApiResponse<RumMetricResponse>> + * ListRUMMetrics. (required) + * @return CompletableFuture<ApiResponse<RUMMetricResponse>> */ - public CompletableFuture> getRumMetricWithHttpInfoAsync( + public CompletableFuture> getRUMMetricWithHttpInfoAsync( String metricId) { Object localVarPostBody = null; // verify the required parameter 'metricId' is set if (metricId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'metricId' when calling getRumMetric")); + 400, "Missing the required parameter 'metricId' when calling getRUMMetric")); return result; } // create path and map variables @@ -443,7 +443,7 @@ public CompletableFuture> getRumMetricWithHttpInf try { builder = apiClient.createBuilder( - "v2.RumMetricsApi.getRumMetric", + "v2.RumMetricsApi.getRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -451,7 +451,7 @@ public CompletableFuture> getRumMetricWithHttpInf new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -463,30 +463,30 @@ public CompletableFuture> getRumMetricWithHttpInf localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get all RUM-based metrics. * - *

See {@link #listRumMetricsWithHttpInfo}. + *

See {@link #listRUMMetricsWithHttpInfo}. * - * @return RumMetricsResponse + * @return RUMMetricsResponse * @throws ApiException if fails to make API call */ - public RumMetricsResponse listRumMetrics() throws ApiException { - return listRumMetricsWithHttpInfo().getData(); + public RUMMetricsResponse listRUMMetrics() throws ApiException { + return listRUMMetricsWithHttpInfo().getData(); } /** * Get all RUM-based metrics. * - *

See {@link #listRumMetricsWithHttpInfoAsync}. + *

See {@link #listRUMMetricsWithHttpInfoAsync}. * - * @return CompletableFuture<RumMetricsResponse> + * @return CompletableFuture<RUMMetricsResponse> */ - public CompletableFuture listRumMetricsAsync() { - return listRumMetricsWithHttpInfoAsync() + public CompletableFuture listRUMMetricsAsync() { + return listRUMMetricsWithHttpInfoAsync() .thenApply( response -> { return response.getData(); @@ -496,9 +496,9 @@ public CompletableFuture listRumMetricsAsync() { /** * Get the list of all RUM-based metrics configured for your organization, with their definitions. * The list is not paginated. Metrics whose stored definition cannot be converted to the RUM - * format are omitted from the list. To retrieve a single metric, use GetRumMetric. + * format are omitted from the list. To retrieve a single metric, use GetRUMMetric. * - * @return ApiResponse<RumMetricsResponse> + * @return ApiResponse<RUMMetricsResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -509,7 +509,7 @@ public CompletableFuture listRumMetricsAsync() { * *
429 Too many requests -
*/ - public ApiResponse listRumMetricsWithHttpInfo() throws ApiException { + public ApiResponse listRUMMetricsWithHttpInfo() throws ApiException { Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/rum/config/metrics"; @@ -518,7 +518,7 @@ public ApiResponse listRumMetricsWithHttpInfo() throws ApiEx Invocation.Builder builder = apiClient.createBuilder( - "v2.RumMetricsApi.listRumMetrics", + "v2.RumMetricsApi.listRUMMetrics", localVarPath, new ArrayList(), localVarHeaderParams, @@ -533,17 +533,17 @@ public ApiResponse listRumMetricsWithHttpInfo() throws ApiEx localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get all RUM-based metrics. * - *

See {@link #listRumMetricsWithHttpInfo}. + *

See {@link #listRUMMetricsWithHttpInfo}. * - * @return CompletableFuture<ApiResponse<RumMetricsResponse>> + * @return CompletableFuture<ApiResponse<RUMMetricsResponse>> */ - public CompletableFuture> listRumMetricsWithHttpInfoAsync() { + public CompletableFuture> listRUMMetricsWithHttpInfoAsync() { Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/v2/rum/config/metrics"; @@ -554,7 +554,7 @@ public CompletableFuture> listRumMetricsWithHttp try { builder = apiClient.createBuilder( - "v2.RumMetricsApi.listRumMetrics", + "v2.RumMetricsApi.listRUMMetrics", localVarPath, new ArrayList(), localVarHeaderParams, @@ -562,7 +562,7 @@ public CompletableFuture> listRumMetricsWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -574,38 +574,38 @@ public CompletableFuture> listRumMetricsWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Update a RUM-based metric. * - *

See {@link #updateRumMetricWithHttpInfo}. + *

See {@link #updateRUMMetricWithHttpInfo}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @param body New definition of the RUM-based metric. (required) - * @return RumMetricResponse + * @return RUMMetricResponse * @throws ApiException if fails to make API call */ - public RumMetricResponse updateRumMetric(String metricId, RumMetricUpdateRequest body) + public RUMMetricResponse updateRUMMetric(String metricId, RUMMetricUpdateRequest body) throws ApiException { - return updateRumMetricWithHttpInfo(metricId, body).getData(); + return updateRUMMetricWithHttpInfo(metricId, body).getData(); } /** * Update a RUM-based metric. * - *

See {@link #updateRumMetricWithHttpInfoAsync}. + *

See {@link #updateRUMMetricWithHttpInfoAsync}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @param body New definition of the RUM-based metric. (required) - * @return CompletableFuture<RumMetricResponse> + * @return CompletableFuture<RUMMetricResponse> */ - public CompletableFuture updateRumMetricAsync( - String metricId, RumMetricUpdateRequest body) { - return updateRumMetricWithHttpInfoAsync(metricId, body) + public CompletableFuture updateRUMMetricAsync( + String metricId, RUMMetricUpdateRequest body) { + return updateRUMMetricWithHttpInfoAsync(metricId, body) .thenApply( response -> { return response.getData(); @@ -627,9 +627,9 @@ public CompletableFuture updateRumMetricAsync( * successful. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @param body New definition of the RUM-based metric. (required) - * @return ApiResponse<RumMetricResponse> + * @return ApiResponse<RUMMetricResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -643,20 +643,20 @@ public CompletableFuture updateRumMetricAsync( * *
429 Too many requests -
*/ - public ApiResponse updateRumMetricWithHttpInfo( - String metricId, RumMetricUpdateRequest body) throws ApiException { + public ApiResponse updateRUMMetricWithHttpInfo( + String metricId, RUMMetricUpdateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'metricId' is set if (metricId == null) { throw new ApiException( - 400, "Missing the required parameter 'metricId' when calling updateRumMetric"); + 400, "Missing the required parameter 'metricId' when calling updateRUMMetric"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumMetric"); + 400, "Missing the required parameter 'body' when calling updateRUMMetric"); } // create path and map variables String localVarPath = @@ -667,7 +667,7 @@ public ApiResponse updateRumMetricWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumMetricsApi.updateRumMetric", + "v2.RumMetricsApi.updateRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -682,38 +682,38 @@ public ApiResponse updateRumMetricWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Update a RUM-based metric. * - *

See {@link #updateRumMetricWithHttpInfo}. + *

See {@link #updateRUMMetricWithHttpInfo}. * * @param metricId The name of the RUM-based metric, as returned in data.id by - * ListRumMetrics. (required) + * ListRUMMetrics. (required) * @param body New definition of the RUM-based metric. (required) - * @return CompletableFuture<ApiResponse<RumMetricResponse>> + * @return CompletableFuture<ApiResponse<RUMMetricResponse>> */ - public CompletableFuture> updateRumMetricWithHttpInfoAsync( - String metricId, RumMetricUpdateRequest body) { + public CompletableFuture> updateRUMMetricWithHttpInfoAsync( + String metricId, RUMMetricUpdateRequest body) { Object localVarPostBody = body; // verify the required parameter 'metricId' is set if (metricId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'metricId' when calling updateRumMetric")); + 400, "Missing the required parameter 'metricId' when calling updateRUMMetric")); return result; } // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumMetric")); + 400, "Missing the required parameter 'body' when calling updateRUMMetric")); return result; } // create path and map variables @@ -727,7 +727,7 @@ public CompletableFuture> updateRumMetricWithHttp try { builder = apiClient.createBuilder( - "v2.RumMetricsApi.updateRumMetric", + "v2.RumMetricsApi.updateRUMMetric", localVarPath, new ArrayList(), localVarHeaderParams, @@ -735,7 +735,7 @@ public CompletableFuture> updateRumMetricWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -747,6 +747,6 @@ public CompletableFuture> updateRumMetricWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } diff --git a/src/main/java/com/datadog/api/client/v2/api/RumRecoveryApi.java b/src/main/java/com/datadog/api/client/v2/api/RumRecoveryApi.java index 1395e4ac706..0d0de92592b 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumRecoveryApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumRecoveryApi.java @@ -4,17 +4,17 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumArchiveSessionsResponse; -import com.datadog.api.client.v2.model.RumArchiveSessionsSearchRequest; -import com.datadog.api.client.v2.model.RumRecoveryBatchListResponse; -import com.datadog.api.client.v2.model.RumRecoveryBatchRequestType; -import com.datadog.api.client.v2.model.RumRecoveryCancelRequest; -import com.datadog.api.client.v2.model.RumRecoveryCancelResponse; -import com.datadog.api.client.v2.model.RumRecoveryCountRequest; -import com.datadog.api.client.v2.model.RumRecoveryCountResponse; -import com.datadog.api.client.v2.model.RumRecoveryCreateRequest; -import com.datadog.api.client.v2.model.RumRecoveryCreateResponse; -import com.datadog.api.client.v2.model.RumRecoveryRequestResponse; +import com.datadog.api.client.v2.model.RUMArchiveSessionsResponse; +import com.datadog.api.client.v2.model.RUMArchiveSessionsSearchRequest; +import com.datadog.api.client.v2.model.RUMRecoveryBatchListResponse; +import com.datadog.api.client.v2.model.RUMRecoveryBatchRequestType; +import com.datadog.api.client.v2.model.RUMRecoveryCancelRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCancelResponse; +import com.datadog.api.client.v2.model.RUMRecoveryCountRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCountResponse; +import com.datadog.api.client.v2.model.RUMRecoveryCreateRequest; +import com.datadog.api.client.v2.model.RUMRecoveryCreateResponse; +import com.datadog.api.client.v2.model.RUMRecoveryRequestResponse; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -61,10 +61,10 @@ public void setApiClient(ApiClient apiClient) { *

See {@link #createRUMRecoveryRequestWithHttpInfo}. * * @param body JSON:API request body. (required) - * @return RumRecoveryCreateResponse + * @return RUMRecoveryCreateResponse * @throws ApiException if fails to make API call */ - public RumRecoveryCreateResponse createRUMRecoveryRequest(RumRecoveryCreateRequest body) + public RUMRecoveryCreateResponse createRUMRecoveryRequest(RUMRecoveryCreateRequest body) throws ApiException { return createRUMRecoveryRequestWithHttpInfo(body).getData(); } @@ -75,10 +75,10 @@ public RumRecoveryCreateResponse createRUMRecoveryRequest(RumRecoveryCreateReque *

See {@link #createRUMRecoveryRequestWithHttpInfoAsync}. * * @param body JSON:API request body. (required) - * @return CompletableFuture<RumRecoveryCreateResponse> + * @return CompletableFuture<RUMRecoveryCreateResponse> */ - public CompletableFuture createRUMRecoveryRequestAsync( - RumRecoveryCreateRequest body) { + public CompletableFuture createRUMRecoveryRequestAsync( + RUMRecoveryCreateRequest body) { return createRUMRecoveryRequestWithHttpInfoAsync(body) .thenApply( response -> { @@ -97,7 +97,7 @@ public CompletableFuture createRUMRecoveryRequestAsyn * listing before retrying. * * @param body JSON:API request body. (required) - * @return ApiResponse<RumRecoveryCreateResponse> + * @return ApiResponse<RUMRecoveryCreateResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -112,8 +112,8 @@ public CompletableFuture createRUMRecoveryRequestAsyn * *
429 Too many requests, or the batch recovery queue is full. -
*/ - public ApiResponse createRUMRecoveryRequestWithHttpInfo( - RumRecoveryCreateRequest body) throws ApiException { + public ApiResponse createRUMRecoveryRequestWithHttpInfo( + RUMRecoveryCreateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -143,7 +143,7 @@ public ApiResponse createRUMRecoveryRequestWithHttpIn localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -152,15 +152,15 @@ public ApiResponse createRUMRecoveryRequestWithHttpIn *

See {@link #createRUMRecoveryRequestWithHttpInfo}. * * @param body JSON:API request body. (required) - * @return CompletableFuture<ApiResponse<RumRecoveryCreateResponse>> + * @return CompletableFuture<ApiResponse<RUMRecoveryCreateResponse>> */ - public CompletableFuture> - createRUMRecoveryRequestWithHttpInfoAsync(RumRecoveryCreateRequest body) { + public CompletableFuture> + createRUMRecoveryRequestWithHttpInfoAsync(RUMRecoveryCreateRequest body) { Object localVarPostBody = body; // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling createRUMRecoveryRequest")); @@ -183,7 +183,7 @@ public ApiResponse createRUMRecoveryRequestWithHttpIn new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -195,7 +195,7 @@ public ApiResponse createRUMRecoveryRequestWithHttpIn localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -204,10 +204,10 @@ public ApiResponse createRUMRecoveryRequestWithHttpIn *

See {@link #getRUMRecoveryRequestWithHttpInfo}. * * @param requestId Recovery request UUID. (required) - * @return RumRecoveryRequestResponse + * @return RUMRecoveryRequestResponse * @throws ApiException if fails to make API call */ - public RumRecoveryRequestResponse getRUMRecoveryRequest(UUID requestId) throws ApiException { + public RUMRecoveryRequestResponse getRUMRecoveryRequest(UUID requestId) throws ApiException { return getRUMRecoveryRequestWithHttpInfo(requestId).getData(); } @@ -217,9 +217,9 @@ public RumRecoveryRequestResponse getRUMRecoveryRequest(UUID requestId) throws A *

See {@link #getRUMRecoveryRequestWithHttpInfoAsync}. * * @param requestId Recovery request UUID. (required) - * @return CompletableFuture<RumRecoveryRequestResponse> + * @return CompletableFuture<RUMRecoveryRequestResponse> */ - public CompletableFuture getRUMRecoveryRequestAsync(UUID requestId) { + public CompletableFuture getRUMRecoveryRequestAsync(UUID requestId) { return getRUMRecoveryRequestWithHttpInfoAsync(requestId) .thenApply( response -> { @@ -232,7 +232,7 @@ public CompletableFuture getRUMRecoveryRequestAsync( * include failed sessions; check individual session statuses for targeted recovery. * * @param requestId Recovery request UUID. (required) - * @return ApiResponse<RumRecoveryRequestResponse> + * @return ApiResponse<RUMRecoveryRequestResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -246,7 +246,7 @@ public CompletableFuture getRUMRecoveryRequestAsync( * *
429 Too Many Requests -
*/ - public ApiResponse getRUMRecoveryRequestWithHttpInfo(UUID requestId) + public ApiResponse getRUMRecoveryRequestWithHttpInfo(UUID requestId) throws ApiException { Object localVarPostBody = null; @@ -279,7 +279,7 @@ public ApiResponse getRUMRecoveryRequestWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -288,15 +288,15 @@ public ApiResponse getRUMRecoveryRequestWithHttpInfo *

See {@link #getRUMRecoveryRequestWithHttpInfo}. * * @param requestId Recovery request UUID. (required) - * @return CompletableFuture<ApiResponse<RumRecoveryRequestResponse>> + * @return CompletableFuture<ApiResponse<RUMRecoveryRequestResponse>> */ - public CompletableFuture> + public CompletableFuture> getRUMRecoveryRequestWithHttpInfoAsync(UUID requestId) { Object localVarPostBody = null; // verify the required parameter 'requestId' is set if (requestId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, @@ -322,7 +322,7 @@ public ApiResponse getRUMRecoveryRequestWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -334,7 +334,7 @@ public ApiResponse getRUMRecoveryRequestWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -343,10 +343,10 @@ public ApiResponse getRUMRecoveryRequestWithHttpInfo *

See {@link #getRUMRecoverySessionCountWithHttpInfo}. * * @param body JSON:API request body. (required) - * @return RumRecoveryCountResponse + * @return RUMRecoveryCountResponse * @throws ApiException if fails to make API call */ - public RumRecoveryCountResponse getRUMRecoverySessionCount(RumRecoveryCountRequest body) + public RUMRecoveryCountResponse getRUMRecoverySessionCount(RUMRecoveryCountRequest body) throws ApiException { return getRUMRecoverySessionCountWithHttpInfo(body).getData(); } @@ -357,10 +357,10 @@ public RumRecoveryCountResponse getRUMRecoverySessionCount(RumRecoveryCountReque *

See {@link #getRUMRecoverySessionCountWithHttpInfoAsync}. * * @param body JSON:API request body. (required) - * @return CompletableFuture<RumRecoveryCountResponse> + * @return CompletableFuture<RUMRecoveryCountResponse> */ - public CompletableFuture getRUMRecoverySessionCountAsync( - RumRecoveryCountRequest body) { + public CompletableFuture getRUMRecoverySessionCountAsync( + RUMRecoveryCountRequest body) { return getRUMRecoverySessionCountWithHttpInfoAsync(body) .thenApply( response -> { @@ -375,7 +375,7 @@ public CompletableFuture getRUMRecoverySessionCountAsy * checks a fresh estimate and returns 400 if it exceeds the configured maximum. * * @param body JSON:API request body. (required) - * @return ApiResponse<RumRecoveryCountResponse> + * @return ApiResponse<RUMRecoveryCountResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -389,8 +389,8 @@ public CompletableFuture getRUMRecoverySessionCountAsy * *
429 Too Many Requests -
*/ - public ApiResponse getRUMRecoverySessionCountWithHttpInfo( - RumRecoveryCountRequest body) throws ApiException { + public ApiResponse getRUMRecoverySessionCountWithHttpInfo( + RUMRecoveryCountRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -420,7 +420,7 @@ public ApiResponse getRUMRecoverySessionCountWithHttpI localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -429,15 +429,15 @@ public ApiResponse getRUMRecoverySessionCountWithHttpI *

See {@link #getRUMRecoverySessionCountWithHttpInfo}. * * @param body JSON:API request body. (required) - * @return CompletableFuture<ApiResponse<RumRecoveryCountResponse>> + * @return CompletableFuture<ApiResponse<RUMRecoveryCountResponse>> */ - public CompletableFuture> - getRUMRecoverySessionCountWithHttpInfoAsync(RumRecoveryCountRequest body) { + public CompletableFuture> + getRUMRecoverySessionCountWithHttpInfoAsync(RUMRecoveryCountRequest body) { Object localVarPostBody = body; // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, @@ -461,7 +461,7 @@ public ApiResponse getRUMRecoverySessionCountWithHttpI new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -473,7 +473,7 @@ public ApiResponse getRUMRecoverySessionCountWithHttpI localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** Manage optional parameters to listRUMRecoveryBatchRequests. */ @@ -557,10 +557,10 @@ public ListRUMRecoveryBatchRequestsOptionalParameters query(String query) { *

See {@link #listRUMRecoveryBatchRequestsWithHttpInfo}. * * @param type Must equal batch. (required) - * @return RumRecoveryBatchListResponse + * @return RUMRecoveryBatchListResponse * @throws ApiException if fails to make API call */ - public RumRecoveryBatchListResponse listRUMRecoveryBatchRequests(RumRecoveryBatchRequestType type) + public RUMRecoveryBatchListResponse listRUMRecoveryBatchRequests(RUMRecoveryBatchRequestType type) throws ApiException { return listRUMRecoveryBatchRequestsWithHttpInfo( type, new ListRUMRecoveryBatchRequestsOptionalParameters()) @@ -573,10 +573,10 @@ type, new ListRUMRecoveryBatchRequestsOptionalParameters()) *

See {@link #listRUMRecoveryBatchRequestsWithHttpInfoAsync}. * * @param type Must equal batch. (required) - * @return CompletableFuture<RumRecoveryBatchListResponse> + * @return CompletableFuture<RUMRecoveryBatchListResponse> */ - public CompletableFuture listRUMRecoveryBatchRequestsAsync( - RumRecoveryBatchRequestType type) { + public CompletableFuture listRUMRecoveryBatchRequestsAsync( + RUMRecoveryBatchRequestType type) { return listRUMRecoveryBatchRequestsWithHttpInfoAsync( type, new ListRUMRecoveryBatchRequestsOptionalParameters()) .thenApply( @@ -592,11 +592,11 @@ type, new ListRUMRecoveryBatchRequestsOptionalParameters()) * * @param type Must equal batch. (required) * @param parameters Optional parameters for the request. - * @return RumRecoveryBatchListResponse + * @return RUMRecoveryBatchListResponse * @throws ApiException if fails to make API call */ - public RumRecoveryBatchListResponse listRUMRecoveryBatchRequests( - RumRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) + public RUMRecoveryBatchListResponse listRUMRecoveryBatchRequests( + RUMRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) throws ApiException { return listRUMRecoveryBatchRequestsWithHttpInfo(type, parameters).getData(); } @@ -608,10 +608,10 @@ public RumRecoveryBatchListResponse listRUMRecoveryBatchRequests( * * @param type Must equal batch. (required) * @param parameters Optional parameters for the request. - * @return CompletableFuture<RumRecoveryBatchListResponse> + * @return CompletableFuture<RUMRecoveryBatchListResponse> */ - public CompletableFuture listRUMRecoveryBatchRequestsAsync( - RumRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) { + public CompletableFuture listRUMRecoveryBatchRequestsAsync( + RUMRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) { return listRUMRecoveryBatchRequestsWithHttpInfoAsync(type, parameters) .thenApply( response -> { @@ -628,7 +628,7 @@ public CompletableFuture listRUMRecoveryBatchReque * * @param type Must equal batch. (required) * @param parameters Optional parameters for the request. - * @return ApiResponse<RumRecoveryBatchListResponse> + * @return ApiResponse<RUMRecoveryBatchListResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -642,8 +642,8 @@ public CompletableFuture listRUMRecoveryBatchReque * *
429 Too Many Requests -
*/ - public ApiResponse listRUMRecoveryBatchRequestsWithHttpInfo( - RumRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) + public ApiResponse listRUMRecoveryBatchRequestsWithHttpInfo( + RUMRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; @@ -687,7 +687,7 @@ public ApiResponse listRUMRecoveryBatchRequestsWit localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -697,17 +697,17 @@ public ApiResponse listRUMRecoveryBatchRequestsWit * * @param type Must equal batch. (required) * @param parameters Optional parameters for the request. - * @return CompletableFuture<ApiResponse<RumRecoveryBatchListResponse>> + * @return CompletableFuture<ApiResponse<RUMRecoveryBatchListResponse>> */ - public CompletableFuture> + public CompletableFuture> listRUMRecoveryBatchRequestsWithHttpInfoAsync( - RumRecoveryBatchRequestType type, + RUMRecoveryBatchRequestType type, ListRUMRecoveryBatchRequestsOptionalParameters parameters) { Object localVarPostBody = null; // verify the required parameter 'type' is set if (type == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -745,7 +745,7 @@ public ApiResponse listRUMRecoveryBatchRequestsWit new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -758,7 +758,7 @@ public ApiResponse listRUMRecoveryBatchRequestsWit localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -767,10 +767,10 @@ public ApiResponse listRUMRecoveryBatchRequestsWit *

See {@link #searchRUMArchiveSessionsWithHttpInfo}. * * @param body JSON:API request body. (required) - * @return RumArchiveSessionsResponse + * @return RUMArchiveSessionsResponse * @throws ApiException if fails to make API call */ - public RumArchiveSessionsResponse searchRUMArchiveSessions(RumArchiveSessionsSearchRequest body) + public RUMArchiveSessionsResponse searchRUMArchiveSessions(RUMArchiveSessionsSearchRequest body) throws ApiException { return searchRUMArchiveSessionsWithHttpInfo(body).getData(); } @@ -781,10 +781,10 @@ public RumArchiveSessionsResponse searchRUMArchiveSessions(RumArchiveSessionsSea *

See {@link #searchRUMArchiveSessionsWithHttpInfoAsync}. * * @param body JSON:API request body. (required) - * @return CompletableFuture<RumArchiveSessionsResponse> + * @return CompletableFuture<RUMArchiveSessionsResponse> */ - public CompletableFuture searchRUMArchiveSessionsAsync( - RumArchiveSessionsSearchRequest body) { + public CompletableFuture searchRUMArchiveSessionsAsync( + RUMArchiveSessionsSearchRequest body) { return searchRUMArchiveSessionsWithHttpInfoAsync(body) .thenApply( response -> { @@ -796,7 +796,7 @@ public CompletableFuture searchRUMArchiveSessionsAsy * Search archived RUM sessions. Use meta.page.next_cursor to retrieve the next page. * * @param body JSON:API request body. (required) - * @return ApiResponse<RumArchiveSessionsResponse> + * @return ApiResponse<RUMArchiveSessionsResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -809,8 +809,8 @@ public CompletableFuture searchRUMArchiveSessionsAsy * *
429 Too Many Requests -
*/ - public ApiResponse searchRUMArchiveSessionsWithHttpInfo( - RumArchiveSessionsSearchRequest body) throws ApiException { + public ApiResponse searchRUMArchiveSessionsWithHttpInfo( + RUMArchiveSessionsSearchRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'body' is set @@ -840,7 +840,7 @@ public ApiResponse searchRUMArchiveSessionsWithHttpI localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -849,15 +849,15 @@ public ApiResponse searchRUMArchiveSessionsWithHttpI *

See {@link #searchRUMArchiveSessionsWithHttpInfo}. * * @param body JSON:API request body. (required) - * @return CompletableFuture<ApiResponse<RumArchiveSessionsResponse>> + * @return CompletableFuture<ApiResponse<RUMArchiveSessionsResponse>> */ - public CompletableFuture> - searchRUMArchiveSessionsWithHttpInfoAsync(RumArchiveSessionsSearchRequest body) { + public CompletableFuture> + searchRUMArchiveSessionsWithHttpInfoAsync(RUMArchiveSessionsSearchRequest body) { Object localVarPostBody = body; // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling searchRUMArchiveSessions")); @@ -880,7 +880,7 @@ public ApiResponse searchRUMArchiveSessionsWithHttpI new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -892,7 +892,7 @@ public ApiResponse searchRUMArchiveSessionsWithHttpI localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -902,11 +902,11 @@ public ApiResponse searchRUMArchiveSessionsWithHttpI * * @param requestId Recovery request UUID. (required) * @param body JSON:API request body. (required) - * @return RumRecoveryCancelResponse + * @return RUMRecoveryCancelResponse * @throws ApiException if fails to make API call */ - public RumRecoveryCancelResponse updateRUMRecoveryBatchRequest( - UUID requestId, RumRecoveryCancelRequest body) throws ApiException { + public RUMRecoveryCancelResponse updateRUMRecoveryBatchRequest( + UUID requestId, RUMRecoveryCancelRequest body) throws ApiException { return updateRUMRecoveryBatchRequestWithHttpInfo(requestId, body).getData(); } @@ -917,10 +917,10 @@ public RumRecoveryCancelResponse updateRUMRecoveryBatchRequest( * * @param requestId Recovery request UUID. (required) * @param body JSON:API request body. (required) - * @return CompletableFuture<RumRecoveryCancelResponse> + * @return CompletableFuture<RUMRecoveryCancelResponse> */ - public CompletableFuture updateRUMRecoveryBatchRequestAsync( - UUID requestId, RumRecoveryCancelRequest body) { + public CompletableFuture updateRUMRecoveryBatchRequestAsync( + UUID requestId, RUMRecoveryCancelRequest body) { return updateRUMRecoveryBatchRequestWithHttpInfoAsync(requestId, body) .thenApply( response -> { @@ -934,7 +934,7 @@ public CompletableFuture updateRUMRecoveryBatchReques * * @param requestId Recovery request UUID. (required) * @param body JSON:API request body. (required) - * @return ApiResponse<RumRecoveryCancelResponse> + * @return ApiResponse<RUMRecoveryCancelResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -949,8 +949,8 @@ public CompletableFuture updateRUMRecoveryBatchReques * *
429 Too Many Requests -
*/ - public ApiResponse updateRUMRecoveryBatchRequestWithHttpInfo( - UUID requestId, RumRecoveryCancelRequest body) throws ApiException { + public ApiResponse updateRUMRecoveryBatchRequestWithHttpInfo( + UUID requestId, RUMRecoveryCancelRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'requestId' is set @@ -989,7 +989,7 @@ public ApiResponse updateRUMRecoveryBatchRequestWithH localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -999,16 +999,16 @@ public ApiResponse updateRUMRecoveryBatchRequestWithH * * @param requestId Recovery request UUID. (required) * @param body JSON:API request body. (required) - * @return CompletableFuture<ApiResponse<RumRecoveryCancelResponse>> + * @return CompletableFuture<ApiResponse<RUMRecoveryCancelResponse>> */ - public CompletableFuture> + public CompletableFuture> updateRUMRecoveryBatchRequestWithHttpInfoAsync( - UUID requestId, RumRecoveryCancelRequest body) { + UUID requestId, RUMRecoveryCancelRequest body) { Object localVarPostBody = body; // verify the required parameter 'requestId' is set if (requestId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, @@ -1019,7 +1019,7 @@ public ApiResponse updateRUMRecoveryBatchRequestWithH // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, @@ -1045,7 +1045,7 @@ public ApiResponse updateRUMRecoveryBatchRequestWithH new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -1057,6 +1057,6 @@ public ApiResponse updateRUMRecoveryBatchRequestWithH localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } diff --git a/src/main/java/com/datadog/api/client/v2/api/RumRemoteConfigApi.java b/src/main/java/com/datadog/api/client/v2/api/RumRemoteConfigApi.java index 46335a185e1..6018b12bc92 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumRemoteConfigApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumRemoteConfigApi.java @@ -4,8 +4,8 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumSdkConfigResponse; -import com.datadog.api.client.v2.model.RumSdkConfigUpdateRequest; +import com.datadog.api.client.v2.model.RUMSdkConfigResponse; +import com.datadog.api.client.v2.model.RUMSdkConfigUpdateRequest; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -47,26 +47,26 @@ public void setApiClient(ApiClient apiClient) { /** * Get a RUM SDK configuration. * - *

See {@link #getRumSdkConfigWithHttpInfo}. + *

See {@link #getRUMSdkConfigWithHttpInfo}. * * @param configId The ID of the RUM SDK configuration. (required) - * @return RumSdkConfigResponse + * @return RUMSdkConfigResponse * @throws ApiException if fails to make API call */ - public RumSdkConfigResponse getRumSdkConfig(String configId) throws ApiException { - return getRumSdkConfigWithHttpInfo(configId).getData(); + public RUMSdkConfigResponse getRUMSdkConfig(String configId) throws ApiException { + return getRUMSdkConfigWithHttpInfo(configId).getData(); } /** * Get a RUM SDK configuration. * - *

See {@link #getRumSdkConfigWithHttpInfoAsync}. + *

See {@link #getRUMSdkConfigWithHttpInfoAsync}. * * @param configId The ID of the RUM SDK configuration. (required) - * @return CompletableFuture<RumSdkConfigResponse> + * @return CompletableFuture<RUMSdkConfigResponse> */ - public CompletableFuture getRumSdkConfigAsync(String configId) { - return getRumSdkConfigWithHttpInfoAsync(configId) + public CompletableFuture getRUMSdkConfigAsync(String configId) { + return getRUMSdkConfigWithHttpInfoAsync(configId) .thenApply( response -> { return response.getData(); @@ -77,7 +77,7 @@ public CompletableFuture getRumSdkConfigAsync(String confi * Retrieve a RUM SDK configuration by its identifier. * * @param configId The ID of the RUM SDK configuration. (required) - * @return ApiResponse<RumSdkConfigResponse> + * @return ApiResponse<RUMSdkConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -89,10 +89,10 @@ public CompletableFuture getRumSdkConfigAsync(String confi * *
429 Too many requests -
*/ - public ApiResponse getRumSdkConfigWithHttpInfo(String configId) + public ApiResponse getRUMSdkConfigWithHttpInfo(String configId) throws ApiException { // Check if unstable operation is enabled - String operationId = "getRumSdkConfig"; + String operationId = "getRUMSdkConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -103,7 +103,7 @@ public ApiResponse getRumSdkConfigWithHttpInfo(String conf // verify the required parameter 'configId' is set if (configId == null) { throw new ApiException( - 400, "Missing the required parameter 'configId' when calling getRumSdkConfig"); + 400, "Missing the required parameter 'configId' when calling getRUMSdkConfig"); } // create path and map variables String localVarPath = @@ -114,7 +114,7 @@ public ApiResponse getRumSdkConfigWithHttpInfo(String conf Invocation.Builder builder = apiClient.createBuilder( - "v2.RumRemoteConfigApi.getRumSdkConfig", + "v2.RumRemoteConfigApi.getRUMSdkConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -129,25 +129,25 @@ public ApiResponse getRumSdkConfigWithHttpInfo(String conf localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get a RUM SDK configuration. * - *

See {@link #getRumSdkConfigWithHttpInfo}. + *

See {@link #getRUMSdkConfigWithHttpInfo}. * * @param configId The ID of the RUM SDK configuration. (required) - * @return CompletableFuture<ApiResponse<RumSdkConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMSdkConfigResponse>> */ - public CompletableFuture> getRumSdkConfigWithHttpInfoAsync( + public CompletableFuture> getRUMSdkConfigWithHttpInfoAsync( String configId) { // Check if unstable operation is enabled - String operationId = "getRumSdkConfig"; + String operationId = "getRUMSdkConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; @@ -156,10 +156,10 @@ public CompletableFuture> getRumSdkConfigWithH // verify the required parameter 'configId' is set if (configId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'configId' when calling getRumSdkConfig")); + 400, "Missing the required parameter 'configId' when calling getRUMSdkConfig")); return result; } // create path and map variables @@ -173,7 +173,7 @@ public CompletableFuture> getRumSdkConfigWithH try { builder = apiClient.createBuilder( - "v2.RumRemoteConfigApi.getRumSdkConfig", + "v2.RumRemoteConfigApi.getRUMSdkConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -181,7 +181,7 @@ public CompletableFuture> getRumSdkConfigWithH new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -193,36 +193,36 @@ public CompletableFuture> getRumSdkConfigWithH localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Update a RUM SDK configuration. * - *

See {@link #updateRumSdkConfigWithHttpInfo}. + *

See {@link #updateRUMSdkConfigWithHttpInfo}. * * @param configId The ID of the RUM SDK configuration. (required) * @param body The RUM SDK configuration update. (required) - * @return RumSdkConfigResponse + * @return RUMSdkConfigResponse * @throws ApiException if fails to make API call */ - public RumSdkConfigResponse updateRumSdkConfig(String configId, RumSdkConfigUpdateRequest body) + public RUMSdkConfigResponse updateRUMSdkConfig(String configId, RUMSdkConfigUpdateRequest body) throws ApiException { - return updateRumSdkConfigWithHttpInfo(configId, body).getData(); + return updateRUMSdkConfigWithHttpInfo(configId, body).getData(); } /** * Update a RUM SDK configuration. * - *

See {@link #updateRumSdkConfigWithHttpInfoAsync}. + *

See {@link #updateRUMSdkConfigWithHttpInfoAsync}. * * @param configId The ID of the RUM SDK configuration. (required) * @param body The RUM SDK configuration update. (required) - * @return CompletableFuture<RumSdkConfigResponse> + * @return CompletableFuture<RUMSdkConfigResponse> */ - public CompletableFuture updateRumSdkConfigAsync( - String configId, RumSdkConfigUpdateRequest body) { - return updateRumSdkConfigWithHttpInfoAsync(configId, body) + public CompletableFuture updateRUMSdkConfigAsync( + String configId, RUMSdkConfigUpdateRequest body) { + return updateRUMSdkConfigWithHttpInfoAsync(configId, body) .thenApply( response -> { return response.getData(); @@ -235,7 +235,7 @@ public CompletableFuture updateRumSdkConfigAsync( * * @param configId The ID of the RUM SDK configuration. (required) * @param body The RUM SDK configuration update. (required) - * @return ApiResponse<RumSdkConfigResponse> + * @return ApiResponse<RUMSdkConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -248,10 +248,10 @@ public CompletableFuture updateRumSdkConfigAsync( * *
429 Too many requests -
*/ - public ApiResponse updateRumSdkConfigWithHttpInfo( - String configId, RumSdkConfigUpdateRequest body) throws ApiException { + public ApiResponse updateRUMSdkConfigWithHttpInfo( + String configId, RUMSdkConfigUpdateRequest body) throws ApiException { // Check if unstable operation is enabled - String operationId = "updateRumSdkConfig"; + String operationId = "updateRUMSdkConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { @@ -262,13 +262,13 @@ public ApiResponse updateRumSdkConfigWithHttpInfo( // verify the required parameter 'configId' is set if (configId == null) { throw new ApiException( - 400, "Missing the required parameter 'configId' when calling updateRumSdkConfig"); + 400, "Missing the required parameter 'configId' when calling updateRUMSdkConfig"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumSdkConfig"); + 400, "Missing the required parameter 'body' when calling updateRUMSdkConfig"); } // create path and map variables String localVarPath = @@ -279,7 +279,7 @@ public ApiResponse updateRumSdkConfigWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumRemoteConfigApi.updateRumSdkConfig", + "v2.RumRemoteConfigApi.updateRUMSdkConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -294,26 +294,26 @@ public ApiResponse updateRumSdkConfigWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Update a RUM SDK configuration. * - *

See {@link #updateRumSdkConfigWithHttpInfo}. + *

See {@link #updateRUMSdkConfigWithHttpInfo}. * * @param configId The ID of the RUM SDK configuration. (required) * @param body The RUM SDK configuration update. (required) - * @return CompletableFuture<ApiResponse<RumSdkConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMSdkConfigResponse>> */ - public CompletableFuture> updateRumSdkConfigWithHttpInfoAsync( - String configId, RumSdkConfigUpdateRequest body) { + public CompletableFuture> updateRUMSdkConfigWithHttpInfoAsync( + String configId, RUMSdkConfigUpdateRequest body) { // Check if unstable operation is enabled - String operationId = "updateRumSdkConfig"; + String operationId = "updateRUMSdkConfig"; if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); } else { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); return result; @@ -322,19 +322,19 @@ public CompletableFuture> updateRumSdkConfigWi // verify the required parameter 'configId' is set if (configId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'configId' when calling updateRumSdkConfig")); + 400, "Missing the required parameter 'configId' when calling updateRUMSdkConfig")); return result; } // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumSdkConfig")); + 400, "Missing the required parameter 'body' when calling updateRUMSdkConfig")); return result; } // create path and map variables @@ -348,7 +348,7 @@ public CompletableFuture> updateRumSdkConfigWi try { builder = apiClient.createBuilder( - "v2.RumRemoteConfigApi.updateRumSdkConfig", + "v2.RumRemoteConfigApi.updateRUMSdkConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -356,7 +356,7 @@ public CompletableFuture> updateRumSdkConfigWi new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -368,6 +368,6 @@ public CompletableFuture> updateRumSdkConfigWi localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } diff --git a/src/main/java/com/datadog/api/client/v2/api/RumReplayPlaylistsApi.java b/src/main/java/com/datadog/api/client/v2/api/RumReplayPlaylistsApi.java index a4296d6a7c7..f8f588420e3 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumReplayPlaylistsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumReplayPlaylistsApi.java @@ -48,8 +48,8 @@ public void setApiClient(ApiClient apiClient) { this.apiClient = apiClient; } - /** Manage optional parameters to addRumReplaySessionToPlaylist. */ - public static class AddRumReplaySessionToPlaylistOptionalParameters { + /** Manage optional parameters to addRUMReplaySessionToPlaylist. */ + public static class AddRUMReplaySessionToPlaylistOptionalParameters { private String dataSource; /** @@ -57,9 +57,9 @@ public static class AddRumReplaySessionToPlaylistOptionalParameters { * * @param dataSource Data source type. Valid values: 'rum' or 'product_analytics'. Defaults to * 'rum'. (optional) - * @return AddRumReplaySessionToPlaylistOptionalParameters + * @return AddRUMReplaySessionToPlaylistOptionalParameters */ - public AddRumReplaySessionToPlaylistOptionalParameters dataSource(String dataSource) { + public AddRUMReplaySessionToPlaylistOptionalParameters dataSource(String dataSource) { this.dataSource = dataSource; return this; } @@ -68,7 +68,7 @@ public AddRumReplaySessionToPlaylistOptionalParameters dataSource(String dataSou /** * Add RUM replay session to playlist. * - *

See {@link #addRumReplaySessionToPlaylistWithHttpInfo}. + *

See {@link #addRUMReplaySessionToPlaylistWithHttpInfo}. * * @param ts Server-side timestamp in milliseconds. (required) * @param playlistId Unique identifier of the playlist. (required) @@ -76,27 +76,27 @@ public AddRumReplaySessionToPlaylistOptionalParameters dataSource(String dataSou * @return PlaylistsSession * @throws ApiException if fails to make API call */ - public PlaylistsSession addRumReplaySessionToPlaylist(Long ts, Long playlistId, String sessionId) + public PlaylistsSession addRUMReplaySessionToPlaylist(Long ts, Long playlistId, String sessionId) throws ApiException { - return addRumReplaySessionToPlaylistWithHttpInfo( - ts, playlistId, sessionId, new AddRumReplaySessionToPlaylistOptionalParameters()) + return addRUMReplaySessionToPlaylistWithHttpInfo( + ts, playlistId, sessionId, new AddRUMReplaySessionToPlaylistOptionalParameters()) .getData(); } /** * Add RUM replay session to playlist. * - *

See {@link #addRumReplaySessionToPlaylistWithHttpInfoAsync}. + *

See {@link #addRUMReplaySessionToPlaylistWithHttpInfoAsync}. * * @param ts Server-side timestamp in milliseconds. (required) * @param playlistId Unique identifier of the playlist. (required) * @param sessionId Unique identifier of the session. (required) * @return CompletableFuture<PlaylistsSession> */ - public CompletableFuture addRumReplaySessionToPlaylistAsync( + public CompletableFuture addRUMReplaySessionToPlaylistAsync( Long ts, Long playlistId, String sessionId) { - return addRumReplaySessionToPlaylistWithHttpInfoAsync( - ts, playlistId, sessionId, new AddRumReplaySessionToPlaylistOptionalParameters()) + return addRUMReplaySessionToPlaylistWithHttpInfoAsync( + ts, playlistId, sessionId, new AddRUMReplaySessionToPlaylistOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -106,7 +106,7 @@ ts, playlistId, sessionId, new AddRumReplaySessionToPlaylistOptionalParameters() /** * Add RUM replay session to playlist. * - *

See {@link #addRumReplaySessionToPlaylistWithHttpInfo}. + *

See {@link #addRUMReplaySessionToPlaylistWithHttpInfo}. * * @param ts Server-side timestamp in milliseconds. (required) * @param playlistId Unique identifier of the playlist. (required) @@ -115,20 +115,20 @@ ts, playlistId, sessionId, new AddRumReplaySessionToPlaylistOptionalParameters() * @return PlaylistsSession * @throws ApiException if fails to make API call */ - public PlaylistsSession addRumReplaySessionToPlaylist( + public PlaylistsSession addRUMReplaySessionToPlaylist( Long ts, Long playlistId, String sessionId, - AddRumReplaySessionToPlaylistOptionalParameters parameters) + AddRUMReplaySessionToPlaylistOptionalParameters parameters) throws ApiException { - return addRumReplaySessionToPlaylistWithHttpInfo(ts, playlistId, sessionId, parameters) + return addRUMReplaySessionToPlaylistWithHttpInfo(ts, playlistId, sessionId, parameters) .getData(); } /** * Add RUM replay session to playlist. * - *

See {@link #addRumReplaySessionToPlaylistWithHttpInfoAsync}. + *

See {@link #addRUMReplaySessionToPlaylistWithHttpInfoAsync}. * * @param ts Server-side timestamp in milliseconds. (required) * @param playlistId Unique identifier of the playlist. (required) @@ -136,12 +136,12 @@ public PlaylistsSession addRumReplaySessionToPlaylist( * @param parameters Optional parameters for the request. * @return CompletableFuture<PlaylistsSession> */ - public CompletableFuture addRumReplaySessionToPlaylistAsync( + public CompletableFuture addRUMReplaySessionToPlaylistAsync( Long ts, Long playlistId, String sessionId, - AddRumReplaySessionToPlaylistOptionalParameters parameters) { - return addRumReplaySessionToPlaylistWithHttpInfoAsync(ts, playlistId, sessionId, parameters) + AddRUMReplaySessionToPlaylistOptionalParameters parameters) { + return addRUMReplaySessionToPlaylistWithHttpInfoAsync(ts, playlistId, sessionId, parameters) .thenApply( response -> { return response.getData(); @@ -166,32 +166,32 @@ public CompletableFuture addRumReplaySessionToPlaylistAsync( * 429 Too many requests - * */ - public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( + public ApiResponse addRUMReplaySessionToPlaylistWithHttpInfo( Long ts, Long playlistId, String sessionId, - AddRumReplaySessionToPlaylistOptionalParameters parameters) + AddRUMReplaySessionToPlaylistOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'ts' is set if (ts == null) { throw new ApiException( - 400, "Missing the required parameter 'ts' when calling addRumReplaySessionToPlaylist"); + 400, "Missing the required parameter 'ts' when calling addRUMReplaySessionToPlaylist"); } // verify the required parameter 'playlistId' is set if (playlistId == null) { throw new ApiException( 400, - "Missing the required parameter 'playlistId' when calling addRumReplaySessionToPlaylist"); + "Missing the required parameter 'playlistId' when calling addRUMReplaySessionToPlaylist"); } // verify the required parameter 'sessionId' is set if (sessionId == null) { throw new ApiException( 400, - "Missing the required parameter 'sessionId' when calling addRumReplaySessionToPlaylist"); + "Missing the required parameter 'sessionId' when calling addRUMReplaySessionToPlaylist"); } String dataSource = parameters.dataSource; // create path and map variables @@ -209,7 +209,7 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.addRumReplaySessionToPlaylist", + "v2.RumReplayPlaylistsApi.addRUMReplaySessionToPlaylist", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -230,7 +230,7 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( /** * Add RUM replay session to playlist. * - *

See {@link #addRumReplaySessionToPlaylistWithHttpInfo}. + *

See {@link #addRUMReplaySessionToPlaylistWithHttpInfo}. * * @param ts Server-side timestamp in milliseconds. (required) * @param playlistId Unique identifier of the playlist. (required) @@ -239,11 +239,11 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( * @return CompletableFuture<ApiResponse<PlaylistsSession>> */ public CompletableFuture> - addRumReplaySessionToPlaylistWithHttpInfoAsync( + addRUMReplaySessionToPlaylistWithHttpInfoAsync( Long ts, Long playlistId, String sessionId, - AddRumReplaySessionToPlaylistOptionalParameters parameters) { + AddRUMReplaySessionToPlaylistOptionalParameters parameters) { Object localVarPostBody = null; // verify the required parameter 'ts' is set @@ -252,7 +252,7 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( result.completeExceptionally( new ApiException( 400, - "Missing the required parameter 'ts' when calling addRumReplaySessionToPlaylist")); + "Missing the required parameter 'ts' when calling addRUMReplaySessionToPlaylist")); return result; } @@ -263,7 +263,7 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( new ApiException( 400, "Missing the required parameter 'playlistId' when calling" - + " addRumReplaySessionToPlaylist")); + + " addRUMReplaySessionToPlaylist")); return result; } @@ -274,7 +274,7 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( new ApiException( 400, "Missing the required parameter 'sessionId' when calling" - + " addRumReplaySessionToPlaylist")); + + " addRUMReplaySessionToPlaylist")); return result; } String dataSource = parameters.dataSource; @@ -295,7 +295,7 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.addRumReplaySessionToPlaylist", + "v2.RumReplayPlaylistsApi.addRUMReplaySessionToPlaylist", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -321,29 +321,29 @@ public ApiResponse addRumReplaySessionToPlaylistWithHttpInfo( /** * Bulk remove RUM replay playlist sessions. * - *

See {@link #bulkRemoveRumReplayPlaylistSessionsWithHttpInfo}. + *

See {@link #bulkRemoveRUMReplayPlaylistSessionsWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param body (required) * @throws ApiException if fails to make API call */ - public void bulkRemoveRumReplayPlaylistSessions(Long playlistId, SessionIdArray body) + public void bulkRemoveRUMReplayPlaylistSessions(Long playlistId, SessionIdArray body) throws ApiException { - bulkRemoveRumReplayPlaylistSessionsWithHttpInfo(playlistId, body); + bulkRemoveRUMReplayPlaylistSessionsWithHttpInfo(playlistId, body); } /** * Bulk remove RUM replay playlist sessions. * - *

See {@link #bulkRemoveRumReplayPlaylistSessionsWithHttpInfoAsync}. + *

See {@link #bulkRemoveRUMReplayPlaylistSessionsWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @param body (required) * @return CompletableFuture */ - public CompletableFuture bulkRemoveRumReplayPlaylistSessionsAsync( + public CompletableFuture bulkRemoveRUMReplayPlaylistSessionsAsync( Long playlistId, SessionIdArray body) { - return bulkRemoveRumReplayPlaylistSessionsWithHttpInfoAsync(playlistId, body) + return bulkRemoveRUMReplayPlaylistSessionsWithHttpInfoAsync(playlistId, body) .thenApply( response -> { return response.getData(); @@ -365,7 +365,7 @@ public CompletableFuture bulkRemoveRumReplayPlaylistSessionsAsync( * 429 Too many requests - * */ - public ApiResponse bulkRemoveRumReplayPlaylistSessionsWithHttpInfo( + public ApiResponse bulkRemoveRUMReplayPlaylistSessionsWithHttpInfo( Long playlistId, SessionIdArray body) throws ApiException { Object localVarPostBody = body; @@ -374,14 +374,14 @@ public ApiResponse bulkRemoveRumReplayPlaylistSessionsWithHttpInfo( throw new ApiException( 400, "Missing the required parameter 'playlistId' when calling" - + " bulkRemoveRumReplayPlaylistSessions"); + + " bulkRemoveRUMReplayPlaylistSessions"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( 400, - "Missing the required parameter 'body' when calling bulkRemoveRumReplayPlaylistSessions"); + "Missing the required parameter 'body' when calling bulkRemoveRUMReplayPlaylistSessions"); } // create path and map variables String localVarPath = @@ -393,7 +393,7 @@ public ApiResponse bulkRemoveRumReplayPlaylistSessionsWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.bulkRemoveRumReplayPlaylistSessions", + "v2.RumReplayPlaylistsApi.bulkRemoveRUMReplayPlaylistSessions", localVarPath, new ArrayList(), localVarHeaderParams, @@ -414,13 +414,13 @@ public ApiResponse bulkRemoveRumReplayPlaylistSessionsWithHttpInfo( /** * Bulk remove RUM replay playlist sessions. * - *

See {@link #bulkRemoveRumReplayPlaylistSessionsWithHttpInfo}. + *

See {@link #bulkRemoveRUMReplayPlaylistSessionsWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param body (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> bulkRemoveRumReplayPlaylistSessionsWithHttpInfoAsync( + public CompletableFuture> bulkRemoveRUMReplayPlaylistSessionsWithHttpInfoAsync( Long playlistId, SessionIdArray body) { Object localVarPostBody = body; @@ -431,7 +431,7 @@ public CompletableFuture> bulkRemoveRumReplayPlaylistSessionsW new ApiException( 400, "Missing the required parameter 'playlistId' when calling" - + " bulkRemoveRumReplayPlaylistSessions")); + + " bulkRemoveRUMReplayPlaylistSessions")); return result; } @@ -442,7 +442,7 @@ public CompletableFuture> bulkRemoveRumReplayPlaylistSessionsW new ApiException( 400, "Missing the required parameter 'body' when calling" - + " bulkRemoveRumReplayPlaylistSessions")); + + " bulkRemoveRUMReplayPlaylistSessions")); return result; } // create path and map variables @@ -457,7 +457,7 @@ public CompletableFuture> bulkRemoveRumReplayPlaylistSessionsW try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.bulkRemoveRumReplayPlaylistSessions", + "v2.RumReplayPlaylistsApi.bulkRemoveRUMReplayPlaylistSessions", localVarPath, new ArrayList(), localVarHeaderParams, @@ -483,26 +483,26 @@ public CompletableFuture> bulkRemoveRumReplayPlaylistSessionsW /** * Create RUM replay playlist. * - *

See {@link #createRumReplayPlaylistWithHttpInfo}. + *

See {@link #createRUMReplayPlaylistWithHttpInfo}. * * @param body (required) * @return Playlist * @throws ApiException if fails to make API call */ - public Playlist createRumReplayPlaylist(Playlist body) throws ApiException { - return createRumReplayPlaylistWithHttpInfo(body).getData(); + public Playlist createRUMReplayPlaylist(Playlist body) throws ApiException { + return createRUMReplayPlaylistWithHttpInfo(body).getData(); } /** * Create RUM replay playlist. * - *

See {@link #createRumReplayPlaylistWithHttpInfoAsync}. + *

See {@link #createRUMReplayPlaylistWithHttpInfoAsync}. * * @param body (required) * @return CompletableFuture<Playlist> */ - public CompletableFuture createRumReplayPlaylistAsync(Playlist body) { - return createRumReplayPlaylistWithHttpInfoAsync(body) + public CompletableFuture createRUMReplayPlaylistAsync(Playlist body) { + return createRUMReplayPlaylistWithHttpInfoAsync(body) .thenApply( response -> { return response.getData(); @@ -523,14 +523,14 @@ public CompletableFuture createRumReplayPlaylistAsync(Playlist body) { * 429 Too many requests - * */ - public ApiResponse createRumReplayPlaylistWithHttpInfo(Playlist body) + public ApiResponse createRUMReplayPlaylistWithHttpInfo(Playlist body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling createRumReplayPlaylist"); + 400, "Missing the required parameter 'body' when calling createRUMReplayPlaylist"); } // create path and map variables String localVarPath = "/api/v2/rum/replay/playlists"; @@ -539,7 +539,7 @@ public ApiResponse createRumReplayPlaylistWithHttpInfo(Playlist body) Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.createRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.createRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -560,12 +560,12 @@ public ApiResponse createRumReplayPlaylistWithHttpInfo(Playlist body) /** * Create RUM replay playlist. * - *

See {@link #createRumReplayPlaylistWithHttpInfo}. + *

See {@link #createRUMReplayPlaylistWithHttpInfo}. * * @param body (required) * @return CompletableFuture<ApiResponse<Playlist>> */ - public CompletableFuture> createRumReplayPlaylistWithHttpInfoAsync( + public CompletableFuture> createRUMReplayPlaylistWithHttpInfoAsync( Playlist body) { Object localVarPostBody = body; @@ -574,7 +574,7 @@ public CompletableFuture> createRumReplayPlaylistWithHttpI CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling createRumReplayPlaylist")); + 400, "Missing the required parameter 'body' when calling createRUMReplayPlaylist")); return result; } // create path and map variables @@ -586,7 +586,7 @@ public CompletableFuture> createRumReplayPlaylistWithHttpI try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.createRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.createRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -612,25 +612,25 @@ public CompletableFuture> createRumReplayPlaylistWithHttpI /** * Delete RUM replay playlist. * - *

See {@link #deleteRumReplayPlaylistWithHttpInfo}. + *

See {@link #deleteRUMReplayPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @throws ApiException if fails to make API call */ - public void deleteRumReplayPlaylist(Long playlistId) throws ApiException { - deleteRumReplayPlaylistWithHttpInfo(playlistId); + public void deleteRUMReplayPlaylist(Long playlistId) throws ApiException { + deleteRUMReplayPlaylistWithHttpInfo(playlistId); } /** * Delete RUM replay playlist. * - *

See {@link #deleteRumReplayPlaylistWithHttpInfoAsync}. + *

See {@link #deleteRUMReplayPlaylistWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @return CompletableFuture */ - public CompletableFuture deleteRumReplayPlaylistAsync(Long playlistId) { - return deleteRumReplayPlaylistWithHttpInfoAsync(playlistId) + public CompletableFuture deleteRUMReplayPlaylistAsync(Long playlistId) { + return deleteRUMReplayPlaylistWithHttpInfoAsync(playlistId) .thenApply( response -> { return response.getData(); @@ -651,14 +651,14 @@ public CompletableFuture deleteRumReplayPlaylistAsync(Long playlistId) { * 429 Too many requests - * */ - public ApiResponse deleteRumReplayPlaylistWithHttpInfo(Long playlistId) + public ApiResponse deleteRUMReplayPlaylistWithHttpInfo(Long playlistId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'playlistId' is set if (playlistId == null) { throw new ApiException( - 400, "Missing the required parameter 'playlistId' when calling deleteRumReplayPlaylist"); + 400, "Missing the required parameter 'playlistId' when calling deleteRUMReplayPlaylist"); } // create path and map variables String localVarPath = @@ -670,7 +670,7 @@ public ApiResponse deleteRumReplayPlaylistWithHttpInfo(Long playlistId) Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.deleteRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.deleteRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -691,12 +691,12 @@ public ApiResponse deleteRumReplayPlaylistWithHttpInfo(Long playlistId) /** * Delete RUM replay playlist. * - *

See {@link #deleteRumReplayPlaylistWithHttpInfo}. + *

See {@link #deleteRUMReplayPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteRumReplayPlaylistWithHttpInfoAsync( + public CompletableFuture> deleteRUMReplayPlaylistWithHttpInfoAsync( Long playlistId) { Object localVarPostBody = null; @@ -706,7 +706,7 @@ public CompletableFuture> deleteRumReplayPlaylistWithHttpInfoA result.completeExceptionally( new ApiException( 400, - "Missing the required parameter 'playlistId' when calling deleteRumReplayPlaylist")); + "Missing the required parameter 'playlistId' when calling deleteRUMReplayPlaylist")); return result; } // create path and map variables @@ -721,7 +721,7 @@ public CompletableFuture> deleteRumReplayPlaylistWithHttpInfoA try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.deleteRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.deleteRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -747,26 +747,26 @@ public CompletableFuture> deleteRumReplayPlaylistWithHttpInfoA /** * Get RUM replay playlist. * - *

See {@link #getRumReplayPlaylistWithHttpInfo}. + *

See {@link #getRUMReplayPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @return Playlist * @throws ApiException if fails to make API call */ - public Playlist getRumReplayPlaylist(Long playlistId) throws ApiException { - return getRumReplayPlaylistWithHttpInfo(playlistId).getData(); + public Playlist getRUMReplayPlaylist(Long playlistId) throws ApiException { + return getRUMReplayPlaylistWithHttpInfo(playlistId).getData(); } /** * Get RUM replay playlist. * - *

See {@link #getRumReplayPlaylistWithHttpInfoAsync}. + *

See {@link #getRUMReplayPlaylistWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @return CompletableFuture<Playlist> */ - public CompletableFuture getRumReplayPlaylistAsync(Long playlistId) { - return getRumReplayPlaylistWithHttpInfoAsync(playlistId) + public CompletableFuture getRUMReplayPlaylistAsync(Long playlistId) { + return getRUMReplayPlaylistWithHttpInfoAsync(playlistId) .thenApply( response -> { return response.getData(); @@ -787,14 +787,14 @@ public CompletableFuture getRumReplayPlaylistAsync(Long playlistId) { * 429 Too many requests - * */ - public ApiResponse getRumReplayPlaylistWithHttpInfo(Long playlistId) + public ApiResponse getRUMReplayPlaylistWithHttpInfo(Long playlistId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'playlistId' is set if (playlistId == null) { throw new ApiException( - 400, "Missing the required parameter 'playlistId' when calling getRumReplayPlaylist"); + 400, "Missing the required parameter 'playlistId' when calling getRUMReplayPlaylist"); } // create path and map variables String localVarPath = @@ -806,7 +806,7 @@ public ApiResponse getRumReplayPlaylistWithHttpInfo(Long playlistId) Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.getRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.getRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -827,12 +827,12 @@ public ApiResponse getRumReplayPlaylistWithHttpInfo(Long playlistId) /** * Get RUM replay playlist. * - *

See {@link #getRumReplayPlaylistWithHttpInfo}. + *

See {@link #getRUMReplayPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @return CompletableFuture<ApiResponse<Playlist>> */ - public CompletableFuture> getRumReplayPlaylistWithHttpInfoAsync( + public CompletableFuture> getRUMReplayPlaylistWithHttpInfoAsync( Long playlistId) { Object localVarPostBody = null; @@ -842,7 +842,7 @@ public CompletableFuture> getRumReplayPlaylistWithHttpInfo result.completeExceptionally( new ApiException( 400, - "Missing the required parameter 'playlistId' when calling getRumReplayPlaylist")); + "Missing the required parameter 'playlistId' when calling getRUMReplayPlaylist")); return result; } // create path and map variables @@ -857,7 +857,7 @@ public CompletableFuture> getRumReplayPlaylistWithHttpInfo try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.getRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.getRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -880,8 +880,8 @@ public CompletableFuture> getRumReplayPlaylistWithHttpInfo new GenericType() {}); } - /** Manage optional parameters to listRumReplayPlaylists. */ - public static class ListRumReplayPlaylistsOptionalParameters { + /** Manage optional parameters to listRUMReplayPlaylists. */ + public static class ListRUMReplayPlaylistsOptionalParameters { private String filterCreatedByUuid; private String filterQuery; private Long pageNumber; @@ -892,9 +892,9 @@ public static class ListRumReplayPlaylistsOptionalParameters { * * @param filterCreatedByUuid Filter playlists by the UUID of the user who created them. * (optional) - * @return ListRumReplayPlaylistsOptionalParameters + * @return ListRUMReplayPlaylistsOptionalParameters */ - public ListRumReplayPlaylistsOptionalParameters filterCreatedByUuid( + public ListRUMReplayPlaylistsOptionalParameters filterCreatedByUuid( String filterCreatedByUuid) { this.filterCreatedByUuid = filterCreatedByUuid; return this; @@ -904,9 +904,9 @@ public ListRumReplayPlaylistsOptionalParameters filterCreatedByUuid( * Set filterQuery. * * @param filterQuery Search query to filter playlists by name. (optional) - * @return ListRumReplayPlaylistsOptionalParameters + * @return ListRUMReplayPlaylistsOptionalParameters */ - public ListRumReplayPlaylistsOptionalParameters filterQuery(String filterQuery) { + public ListRUMReplayPlaylistsOptionalParameters filterQuery(String filterQuery) { this.filterQuery = filterQuery; return this; } @@ -915,9 +915,9 @@ public ListRumReplayPlaylistsOptionalParameters filterQuery(String filterQuery) * Set pageNumber. * * @param pageNumber Page number for pagination (0-indexed). (optional) - * @return ListRumReplayPlaylistsOptionalParameters + * @return ListRUMReplayPlaylistsOptionalParameters */ - public ListRumReplayPlaylistsOptionalParameters pageNumber(Long pageNumber) { + public ListRUMReplayPlaylistsOptionalParameters pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } @@ -926,9 +926,9 @@ public ListRumReplayPlaylistsOptionalParameters pageNumber(Long pageNumber) { * Set pageSize. * * @param pageSize Number of items per page. (optional) - * @return ListRumReplayPlaylistsOptionalParameters + * @return ListRUMReplayPlaylistsOptionalParameters */ - public ListRumReplayPlaylistsOptionalParameters pageSize(Long pageSize) { + public ListRUMReplayPlaylistsOptionalParameters pageSize(Long pageSize) { this.pageSize = pageSize; return this; } @@ -937,25 +937,25 @@ public ListRumReplayPlaylistsOptionalParameters pageSize(Long pageSize) { /** * List RUM replay playlists. * - *

See {@link #listRumReplayPlaylistsWithHttpInfo}. + *

See {@link #listRUMReplayPlaylistsWithHttpInfo}. * * @return PlaylistArray * @throws ApiException if fails to make API call */ - public PlaylistArray listRumReplayPlaylists() throws ApiException { - return listRumReplayPlaylistsWithHttpInfo(new ListRumReplayPlaylistsOptionalParameters()) + public PlaylistArray listRUMReplayPlaylists() throws ApiException { + return listRUMReplayPlaylistsWithHttpInfo(new ListRUMReplayPlaylistsOptionalParameters()) .getData(); } /** * List RUM replay playlists. * - *

See {@link #listRumReplayPlaylistsWithHttpInfoAsync}. + *

See {@link #listRUMReplayPlaylistsWithHttpInfoAsync}. * * @return CompletableFuture<PlaylistArray> */ - public CompletableFuture listRumReplayPlaylistsAsync() { - return listRumReplayPlaylistsWithHttpInfoAsync(new ListRumReplayPlaylistsOptionalParameters()) + public CompletableFuture listRUMReplayPlaylistsAsync() { + return listRUMReplayPlaylistsWithHttpInfoAsync(new ListRUMReplayPlaylistsOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -965,28 +965,28 @@ public CompletableFuture listRumReplayPlaylistsAsync() { /** * List RUM replay playlists. * - *

See {@link #listRumReplayPlaylistsWithHttpInfo}. + *

See {@link #listRUMReplayPlaylistsWithHttpInfo}. * * @param parameters Optional parameters for the request. * @return PlaylistArray * @throws ApiException if fails to make API call */ - public PlaylistArray listRumReplayPlaylists(ListRumReplayPlaylistsOptionalParameters parameters) + public PlaylistArray listRUMReplayPlaylists(ListRUMReplayPlaylistsOptionalParameters parameters) throws ApiException { - return listRumReplayPlaylistsWithHttpInfo(parameters).getData(); + return listRUMReplayPlaylistsWithHttpInfo(parameters).getData(); } /** * List RUM replay playlists. * - *

See {@link #listRumReplayPlaylistsWithHttpInfoAsync}. + *

See {@link #listRUMReplayPlaylistsWithHttpInfoAsync}. * * @param parameters Optional parameters for the request. * @return CompletableFuture<PlaylistArray> */ - public CompletableFuture listRumReplayPlaylistsAsync( - ListRumReplayPlaylistsOptionalParameters parameters) { - return listRumReplayPlaylistsWithHttpInfoAsync(parameters) + public CompletableFuture listRUMReplayPlaylistsAsync( + ListRUMReplayPlaylistsOptionalParameters parameters) { + return listRUMReplayPlaylistsWithHttpInfoAsync(parameters) .thenApply( response -> { return response.getData(); @@ -1007,8 +1007,8 @@ public CompletableFuture listRumReplayPlaylistsAsync( * 429 Too many requests - * */ - public ApiResponse listRumReplayPlaylistsWithHttpInfo( - ListRumReplayPlaylistsOptionalParameters parameters) throws ApiException { + public ApiResponse listRUMReplayPlaylistsWithHttpInfo( + ListRUMReplayPlaylistsOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; String filterCreatedByUuid = parameters.filterCreatedByUuid; String filterQuery = parameters.filterQuery; @@ -1028,7 +1028,7 @@ public ApiResponse listRumReplayPlaylistsWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.listRumReplayPlaylists", + "v2.RumReplayPlaylistsApi.listRUMReplayPlaylists", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -1049,13 +1049,13 @@ public ApiResponse listRumReplayPlaylistsWithHttpInfo( /** * List RUM replay playlists. * - *

See {@link #listRumReplayPlaylistsWithHttpInfo}. + *

See {@link #listRUMReplayPlaylistsWithHttpInfo}. * * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<PlaylistArray>> */ - public CompletableFuture> listRumReplayPlaylistsWithHttpInfoAsync( - ListRumReplayPlaylistsOptionalParameters parameters) { + public CompletableFuture> listRUMReplayPlaylistsWithHttpInfoAsync( + ListRUMReplayPlaylistsOptionalParameters parameters) { Object localVarPostBody = null; String filterCreatedByUuid = parameters.filterCreatedByUuid; String filterQuery = parameters.filterQuery; @@ -1077,7 +1077,7 @@ public CompletableFuture> listRumReplayPlaylistsWithH try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.listRumReplayPlaylists", + "v2.RumReplayPlaylistsApi.listRUMReplayPlaylists", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -1100,8 +1100,8 @@ public CompletableFuture> listRumReplayPlaylistsWithH new GenericType() {}); } - /** Manage optional parameters to listRumReplayPlaylistSessions. */ - public static class ListRumReplayPlaylistSessionsOptionalParameters { + /** Manage optional parameters to listRUMReplayPlaylistSessions. */ + public static class ListRUMReplayPlaylistSessionsOptionalParameters { private Long pageNumber; private Long pageSize; @@ -1109,9 +1109,9 @@ public static class ListRumReplayPlaylistSessionsOptionalParameters { * Set pageNumber. * * @param pageNumber Page number for pagination (0-indexed). (optional) - * @return ListRumReplayPlaylistSessionsOptionalParameters + * @return ListRUMReplayPlaylistSessionsOptionalParameters */ - public ListRumReplayPlaylistSessionsOptionalParameters pageNumber(Long pageNumber) { + public ListRUMReplayPlaylistSessionsOptionalParameters pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } @@ -1120,9 +1120,9 @@ public ListRumReplayPlaylistSessionsOptionalParameters pageNumber(Long pageNumbe * Set pageSize. * * @param pageSize Number of items per page. (optional) - * @return ListRumReplayPlaylistSessionsOptionalParameters + * @return ListRUMReplayPlaylistSessionsOptionalParameters */ - public ListRumReplayPlaylistSessionsOptionalParameters pageSize(Long pageSize) { + public ListRUMReplayPlaylistSessionsOptionalParameters pageSize(Long pageSize) { this.pageSize = pageSize; return this; } @@ -1131,30 +1131,30 @@ public ListRumReplayPlaylistSessionsOptionalParameters pageSize(Long pageSize) { /** * List RUM replay playlist sessions. * - *

See {@link #listRumReplayPlaylistSessionsWithHttpInfo}. + *

See {@link #listRUMReplayPlaylistSessionsWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @return PlaylistsSessionArray * @throws ApiException if fails to make API call */ - public PlaylistsSessionArray listRumReplayPlaylistSessions(Long playlistId) throws ApiException { - return listRumReplayPlaylistSessionsWithHttpInfo( - playlistId, new ListRumReplayPlaylistSessionsOptionalParameters()) + public PlaylistsSessionArray listRUMReplayPlaylistSessions(Long playlistId) throws ApiException { + return listRUMReplayPlaylistSessionsWithHttpInfo( + playlistId, new ListRUMReplayPlaylistSessionsOptionalParameters()) .getData(); } /** * List RUM replay playlist sessions. * - *

See {@link #listRumReplayPlaylistSessionsWithHttpInfoAsync}. + *

See {@link #listRUMReplayPlaylistSessionsWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @return CompletableFuture<PlaylistsSessionArray> */ - public CompletableFuture listRumReplayPlaylistSessionsAsync( + public CompletableFuture listRUMReplayPlaylistSessionsAsync( Long playlistId) { - return listRumReplayPlaylistSessionsWithHttpInfoAsync( - playlistId, new ListRumReplayPlaylistSessionsOptionalParameters()) + return listRUMReplayPlaylistSessionsWithHttpInfoAsync( + playlistId, new ListRUMReplayPlaylistSessionsOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -1164,31 +1164,31 @@ playlistId, new ListRumReplayPlaylistSessionsOptionalParameters()) /** * List RUM replay playlist sessions. * - *

See {@link #listRumReplayPlaylistSessionsWithHttpInfo}. + *

See {@link #listRUMReplayPlaylistSessionsWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param parameters Optional parameters for the request. * @return PlaylistsSessionArray * @throws ApiException if fails to make API call */ - public PlaylistsSessionArray listRumReplayPlaylistSessions( - Long playlistId, ListRumReplayPlaylistSessionsOptionalParameters parameters) + public PlaylistsSessionArray listRUMReplayPlaylistSessions( + Long playlistId, ListRUMReplayPlaylistSessionsOptionalParameters parameters) throws ApiException { - return listRumReplayPlaylistSessionsWithHttpInfo(playlistId, parameters).getData(); + return listRUMReplayPlaylistSessionsWithHttpInfo(playlistId, parameters).getData(); } /** * List RUM replay playlist sessions. * - *

See {@link #listRumReplayPlaylistSessionsWithHttpInfoAsync}. + *

See {@link #listRUMReplayPlaylistSessionsWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<PlaylistsSessionArray> */ - public CompletableFuture listRumReplayPlaylistSessionsAsync( - Long playlistId, ListRumReplayPlaylistSessionsOptionalParameters parameters) { - return listRumReplayPlaylistSessionsWithHttpInfoAsync(playlistId, parameters) + public CompletableFuture listRUMReplayPlaylistSessionsAsync( + Long playlistId, ListRUMReplayPlaylistSessionsOptionalParameters parameters) { + return listRUMReplayPlaylistSessionsWithHttpInfoAsync(playlistId, parameters) .thenApply( response -> { return response.getData(); @@ -1210,8 +1210,8 @@ public CompletableFuture listRumReplayPlaylistSessionsAsy * 429 Too many requests - * */ - public ApiResponse listRumReplayPlaylistSessionsWithHttpInfo( - Long playlistId, ListRumReplayPlaylistSessionsOptionalParameters parameters) + public ApiResponse listRUMReplayPlaylistSessionsWithHttpInfo( + Long playlistId, ListRUMReplayPlaylistSessionsOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; @@ -1219,7 +1219,7 @@ public ApiResponse listRumReplayPlaylistSessionsWithHttpI if (playlistId == null) { throw new ApiException( 400, - "Missing the required parameter 'playlistId' when calling listRumReplayPlaylistSessions"); + "Missing the required parameter 'playlistId' when calling listRUMReplayPlaylistSessions"); } Long pageNumber = parameters.pageNumber; Long pageSize = parameters.pageSize; @@ -1237,7 +1237,7 @@ public ApiResponse listRumReplayPlaylistSessionsWithHttpI Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.listRumReplayPlaylistSessions", + "v2.RumReplayPlaylistsApi.listRUMReplayPlaylistSessions", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -1258,15 +1258,15 @@ public ApiResponse listRumReplayPlaylistSessionsWithHttpI /** * List RUM replay playlist sessions. * - *

See {@link #listRumReplayPlaylistSessionsWithHttpInfo}. + *

See {@link #listRUMReplayPlaylistSessionsWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<PlaylistsSessionArray>> */ public CompletableFuture> - listRumReplayPlaylistSessionsWithHttpInfoAsync( - Long playlistId, ListRumReplayPlaylistSessionsOptionalParameters parameters) { + listRUMReplayPlaylistSessionsWithHttpInfoAsync( + Long playlistId, ListRUMReplayPlaylistSessionsOptionalParameters parameters) { Object localVarPostBody = null; // verify the required parameter 'playlistId' is set @@ -1276,7 +1276,7 @@ public ApiResponse listRumReplayPlaylistSessionsWithHttpI new ApiException( 400, "Missing the required parameter 'playlistId' when calling" - + " listRumReplayPlaylistSessions")); + + " listRUMReplayPlaylistSessions")); return result; } Long pageNumber = parameters.pageNumber; @@ -1297,7 +1297,7 @@ public ApiResponse listRumReplayPlaylistSessionsWithHttpI try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.listRumReplayPlaylistSessions", + "v2.RumReplayPlaylistsApi.listRUMReplayPlaylistSessions", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -1323,29 +1323,29 @@ public ApiResponse listRumReplayPlaylistSessionsWithHttpI /** * Remove RUM replay session from playlist. * - *

See {@link #removeRumReplaySessionFromPlaylistWithHttpInfo}. + *

See {@link #removeRUMReplaySessionFromPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param sessionId Unique identifier of the session. (required) * @throws ApiException if fails to make API call */ - public void removeRumReplaySessionFromPlaylist(Long playlistId, String sessionId) + public void removeRUMReplaySessionFromPlaylist(Long playlistId, String sessionId) throws ApiException { - removeRumReplaySessionFromPlaylistWithHttpInfo(playlistId, sessionId); + removeRUMReplaySessionFromPlaylistWithHttpInfo(playlistId, sessionId); } /** * Remove RUM replay session from playlist. * - *

See {@link #removeRumReplaySessionFromPlaylistWithHttpInfoAsync}. + *

See {@link #removeRUMReplaySessionFromPlaylistWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @param sessionId Unique identifier of the session. (required) * @return CompletableFuture */ - public CompletableFuture removeRumReplaySessionFromPlaylistAsync( + public CompletableFuture removeRUMReplaySessionFromPlaylistAsync( Long playlistId, String sessionId) { - return removeRumReplaySessionFromPlaylistWithHttpInfoAsync(playlistId, sessionId) + return removeRUMReplaySessionFromPlaylistWithHttpInfoAsync(playlistId, sessionId) .thenApply( response -> { return response.getData(); @@ -1367,7 +1367,7 @@ public CompletableFuture removeRumReplaySessionFromPlaylistAsync( * 429 Too many requests - * */ - public ApiResponse removeRumReplaySessionFromPlaylistWithHttpInfo( + public ApiResponse removeRUMReplaySessionFromPlaylistWithHttpInfo( Long playlistId, String sessionId) throws ApiException { Object localVarPostBody = null; @@ -1376,7 +1376,7 @@ public ApiResponse removeRumReplaySessionFromPlaylistWithHttpInfo( throw new ApiException( 400, "Missing the required parameter 'playlistId' when calling" - + " removeRumReplaySessionFromPlaylist"); + + " removeRUMReplaySessionFromPlaylist"); } // verify the required parameter 'sessionId' is set @@ -1384,7 +1384,7 @@ public ApiResponse removeRumReplaySessionFromPlaylistWithHttpInfo( throw new ApiException( 400, "Missing the required parameter 'sessionId' when calling" - + " removeRumReplaySessionFromPlaylist"); + + " removeRUMReplaySessionFromPlaylist"); } // create path and map variables String localVarPath = @@ -1397,7 +1397,7 @@ public ApiResponse removeRumReplaySessionFromPlaylistWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.removeRumReplaySessionFromPlaylist", + "v2.RumReplayPlaylistsApi.removeRUMReplaySessionFromPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1418,13 +1418,13 @@ public ApiResponse removeRumReplaySessionFromPlaylistWithHttpInfo( /** * Remove RUM replay session from playlist. * - *

See {@link #removeRumReplaySessionFromPlaylistWithHttpInfo}. + *

See {@link #removeRUMReplaySessionFromPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param sessionId Unique identifier of the session. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> removeRumReplaySessionFromPlaylistWithHttpInfoAsync( + public CompletableFuture> removeRUMReplaySessionFromPlaylistWithHttpInfoAsync( Long playlistId, String sessionId) { Object localVarPostBody = null; @@ -1435,7 +1435,7 @@ public CompletableFuture> removeRumReplaySessionFromPlaylistWi new ApiException( 400, "Missing the required parameter 'playlistId' when calling" - + " removeRumReplaySessionFromPlaylist")); + + " removeRUMReplaySessionFromPlaylist")); return result; } @@ -1446,7 +1446,7 @@ public CompletableFuture> removeRumReplaySessionFromPlaylistWi new ApiException( 400, "Missing the required parameter 'sessionId' when calling" - + " removeRumReplaySessionFromPlaylist")); + + " removeRUMReplaySessionFromPlaylist")); return result; } // create path and map variables @@ -1462,7 +1462,7 @@ public CompletableFuture> removeRumReplaySessionFromPlaylistWi try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.removeRumReplaySessionFromPlaylist", + "v2.RumReplayPlaylistsApi.removeRUMReplaySessionFromPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1488,28 +1488,28 @@ public CompletableFuture> removeRumReplaySessionFromPlaylistWi /** * Update RUM replay playlist. * - *

See {@link #updateRumReplayPlaylistWithHttpInfo}. + *

See {@link #updateRUMReplayPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param body (required) * @return Playlist * @throws ApiException if fails to make API call */ - public Playlist updateRumReplayPlaylist(Long playlistId, Playlist body) throws ApiException { - return updateRumReplayPlaylistWithHttpInfo(playlistId, body).getData(); + public Playlist updateRUMReplayPlaylist(Long playlistId, Playlist body) throws ApiException { + return updateRUMReplayPlaylistWithHttpInfo(playlistId, body).getData(); } /** * Update RUM replay playlist. * - *

See {@link #updateRumReplayPlaylistWithHttpInfoAsync}. + *

See {@link #updateRUMReplayPlaylistWithHttpInfoAsync}. * * @param playlistId Unique identifier of the playlist. (required) * @param body (required) * @return CompletableFuture<Playlist> */ - public CompletableFuture updateRumReplayPlaylistAsync(Long playlistId, Playlist body) { - return updateRumReplayPlaylistWithHttpInfoAsync(playlistId, body) + public CompletableFuture updateRUMReplayPlaylistAsync(Long playlistId, Playlist body) { + return updateRUMReplayPlaylistWithHttpInfoAsync(playlistId, body) .thenApply( response -> { return response.getData(); @@ -1531,20 +1531,20 @@ public CompletableFuture updateRumReplayPlaylistAsync(Long playlistId, * 429 Too many requests - * */ - public ApiResponse updateRumReplayPlaylistWithHttpInfo(Long playlistId, Playlist body) + public ApiResponse updateRUMReplayPlaylistWithHttpInfo(Long playlistId, Playlist body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'playlistId' is set if (playlistId == null) { throw new ApiException( - 400, "Missing the required parameter 'playlistId' when calling updateRumReplayPlaylist"); + 400, "Missing the required parameter 'playlistId' when calling updateRUMReplayPlaylist"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumReplayPlaylist"); + 400, "Missing the required parameter 'body' when calling updateRUMReplayPlaylist"); } // create path and map variables String localVarPath = @@ -1556,7 +1556,7 @@ public ApiResponse updateRumReplayPlaylistWithHttpInfo(Long playlistId Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.updateRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.updateRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, @@ -1577,13 +1577,13 @@ public ApiResponse updateRumReplayPlaylistWithHttpInfo(Long playlistId /** * Update RUM replay playlist. * - *

See {@link #updateRumReplayPlaylistWithHttpInfo}. + *

See {@link #updateRUMReplayPlaylistWithHttpInfo}. * * @param playlistId Unique identifier of the playlist. (required) * @param body (required) * @return CompletableFuture<ApiResponse<Playlist>> */ - public CompletableFuture> updateRumReplayPlaylistWithHttpInfoAsync( + public CompletableFuture> updateRUMReplayPlaylistWithHttpInfoAsync( Long playlistId, Playlist body) { Object localVarPostBody = body; @@ -1593,7 +1593,7 @@ public CompletableFuture> updateRumReplayPlaylistWithHttpI result.completeExceptionally( new ApiException( 400, - "Missing the required parameter 'playlistId' when calling updateRumReplayPlaylist")); + "Missing the required parameter 'playlistId' when calling updateRUMReplayPlaylist")); return result; } @@ -1602,7 +1602,7 @@ public CompletableFuture> updateRumReplayPlaylistWithHttpI CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling updateRumReplayPlaylist")); + 400, "Missing the required parameter 'body' when calling updateRUMReplayPlaylist")); return result; } // create path and map variables @@ -1617,7 +1617,7 @@ public CompletableFuture> updateRumReplayPlaylistWithHttpI try { builder = apiClient.createBuilder( - "v2.RumReplayPlaylistsApi.updateRumReplayPlaylist", + "v2.RumReplayPlaylistsApi.updateRUMReplayPlaylist", localVarPath, new ArrayList(), localVarHeaderParams, diff --git a/src/main/java/com/datadog/api/client/v2/api/RumReplayViewershipApi.java b/src/main/java/com/datadog/api/client/v2/api/RumReplayViewershipApi.java index e7f696e8f0d..2075295bcac 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumReplayViewershipApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumReplayViewershipApi.java @@ -49,28 +49,28 @@ public void setApiClient(ApiClient apiClient) { /** * Create RUM replay session watch. * - *

See {@link #createRumReplaySessionWatchWithHttpInfo}. + *

See {@link #createRUMReplaySessionWatchWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @param body (required) * @return Watch * @throws ApiException if fails to make API call */ - public Watch createRumReplaySessionWatch(String sessionId, Watch body) throws ApiException { - return createRumReplaySessionWatchWithHttpInfo(sessionId, body).getData(); + public Watch createRUMReplaySessionWatch(String sessionId, Watch body) throws ApiException { + return createRUMReplaySessionWatchWithHttpInfo(sessionId, body).getData(); } /** * Create RUM replay session watch. * - *

See {@link #createRumReplaySessionWatchWithHttpInfoAsync}. + *

See {@link #createRUMReplaySessionWatchWithHttpInfoAsync}. * * @param sessionId Unique identifier of the session. (required) * @param body (required) * @return CompletableFuture<Watch> */ - public CompletableFuture createRumReplaySessionWatchAsync(String sessionId, Watch body) { - return createRumReplaySessionWatchWithHttpInfoAsync(sessionId, body) + public CompletableFuture createRUMReplaySessionWatchAsync(String sessionId, Watch body) { + return createRUMReplaySessionWatchWithHttpInfoAsync(sessionId, body) .thenApply( response -> { return response.getData(); @@ -92,7 +92,7 @@ public CompletableFuture createRumReplaySessionWatchAsync(String sessionI * 429 Too many requests - * */ - public ApiResponse createRumReplaySessionWatchWithHttpInfo(String sessionId, Watch body) + public ApiResponse createRUMReplaySessionWatchWithHttpInfo(String sessionId, Watch body) throws ApiException { Object localVarPostBody = body; @@ -100,13 +100,13 @@ public ApiResponse createRumReplaySessionWatchWithHttpInfo(String session if (sessionId == null) { throw new ApiException( 400, - "Missing the required parameter 'sessionId' when calling createRumReplaySessionWatch"); + "Missing the required parameter 'sessionId' when calling createRUMReplaySessionWatch"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling createRumReplaySessionWatch"); + 400, "Missing the required parameter 'body' when calling createRUMReplaySessionWatch"); } // create path and map variables String localVarPath = @@ -117,7 +117,7 @@ public ApiResponse createRumReplaySessionWatchWithHttpInfo(String session Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.createRumReplaySessionWatch", + "v2.RumReplayViewershipApi.createRUMReplaySessionWatch", localVarPath, new ArrayList(), localVarHeaderParams, @@ -138,13 +138,13 @@ public ApiResponse createRumReplaySessionWatchWithHttpInfo(String session /** * Create RUM replay session watch. * - *

See {@link #createRumReplaySessionWatchWithHttpInfo}. + *

See {@link #createRUMReplaySessionWatchWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @param body (required) * @return CompletableFuture<ApiResponse<Watch>> */ - public CompletableFuture> createRumReplaySessionWatchWithHttpInfoAsync( + public CompletableFuture> createRUMReplaySessionWatchWithHttpInfoAsync( String sessionId, Watch body) { Object localVarPostBody = body; @@ -155,7 +155,7 @@ public CompletableFuture> createRumReplaySessionWatchWithHttp new ApiException( 400, "Missing the required parameter 'sessionId' when calling" - + " createRumReplaySessionWatch")); + + " createRUMReplaySessionWatch")); return result; } @@ -165,7 +165,7 @@ public CompletableFuture> createRumReplaySessionWatchWithHttp result.completeExceptionally( new ApiException( 400, - "Missing the required parameter 'body' when calling createRumReplaySessionWatch")); + "Missing the required parameter 'body' when calling createRUMReplaySessionWatch")); return result; } // create path and map variables @@ -179,7 +179,7 @@ public CompletableFuture> createRumReplaySessionWatchWithHttp try { builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.createRumReplaySessionWatch", + "v2.RumReplayViewershipApi.createRUMReplaySessionWatch", localVarPath, new ArrayList(), localVarHeaderParams, @@ -205,25 +205,25 @@ public CompletableFuture> createRumReplaySessionWatchWithHttp /** * Delete RUM replay session watch. * - *

See {@link #deleteRumReplaySessionWatchWithHttpInfo}. + *

See {@link #deleteRUMReplaySessionWatchWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @throws ApiException if fails to make API call */ - public void deleteRumReplaySessionWatch(String sessionId) throws ApiException { - deleteRumReplaySessionWatchWithHttpInfo(sessionId); + public void deleteRUMReplaySessionWatch(String sessionId) throws ApiException { + deleteRUMReplaySessionWatchWithHttpInfo(sessionId); } /** * Delete RUM replay session watch. * - *

See {@link #deleteRumReplaySessionWatchWithHttpInfoAsync}. + *

See {@link #deleteRUMReplaySessionWatchWithHttpInfoAsync}. * * @param sessionId Unique identifier of the session. (required) * @return CompletableFuture */ - public CompletableFuture deleteRumReplaySessionWatchAsync(String sessionId) { - return deleteRumReplaySessionWatchWithHttpInfoAsync(sessionId) + public CompletableFuture deleteRUMReplaySessionWatchAsync(String sessionId) { + return deleteRUMReplaySessionWatchWithHttpInfoAsync(sessionId) .thenApply( response -> { return response.getData(); @@ -244,7 +244,7 @@ public CompletableFuture deleteRumReplaySessionWatchAsync(String sessionId * 429 Too many requests - * */ - public ApiResponse deleteRumReplaySessionWatchWithHttpInfo(String sessionId) + public ApiResponse deleteRUMReplaySessionWatchWithHttpInfo(String sessionId) throws ApiException { Object localVarPostBody = null; @@ -252,7 +252,7 @@ public ApiResponse deleteRumReplaySessionWatchWithHttpInfo(String sessionI if (sessionId == null) { throw new ApiException( 400, - "Missing the required parameter 'sessionId' when calling deleteRumReplaySessionWatch"); + "Missing the required parameter 'sessionId' when calling deleteRUMReplaySessionWatch"); } // create path and map variables String localVarPath = @@ -263,7 +263,7 @@ public ApiResponse deleteRumReplaySessionWatchWithHttpInfo(String sessionI Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.deleteRumReplaySessionWatch", + "v2.RumReplayViewershipApi.deleteRUMReplaySessionWatch", localVarPath, new ArrayList(), localVarHeaderParams, @@ -284,12 +284,12 @@ public ApiResponse deleteRumReplaySessionWatchWithHttpInfo(String sessionI /** * Delete RUM replay session watch. * - *

See {@link #deleteRumReplaySessionWatchWithHttpInfo}. + *

See {@link #deleteRUMReplaySessionWatchWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteRumReplaySessionWatchWithHttpInfoAsync( + public CompletableFuture> deleteRUMReplaySessionWatchWithHttpInfoAsync( String sessionId) { Object localVarPostBody = null; @@ -300,7 +300,7 @@ public CompletableFuture> deleteRumReplaySessionWatchWithHttpI new ApiException( 400, "Missing the required parameter 'sessionId' when calling" - + " deleteRumReplaySessionWatch")); + + " deleteRUMReplaySessionWatch")); return result; } // create path and map variables @@ -314,7 +314,7 @@ public CompletableFuture> deleteRumReplaySessionWatchWithHttpI try { builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.deleteRumReplaySessionWatch", + "v2.RumReplayViewershipApi.deleteRUMReplaySessionWatch", localVarPath, new ArrayList(), localVarHeaderParams, @@ -337,8 +337,8 @@ public CompletableFuture> deleteRumReplaySessionWatchWithHttpI null); } - /** Manage optional parameters to listRumReplaySessionWatchers. */ - public static class ListRumReplaySessionWatchersOptionalParameters { + /** Manage optional parameters to listRUMReplaySessionWatchers. */ + public static class ListRUMReplaySessionWatchersOptionalParameters { private Long pageSize; private Long pageNumber; @@ -346,9 +346,9 @@ public static class ListRumReplaySessionWatchersOptionalParameters { * Set pageSize. * * @param pageSize Number of items per page. (optional) - * @return ListRumReplaySessionWatchersOptionalParameters + * @return ListRUMReplaySessionWatchersOptionalParameters */ - public ListRumReplaySessionWatchersOptionalParameters pageSize(Long pageSize) { + public ListRUMReplaySessionWatchersOptionalParameters pageSize(Long pageSize) { this.pageSize = pageSize; return this; } @@ -357,9 +357,9 @@ public ListRumReplaySessionWatchersOptionalParameters pageSize(Long pageSize) { * Set pageNumber. * * @param pageNumber Page number for pagination (0-indexed). (optional) - * @return ListRumReplaySessionWatchersOptionalParameters + * @return ListRUMReplaySessionWatchersOptionalParameters */ - public ListRumReplaySessionWatchersOptionalParameters pageNumber(Long pageNumber) { + public ListRUMReplaySessionWatchersOptionalParameters pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } @@ -368,29 +368,29 @@ public ListRumReplaySessionWatchersOptionalParameters pageNumber(Long pageNumber /** * List RUM replay session watchers. * - *

See {@link #listRumReplaySessionWatchersWithHttpInfo}. + *

See {@link #listRUMReplaySessionWatchersWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @return WatcherArray * @throws ApiException if fails to make API call */ - public WatcherArray listRumReplaySessionWatchers(String sessionId) throws ApiException { - return listRumReplaySessionWatchersWithHttpInfo( - sessionId, new ListRumReplaySessionWatchersOptionalParameters()) + public WatcherArray listRUMReplaySessionWatchers(String sessionId) throws ApiException { + return listRUMReplaySessionWatchersWithHttpInfo( + sessionId, new ListRUMReplaySessionWatchersOptionalParameters()) .getData(); } /** * List RUM replay session watchers. * - *

See {@link #listRumReplaySessionWatchersWithHttpInfoAsync}. + *

See {@link #listRUMReplaySessionWatchersWithHttpInfoAsync}. * * @param sessionId Unique identifier of the session. (required) * @return CompletableFuture<WatcherArray> */ - public CompletableFuture listRumReplaySessionWatchersAsync(String sessionId) { - return listRumReplaySessionWatchersWithHttpInfoAsync( - sessionId, new ListRumReplaySessionWatchersOptionalParameters()) + public CompletableFuture listRUMReplaySessionWatchersAsync(String sessionId) { + return listRUMReplaySessionWatchersWithHttpInfoAsync( + sessionId, new ListRUMReplaySessionWatchersOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -400,31 +400,31 @@ sessionId, new ListRumReplaySessionWatchersOptionalParameters()) /** * List RUM replay session watchers. * - *

See {@link #listRumReplaySessionWatchersWithHttpInfo}. + *

See {@link #listRUMReplaySessionWatchersWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @param parameters Optional parameters for the request. * @return WatcherArray * @throws ApiException if fails to make API call */ - public WatcherArray listRumReplaySessionWatchers( - String sessionId, ListRumReplaySessionWatchersOptionalParameters parameters) + public WatcherArray listRUMReplaySessionWatchers( + String sessionId, ListRUMReplaySessionWatchersOptionalParameters parameters) throws ApiException { - return listRumReplaySessionWatchersWithHttpInfo(sessionId, parameters).getData(); + return listRUMReplaySessionWatchersWithHttpInfo(sessionId, parameters).getData(); } /** * List RUM replay session watchers. * - *

See {@link #listRumReplaySessionWatchersWithHttpInfoAsync}. + *

See {@link #listRUMReplaySessionWatchersWithHttpInfoAsync}. * * @param sessionId Unique identifier of the session. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<WatcherArray> */ - public CompletableFuture listRumReplaySessionWatchersAsync( - String sessionId, ListRumReplaySessionWatchersOptionalParameters parameters) { - return listRumReplaySessionWatchersWithHttpInfoAsync(sessionId, parameters) + public CompletableFuture listRUMReplaySessionWatchersAsync( + String sessionId, ListRUMReplaySessionWatchersOptionalParameters parameters) { + return listRUMReplaySessionWatchersWithHttpInfoAsync(sessionId, parameters) .thenApply( response -> { return response.getData(); @@ -446,8 +446,8 @@ public CompletableFuture listRumReplaySessionWatchersAsync( * 429 Too many requests - * */ - public ApiResponse listRumReplaySessionWatchersWithHttpInfo( - String sessionId, ListRumReplaySessionWatchersOptionalParameters parameters) + public ApiResponse listRUMReplaySessionWatchersWithHttpInfo( + String sessionId, ListRUMReplaySessionWatchersOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; @@ -455,7 +455,7 @@ public ApiResponse listRumReplaySessionWatchersWithHttpInfo( if (sessionId == null) { throw new ApiException( 400, - "Missing the required parameter 'sessionId' when calling listRumReplaySessionWatchers"); + "Missing the required parameter 'sessionId' when calling listRUMReplaySessionWatchers"); } Long pageSize = parameters.pageSize; Long pageNumber = parameters.pageNumber; @@ -472,7 +472,7 @@ public ApiResponse listRumReplaySessionWatchersWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.listRumReplaySessionWatchers", + "v2.RumReplayViewershipApi.listRUMReplaySessionWatchers", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -493,14 +493,14 @@ public ApiResponse listRumReplaySessionWatchersWithHttpInfo( /** * List RUM replay session watchers. * - *

See {@link #listRumReplaySessionWatchersWithHttpInfo}. + *

See {@link #listRUMReplaySessionWatchersWithHttpInfo}. * * @param sessionId Unique identifier of the session. (required) * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<WatcherArray>> */ - public CompletableFuture> listRumReplaySessionWatchersWithHttpInfoAsync( - String sessionId, ListRumReplaySessionWatchersOptionalParameters parameters) { + public CompletableFuture> listRUMReplaySessionWatchersWithHttpInfoAsync( + String sessionId, ListRUMReplaySessionWatchersOptionalParameters parameters) { Object localVarPostBody = null; // verify the required parameter 'sessionId' is set @@ -510,7 +510,7 @@ public CompletableFuture> listRumReplaySessionWatchers new ApiException( 400, "Missing the required parameter 'sessionId' when calling" - + " listRumReplaySessionWatchers")); + + " listRUMReplaySessionWatchers")); return result; } Long pageSize = parameters.pageSize; @@ -530,7 +530,7 @@ public CompletableFuture> listRumReplaySessionWatchers try { builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.listRumReplaySessionWatchers", + "v2.RumReplayViewershipApi.listRUMReplaySessionWatchers", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -553,8 +553,8 @@ public CompletableFuture> listRumReplaySessionWatchers new GenericType() {}); } - /** Manage optional parameters to listRumReplayViewershipHistorySessions. */ - public static class ListRumReplayViewershipHistorySessionsOptionalParameters { + /** Manage optional parameters to listRUMReplayViewershipHistorySessions. */ + public static class ListRUMReplayViewershipHistorySessionsOptionalParameters { private Long filterWatchedAtStart; private Long pageNumber; private String filterCreatedBy; @@ -567,9 +567,9 @@ public static class ListRumReplayViewershipHistorySessionsOptionalParameters { * Set filterWatchedAtStart. * * @param filterWatchedAtStart Start timestamp in milliseconds for watched_at filter. (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters filterWatchedAtStart( + public ListRUMReplayViewershipHistorySessionsOptionalParameters filterWatchedAtStart( Long filterWatchedAtStart) { this.filterWatchedAtStart = filterWatchedAtStart; return this; @@ -579,9 +579,9 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters filterWatchedAtS * Set pageNumber. * * @param pageNumber Page number for pagination (0-indexed). (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters pageNumber(Long pageNumber) { + public ListRUMReplayViewershipHistorySessionsOptionalParameters pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } @@ -591,9 +591,9 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters pageNumber(Long * * @param filterCreatedBy Filter by user UUID. Defaults to current user if not specified. * (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters filterCreatedBy( + public ListRUMReplayViewershipHistorySessionsOptionalParameters filterCreatedBy( String filterCreatedBy) { this.filterCreatedBy = filterCreatedBy; return this; @@ -603,9 +603,9 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters filterCreatedBy( * Set filterWatchedAtEnd. * * @param filterWatchedAtEnd End timestamp in milliseconds for watched_at filter. (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters filterWatchedAtEnd( + public ListRUMReplayViewershipHistorySessionsOptionalParameters filterWatchedAtEnd( Long filterWatchedAtEnd) { this.filterWatchedAtEnd = filterWatchedAtEnd; return this; @@ -615,9 +615,9 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters filterWatchedAtE * Set filterSessionIds. * * @param filterSessionIds Comma-separated list of session IDs to filter by. (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters filterSessionIds( + public ListRUMReplayViewershipHistorySessionsOptionalParameters filterSessionIds( String filterSessionIds) { this.filterSessionIds = filterSessionIds; return this; @@ -627,9 +627,9 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters filterSessionIds * Set pageSize. * * @param pageSize Number of items per page. (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters pageSize(Long pageSize) { + public ListRUMReplayViewershipHistorySessionsOptionalParameters pageSize(Long pageSize) { this.pageSize = pageSize; return this; } @@ -638,9 +638,9 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters pageSize(Long pa * Set filterApplicationId. * * @param filterApplicationId Filter by application ID. (optional) - * @return ListRumReplayViewershipHistorySessionsOptionalParameters + * @return ListRUMReplayViewershipHistorySessionsOptionalParameters */ - public ListRumReplayViewershipHistorySessionsOptionalParameters filterApplicationId( + public ListRUMReplayViewershipHistorySessionsOptionalParameters filterApplicationId( String filterApplicationId) { this.filterApplicationId = filterApplicationId; return this; @@ -650,29 +650,29 @@ public ListRumReplayViewershipHistorySessionsOptionalParameters filterApplicatio /** * List RUM replay viewership history sessions. * - *

See {@link #listRumReplayViewershipHistorySessionsWithHttpInfo}. + *

See {@link #listRUMReplayViewershipHistorySessionsWithHttpInfo}. * * @return ViewershipHistorySessionArray * @throws ApiException if fails to make API call */ - public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions() + public ViewershipHistorySessionArray listRUMReplayViewershipHistorySessions() throws ApiException { - return listRumReplayViewershipHistorySessionsWithHttpInfo( - new ListRumReplayViewershipHistorySessionsOptionalParameters()) + return listRUMReplayViewershipHistorySessionsWithHttpInfo( + new ListRUMReplayViewershipHistorySessionsOptionalParameters()) .getData(); } /** * List RUM replay viewership history sessions. * - *

See {@link #listRumReplayViewershipHistorySessionsWithHttpInfoAsync}. + *

See {@link #listRUMReplayViewershipHistorySessionsWithHttpInfoAsync}. * * @return CompletableFuture<ViewershipHistorySessionArray> */ public CompletableFuture - listRumReplayViewershipHistorySessionsAsync() { - return listRumReplayViewershipHistorySessionsWithHttpInfoAsync( - new ListRumReplayViewershipHistorySessionsOptionalParameters()) + listRUMReplayViewershipHistorySessionsAsync() { + return listRUMReplayViewershipHistorySessionsWithHttpInfoAsync( + new ListRUMReplayViewershipHistorySessionsOptionalParameters()) .thenApply( response -> { return response.getData(); @@ -682,29 +682,29 @@ public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions() /** * List RUM replay viewership history sessions. * - *

See {@link #listRumReplayViewershipHistorySessionsWithHttpInfo}. + *

See {@link #listRUMReplayViewershipHistorySessionsWithHttpInfo}. * * @param parameters Optional parameters for the request. * @return ViewershipHistorySessionArray * @throws ApiException if fails to make API call */ - public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions( - ListRumReplayViewershipHistorySessionsOptionalParameters parameters) throws ApiException { - return listRumReplayViewershipHistorySessionsWithHttpInfo(parameters).getData(); + public ViewershipHistorySessionArray listRUMReplayViewershipHistorySessions( + ListRUMReplayViewershipHistorySessionsOptionalParameters parameters) throws ApiException { + return listRUMReplayViewershipHistorySessionsWithHttpInfo(parameters).getData(); } /** * List RUM replay viewership history sessions. * - *

See {@link #listRumReplayViewershipHistorySessionsWithHttpInfoAsync}. + *

See {@link #listRUMReplayViewershipHistorySessionsWithHttpInfoAsync}. * * @param parameters Optional parameters for the request. * @return CompletableFuture<ViewershipHistorySessionArray> */ public CompletableFuture - listRumReplayViewershipHistorySessionsAsync( - ListRumReplayViewershipHistorySessionsOptionalParameters parameters) { - return listRumReplayViewershipHistorySessionsWithHttpInfoAsync(parameters) + listRUMReplayViewershipHistorySessionsAsync( + ListRUMReplayViewershipHistorySessionsOptionalParameters parameters) { + return listRUMReplayViewershipHistorySessionsWithHttpInfoAsync(parameters) .thenApply( response -> { return response.getData(); @@ -726,8 +726,8 @@ public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions( * */ public ApiResponse - listRumReplayViewershipHistorySessionsWithHttpInfo( - ListRumReplayViewershipHistorySessionsOptionalParameters parameters) throws ApiException { + listRUMReplayViewershipHistorySessionsWithHttpInfo( + ListRUMReplayViewershipHistorySessionsOptionalParameters parameters) throws ApiException { Object localVarPostBody = null; Long filterWatchedAtStart = parameters.filterWatchedAtStart; Long pageNumber = parameters.pageNumber; @@ -757,7 +757,7 @@ public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.listRumReplayViewershipHistorySessions", + "v2.RumReplayViewershipApi.listRUMReplayViewershipHistorySessions", localVarPath, localVarQueryParams, localVarHeaderParams, @@ -778,14 +778,14 @@ public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions( /** * List RUM replay viewership history sessions. * - *

See {@link #listRumReplayViewershipHistorySessionsWithHttpInfo}. + *

See {@link #listRUMReplayViewershipHistorySessionsWithHttpInfo}. * * @param parameters Optional parameters for the request. * @return CompletableFuture<ApiResponse<ViewershipHistorySessionArray>> */ public CompletableFuture> - listRumReplayViewershipHistorySessionsWithHttpInfoAsync( - ListRumReplayViewershipHistorySessionsOptionalParameters parameters) { + listRUMReplayViewershipHistorySessionsWithHttpInfoAsync( + ListRUMReplayViewershipHistorySessionsOptionalParameters parameters) { Object localVarPostBody = null; Long filterWatchedAtStart = parameters.filterWatchedAtStart; Long pageNumber = parameters.pageNumber; @@ -817,7 +817,7 @@ public ViewershipHistorySessionArray listRumReplayViewershipHistorySessions( try { builder = apiClient.createBuilder( - "v2.RumReplayViewershipApi.listRumReplayViewershipHistorySessions", + "v2.RumReplayViewershipApi.listRUMReplayViewershipHistorySessions", localVarPath, localVarQueryParams, localVarHeaderParams, diff --git a/src/main/java/com/datadog/api/client/v2/api/RumRetentionFiltersApi.java b/src/main/java/com/datadog/api/client/v2/api/RumRetentionFiltersApi.java index 48d15578cc3..7100a2dac56 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumRetentionFiltersApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumRetentionFiltersApi.java @@ -4,20 +4,20 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumExclusionFilterCreateRequest; -import com.datadog.api.client.v2.model.RumExclusionFilterResponse; -import com.datadog.api.client.v2.model.RumExclusionFilterUpdateRequest; -import com.datadog.api.client.v2.model.RumExclusionFiltersResponse; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterID; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterResponse; -import com.datadog.api.client.v2.model.RumPermanentRetentionFilterUpdateRequest; -import com.datadog.api.client.v2.model.RumPermanentRetentionFiltersResponse; -import com.datadog.api.client.v2.model.RumRetentionFilterCreateRequest; -import com.datadog.api.client.v2.model.RumRetentionFilterResponse; -import com.datadog.api.client.v2.model.RumRetentionFilterUpdateRequest; -import com.datadog.api.client.v2.model.RumRetentionFiltersOrderRequest; -import com.datadog.api.client.v2.model.RumRetentionFiltersOrderResponse; -import com.datadog.api.client.v2.model.RumRetentionFiltersResponse; +import com.datadog.api.client.v2.model.RUMExclusionFilterCreateRequest; +import com.datadog.api.client.v2.model.RUMExclusionFilterResponse; +import com.datadog.api.client.v2.model.RUMExclusionFilterUpdateRequest; +import com.datadog.api.client.v2.model.RUMExclusionFiltersResponse; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterID; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFilterUpdateRequest; +import com.datadog.api.client.v2.model.RUMPermanentRetentionFiltersResponse; +import com.datadog.api.client.v2.model.RUMRetentionFilterCreateRequest; +import com.datadog.api.client.v2.model.RUMRetentionFilterResponse; +import com.datadog.api.client.v2.model.RUMRetentionFilterUpdateRequest; +import com.datadog.api.client.v2.model.RUMRetentionFiltersOrderRequest; +import com.datadog.api.client.v2.model.RUMRetentionFiltersOrderResponse; +import com.datadog.api.client.v2.model.RUMRetentionFiltersResponse; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -63,11 +63,11 @@ public void setApiClient(ApiClient apiClient) { * * @param appId RUM application ID. (required) * @param body The definition of the new RUM exclusion filter. (required) - * @return RumExclusionFilterResponse + * @return RUMExclusionFilterResponse * @throws ApiException if fails to make API call */ - public RumExclusionFilterResponse createExclusionFilter( - String appId, RumExclusionFilterCreateRequest body) throws ApiException { + public RUMExclusionFilterResponse createExclusionFilter( + String appId, RUMExclusionFilterCreateRequest body) throws ApiException { return createExclusionFilterWithHttpInfo(appId, body).getData(); } @@ -78,10 +78,10 @@ public RumExclusionFilterResponse createExclusionFilter( * * @param appId RUM application ID. (required) * @param body The definition of the new RUM exclusion filter. (required) - * @return CompletableFuture<RumExclusionFilterResponse> + * @return CompletableFuture<RUMExclusionFilterResponse> */ - public CompletableFuture createExclusionFilterAsync( - String appId, RumExclusionFilterCreateRequest body) { + public CompletableFuture createExclusionFilterAsync( + String appId, RUMExclusionFilterCreateRequest body) { return createExclusionFilterWithHttpInfoAsync(appId, body) .thenApply( response -> { @@ -95,7 +95,7 @@ public CompletableFuture createExclusionFilterAsync( * * @param appId RUM application ID. (required) * @param body The definition of the new RUM exclusion filter. (required) - * @return ApiResponse<RumExclusionFilterResponse> + * @return ApiResponse<RUMExclusionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -107,8 +107,8 @@ public CompletableFuture createExclusionFilterAsync( * *
429 Too many requests -
*/ - public ApiResponse createExclusionFilterWithHttpInfo( - String appId, RumExclusionFilterCreateRequest body) throws ApiException { + public ApiResponse createExclusionFilterWithHttpInfo( + String appId, RUMExclusionFilterCreateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'appId' is set @@ -146,7 +146,7 @@ public ApiResponse createExclusionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -156,15 +156,15 @@ public ApiResponse createExclusionFilterWithHttpInfo * * @param appId RUM application ID. (required) * @param body The definition of the new RUM exclusion filter. (required) - * @return CompletableFuture<ApiResponse<RumExclusionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMExclusionFilterResponse>> */ - public CompletableFuture> - createExclusionFilterWithHttpInfoAsync(String appId, RumExclusionFilterCreateRequest body) { + public CompletableFuture> + createExclusionFilterWithHttpInfoAsync(String appId, RUMExclusionFilterCreateRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling createExclusionFilter")); @@ -173,7 +173,7 @@ public ApiResponse createExclusionFilterWithHttpInfo // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling createExclusionFilter")); @@ -198,7 +198,7 @@ public ApiResponse createExclusionFilterWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -210,7 +210,7 @@ public ApiResponse createExclusionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -220,11 +220,11 @@ public ApiResponse createExclusionFilterWithHttpInfo * * @param appId RUM application ID. (required) * @param body The definition of the new RUM retention filter. (required) - * @return RumRetentionFilterResponse + * @return RUMRetentionFilterResponse * @throws ApiException if fails to make API call */ - public RumRetentionFilterResponse createRetentionFilter( - String appId, RumRetentionFilterCreateRequest body) throws ApiException { + public RUMRetentionFilterResponse createRetentionFilter( + String appId, RUMRetentionFilterCreateRequest body) throws ApiException { return createRetentionFilterWithHttpInfo(appId, body).getData(); } @@ -235,10 +235,10 @@ public RumRetentionFilterResponse createRetentionFilter( * * @param appId RUM application ID. (required) * @param body The definition of the new RUM retention filter. (required) - * @return CompletableFuture<RumRetentionFilterResponse> + * @return CompletableFuture<RUMRetentionFilterResponse> */ - public CompletableFuture createRetentionFilterAsync( - String appId, RumRetentionFilterCreateRequest body) { + public CompletableFuture createRetentionFilterAsync( + String appId, RUMRetentionFilterCreateRequest body) { return createRetentionFilterWithHttpInfoAsync(appId, body) .thenApply( response -> { @@ -252,7 +252,7 @@ public CompletableFuture createRetentionFilterAsync( * * @param appId RUM application ID. (required) * @param body The definition of the new RUM retention filter. (required) - * @return ApiResponse<RumRetentionFilterResponse> + * @return ApiResponse<RUMRetentionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -264,8 +264,8 @@ public CompletableFuture createRetentionFilterAsync( * *
429 Too many requests -
*/ - public ApiResponse createRetentionFilterWithHttpInfo( - String appId, RumRetentionFilterCreateRequest body) throws ApiException { + public ApiResponse createRetentionFilterWithHttpInfo( + String appId, RUMRetentionFilterCreateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'appId' is set @@ -303,7 +303,7 @@ public ApiResponse createRetentionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -313,15 +313,15 @@ public ApiResponse createRetentionFilterWithHttpInfo * * @param appId RUM application ID. (required) * @param body The definition of the new RUM retention filter. (required) - * @return CompletableFuture<ApiResponse<RumRetentionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionFilterResponse>> */ - public CompletableFuture> - createRetentionFilterWithHttpInfoAsync(String appId, RumRetentionFilterCreateRequest body) { + public CompletableFuture> + createRetentionFilterWithHttpInfoAsync(String appId, RUMRetentionFilterCreateRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling createRetentionFilter")); @@ -330,7 +330,7 @@ public ApiResponse createRetentionFilterWithHttpInfo // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling createRetentionFilter")); @@ -355,7 +355,7 @@ public ApiResponse createRetentionFilterWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -367,7 +367,7 @@ public ApiResponse createRetentionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -690,10 +690,10 @@ public CompletableFuture> deleteRetentionFilterWithHttpInfoAsy * * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) - * @return RumExclusionFilterResponse + * @return RUMExclusionFilterResponse * @throws ApiException if fails to make API call */ - public RumExclusionFilterResponse getExclusionFilter(String appId, String efId) + public RUMExclusionFilterResponse getExclusionFilter(String appId, String efId) throws ApiException { return getExclusionFilterWithHttpInfo(appId, efId).getData(); } @@ -705,9 +705,9 @@ public RumExclusionFilterResponse getExclusionFilter(String appId, String efId) * * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) - * @return CompletableFuture<RumExclusionFilterResponse> + * @return CompletableFuture<RUMExclusionFilterResponse> */ - public CompletableFuture getExclusionFilterAsync( + public CompletableFuture getExclusionFilterAsync( String appId, String efId) { return getExclusionFilterWithHttpInfoAsync(appId, efId) .thenApply( @@ -721,7 +721,7 @@ public CompletableFuture getExclusionFilterAsync( * * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) - * @return ApiResponse<RumExclusionFilterResponse> + * @return ApiResponse<RUMExclusionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -733,7 +733,7 @@ public CompletableFuture getExclusionFilterAsync( * *
429 Too many requests -
*/ - public ApiResponse getExclusionFilterWithHttpInfo( + public ApiResponse getExclusionFilterWithHttpInfo( String appId, String efId) throws ApiException { Object localVarPostBody = null; @@ -773,7 +773,7 @@ public ApiResponse getExclusionFilterWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -783,15 +783,15 @@ public ApiResponse getExclusionFilterWithHttpInfo( * * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) - * @return CompletableFuture<ApiResponse<RumExclusionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMExclusionFilterResponse>> */ - public CompletableFuture> + public CompletableFuture> getExclusionFilterWithHttpInfoAsync(String appId, String efId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling getExclusionFilter")); @@ -800,7 +800,7 @@ public ApiResponse getExclusionFilterWithHttpInfo( // verify the required parameter 'efId' is set if (efId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'efId' when calling getExclusionFilter")); @@ -826,7 +826,7 @@ public ApiResponse getExclusionFilterWithHttpInfo( new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -838,7 +838,7 @@ public ApiResponse getExclusionFilterWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -848,11 +848,11 @@ public ApiResponse getExclusionFilterWithHttpInfo( * * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) - * @return RumPermanentRetentionFilterResponse + * @return RUMPermanentRetentionFilterResponse * @throws ApiException if fails to make API call */ - public RumPermanentRetentionFilterResponse getPermanentRetentionFilter( - String appId, RumPermanentRetentionFilterID permanentRfId) throws ApiException { + public RUMPermanentRetentionFilterResponse getPermanentRetentionFilter( + String appId, RUMPermanentRetentionFilterID permanentRfId) throws ApiException { return getPermanentRetentionFilterWithHttpInfo(appId, permanentRfId).getData(); } @@ -863,10 +863,10 @@ public RumPermanentRetentionFilterResponse getPermanentRetentionFilter( * * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) - * @return CompletableFuture<RumPermanentRetentionFilterResponse> + * @return CompletableFuture<RUMPermanentRetentionFilterResponse> */ - public CompletableFuture getPermanentRetentionFilterAsync( - String appId, RumPermanentRetentionFilterID permanentRfId) { + public CompletableFuture getPermanentRetentionFilterAsync( + String appId, RUMPermanentRetentionFilterID permanentRfId) { return getPermanentRetentionFilterWithHttpInfoAsync(appId, permanentRfId) .thenApply( response -> { @@ -879,7 +879,7 @@ public CompletableFuture getPermanentRetent * * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) - * @return ApiResponse<RumPermanentRetentionFilterResponse> + * @return ApiResponse<RUMPermanentRetentionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -891,8 +891,8 @@ public CompletableFuture getPermanentRetent * *
429 Too many requests -
*/ - public ApiResponse getPermanentRetentionFilterWithHttpInfo( - String appId, RumPermanentRetentionFilterID permanentRfId) throws ApiException { + public ApiResponse getPermanentRetentionFilterWithHttpInfo( + String appId, RUMPermanentRetentionFilterID permanentRfId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'appId' is set @@ -935,7 +935,7 @@ public ApiResponse getPermanentRetentionFil localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -945,16 +945,16 @@ public ApiResponse getPermanentRetentionFil * * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) - * @return CompletableFuture<ApiResponse<RumPermanentRetentionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMPermanentRetentionFilterResponse>> */ - public CompletableFuture> + public CompletableFuture> getPermanentRetentionFilterWithHttpInfoAsync( - String appId, RumPermanentRetentionFilterID permanentRfId) { + String appId, RUMPermanentRetentionFilterID permanentRfId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -965,7 +965,7 @@ public ApiResponse getPermanentRetentionFil // verify the required parameter 'permanentRfId' is set if (permanentRfId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -996,7 +996,7 @@ public ApiResponse getPermanentRetentionFil new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -1009,7 +1009,7 @@ public ApiResponse getPermanentRetentionFil localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1019,10 +1019,10 @@ public ApiResponse getPermanentRetentionFil * * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) - * @return RumRetentionFilterResponse + * @return RUMRetentionFilterResponse * @throws ApiException if fails to make API call */ - public RumRetentionFilterResponse getRetentionFilter(String appId, String rfId) + public RUMRetentionFilterResponse getRetentionFilter(String appId, String rfId) throws ApiException { return getRetentionFilterWithHttpInfo(appId, rfId).getData(); } @@ -1034,9 +1034,9 @@ public RumRetentionFilterResponse getRetentionFilter(String appId, String rfId) * * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) - * @return CompletableFuture<RumRetentionFilterResponse> + * @return CompletableFuture<RUMRetentionFilterResponse> */ - public CompletableFuture getRetentionFilterAsync( + public CompletableFuture getRetentionFilterAsync( String appId, String rfId) { return getRetentionFilterWithHttpInfoAsync(appId, rfId) .thenApply( @@ -1050,7 +1050,7 @@ public CompletableFuture getRetentionFilterAsync( * * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) - * @return ApiResponse<RumRetentionFilterResponse> + * @return ApiResponse<RUMRetentionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1062,7 +1062,7 @@ public CompletableFuture getRetentionFilterAsync( * *
429 Too many requests -
*/ - public ApiResponse getRetentionFilterWithHttpInfo( + public ApiResponse getRetentionFilterWithHttpInfo( String appId, String rfId) throws ApiException { Object localVarPostBody = null; @@ -1102,7 +1102,7 @@ public ApiResponse getRetentionFilterWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1112,15 +1112,15 @@ public ApiResponse getRetentionFilterWithHttpInfo( * * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) - * @return CompletableFuture<ApiResponse<RumRetentionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionFilterResponse>> */ - public CompletableFuture> + public CompletableFuture> getRetentionFilterWithHttpInfoAsync(String appId, String rfId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling getRetentionFilter")); @@ -1129,7 +1129,7 @@ public ApiResponse getRetentionFilterWithHttpInfo( // verify the required parameter 'rfId' is set if (rfId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'rfId' when calling getRetentionFilter")); @@ -1155,7 +1155,7 @@ public ApiResponse getRetentionFilterWithHttpInfo( new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -1167,7 +1167,7 @@ public ApiResponse getRetentionFilterWithHttpInfo( localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1176,10 +1176,10 @@ public ApiResponse getRetentionFilterWithHttpInfo( *

See {@link #listExclusionFiltersWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return RumExclusionFiltersResponse + * @return RUMExclusionFiltersResponse * @throws ApiException if fails to make API call */ - public RumExclusionFiltersResponse listExclusionFilters(String appId) throws ApiException { + public RUMExclusionFiltersResponse listExclusionFilters(String appId) throws ApiException { return listExclusionFiltersWithHttpInfo(appId).getData(); } @@ -1189,9 +1189,9 @@ public RumExclusionFiltersResponse listExclusionFilters(String appId) throws Api *

See {@link #listExclusionFiltersWithHttpInfoAsync}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<RumExclusionFiltersResponse> + * @return CompletableFuture<RUMExclusionFiltersResponse> */ - public CompletableFuture listExclusionFiltersAsync(String appId) { + public CompletableFuture listExclusionFiltersAsync(String appId) { return listExclusionFiltersWithHttpInfoAsync(appId) .thenApply( response -> { @@ -1204,7 +1204,7 @@ public CompletableFuture listExclusionFiltersAsync( * filter (error_tracking_exclusion_filter) is always returned first. * * @param appId RUM application ID. (required) - * @return ApiResponse<RumExclusionFiltersResponse> + * @return ApiResponse<RUMExclusionFiltersResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1215,7 +1215,7 @@ public CompletableFuture listExclusionFiltersAsync( * *
429 Too many requests -
*/ - public ApiResponse listExclusionFiltersWithHttpInfo(String appId) + public ApiResponse listExclusionFiltersWithHttpInfo(String appId) throws ApiException { Object localVarPostBody = null; @@ -1248,7 +1248,7 @@ public ApiResponse listExclusionFiltersWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1257,15 +1257,15 @@ public ApiResponse listExclusionFiltersWithHttpInfo *

See {@link #listExclusionFiltersWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<ApiResponse<RumExclusionFiltersResponse>> + * @return CompletableFuture<ApiResponse<RUMExclusionFiltersResponse>> */ - public CompletableFuture> + public CompletableFuture> listExclusionFiltersWithHttpInfoAsync(String appId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -1291,7 +1291,7 @@ public ApiResponse listExclusionFiltersWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -1304,7 +1304,7 @@ public ApiResponse listExclusionFiltersWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1313,10 +1313,10 @@ public ApiResponse listExclusionFiltersWithHttpInfo *

See {@link #listPermanentRetentionFiltersWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return RumPermanentRetentionFiltersResponse + * @return RUMPermanentRetentionFiltersResponse * @throws ApiException if fails to make API call */ - public RumPermanentRetentionFiltersResponse listPermanentRetentionFilters(String appId) + public RUMPermanentRetentionFiltersResponse listPermanentRetentionFilters(String appId) throws ApiException { return listPermanentRetentionFiltersWithHttpInfo(appId).getData(); } @@ -1327,9 +1327,9 @@ public RumPermanentRetentionFiltersResponse listPermanentRetentionFilters(String *

See {@link #listPermanentRetentionFiltersWithHttpInfoAsync}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<RumPermanentRetentionFiltersResponse> + * @return CompletableFuture<RUMPermanentRetentionFiltersResponse> */ - public CompletableFuture listPermanentRetentionFiltersAsync( + public CompletableFuture listPermanentRetentionFiltersAsync( String appId) { return listPermanentRetentionFiltersWithHttpInfoAsync(appId) .thenApply( @@ -1344,7 +1344,7 @@ public CompletableFuture listPermanentRete * editability block indicates which cross-product fields can be updated. * * @param appId RUM application ID. (required) - * @return ApiResponse<RumPermanentRetentionFiltersResponse> + * @return ApiResponse<RUMPermanentRetentionFiltersResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1355,7 +1355,7 @@ public CompletableFuture listPermanentRete * *
429 Too many requests -
*/ - public ApiResponse + public ApiResponse listPermanentRetentionFiltersWithHttpInfo(String appId) throws ApiException { Object localVarPostBody = null; @@ -1388,7 +1388,7 @@ public CompletableFuture listPermanentRete localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1397,15 +1397,15 @@ public CompletableFuture listPermanentRete *

See {@link #listPermanentRetentionFiltersWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<ApiResponse<RumPermanentRetentionFiltersResponse>> + * @return CompletableFuture<ApiResponse<RUMPermanentRetentionFiltersResponse>> */ - public CompletableFuture> + public CompletableFuture> listPermanentRetentionFiltersWithHttpInfoAsync(String appId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -1432,7 +1432,7 @@ public CompletableFuture listPermanentRete new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -1445,7 +1445,7 @@ public CompletableFuture listPermanentRete localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1454,10 +1454,10 @@ public CompletableFuture listPermanentRete *

See {@link #listRetentionFiltersWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return RumRetentionFiltersResponse + * @return RUMRetentionFiltersResponse * @throws ApiException if fails to make API call */ - public RumRetentionFiltersResponse listRetentionFilters(String appId) throws ApiException { + public RUMRetentionFiltersResponse listRetentionFilters(String appId) throws ApiException { return listRetentionFiltersWithHttpInfo(appId).getData(); } @@ -1467,9 +1467,9 @@ public RumRetentionFiltersResponse listRetentionFilters(String appId) throws Api *

See {@link #listRetentionFiltersWithHttpInfoAsync}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<RumRetentionFiltersResponse> + * @return CompletableFuture<RUMRetentionFiltersResponse> */ - public CompletableFuture listRetentionFiltersAsync(String appId) { + public CompletableFuture listRetentionFiltersAsync(String appId) { return listRetentionFiltersWithHttpInfoAsync(appId) .thenApply( response -> { @@ -1481,7 +1481,7 @@ public CompletableFuture listRetentionFiltersAsync( * Get the list of RUM retention filters for a RUM application. * * @param appId RUM application ID. (required) - * @return ApiResponse<RumRetentionFiltersResponse> + * @return ApiResponse<RUMRetentionFiltersResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1492,7 +1492,7 @@ public CompletableFuture listRetentionFiltersAsync( * *
429 Too many requests -
*/ - public ApiResponse listRetentionFiltersWithHttpInfo(String appId) + public ApiResponse listRetentionFiltersWithHttpInfo(String appId) throws ApiException { Object localVarPostBody = null; @@ -1525,7 +1525,7 @@ public ApiResponse listRetentionFiltersWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1534,15 +1534,15 @@ public ApiResponse listRetentionFiltersWithHttpInfo *

See {@link #listRetentionFiltersWithHttpInfo}. * * @param appId RUM application ID. (required) - * @return CompletableFuture<ApiResponse<RumRetentionFiltersResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionFiltersResponse>> */ - public CompletableFuture> + public CompletableFuture> listRetentionFiltersWithHttpInfoAsync(String appId) { Object localVarPostBody = null; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -1568,7 +1568,7 @@ public ApiResponse listRetentionFiltersWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -1581,7 +1581,7 @@ public ApiResponse listRetentionFiltersWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1591,11 +1591,11 @@ public ApiResponse listRetentionFiltersWithHttpInfo * * @param appId RUM application ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return RumRetentionFiltersOrderResponse + * @return RUMRetentionFiltersOrderResponse * @throws ApiException if fails to make API call */ - public RumRetentionFiltersOrderResponse orderRetentionFilters( - String appId, RumRetentionFiltersOrderRequest body) throws ApiException { + public RUMRetentionFiltersOrderResponse orderRetentionFilters( + String appId, RUMRetentionFiltersOrderRequest body) throws ApiException { return orderRetentionFiltersWithHttpInfo(appId, body).getData(); } @@ -1606,10 +1606,10 @@ public RumRetentionFiltersOrderResponse orderRetentionFilters( * * @param appId RUM application ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return CompletableFuture<RumRetentionFiltersOrderResponse> + * @return CompletableFuture<RUMRetentionFiltersOrderResponse> */ - public CompletableFuture orderRetentionFiltersAsync( - String appId, RumRetentionFiltersOrderRequest body) { + public CompletableFuture orderRetentionFiltersAsync( + String appId, RUMRetentionFiltersOrderRequest body) { return orderRetentionFiltersWithHttpInfoAsync(appId, body) .thenApply( response -> { @@ -1623,7 +1623,7 @@ public CompletableFuture orderRetentionFilters * * @param appId RUM application ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return ApiResponse<RumRetentionFiltersOrderResponse> + * @return ApiResponse<RUMRetentionFiltersOrderResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1635,8 +1635,8 @@ public CompletableFuture orderRetentionFilters * *
429 Too many requests -
*/ - public ApiResponse orderRetentionFiltersWithHttpInfo( - String appId, RumRetentionFiltersOrderRequest body) throws ApiException { + public ApiResponse orderRetentionFiltersWithHttpInfo( + String appId, RUMRetentionFiltersOrderRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'appId' is set @@ -1674,7 +1674,7 @@ public ApiResponse orderRetentionFiltersWithHt localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1684,15 +1684,15 @@ public ApiResponse orderRetentionFiltersWithHt * * @param appId RUM application ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return CompletableFuture<ApiResponse<RumRetentionFiltersOrderResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionFiltersOrderResponse>> */ - public CompletableFuture> - orderRetentionFiltersWithHttpInfoAsync(String appId, RumRetentionFiltersOrderRequest body) { + public CompletableFuture> + orderRetentionFiltersWithHttpInfoAsync(String appId, RUMRetentionFiltersOrderRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -1702,7 +1702,7 @@ public ApiResponse orderRetentionFiltersWithHt // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -1728,7 +1728,7 @@ public ApiResponse orderRetentionFiltersWithHt new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -1741,7 +1741,7 @@ public ApiResponse orderRetentionFiltersWithHt localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1752,11 +1752,11 @@ public ApiResponse orderRetentionFiltersWithHt * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) * @param body New definition of the RUM exclusion filter. (required) - * @return RumExclusionFilterResponse + * @return RUMExclusionFilterResponse * @throws ApiException if fails to make API call */ - public RumExclusionFilterResponse updateExclusionFilter( - String appId, String efId, RumExclusionFilterUpdateRequest body) throws ApiException { + public RUMExclusionFilterResponse updateExclusionFilter( + String appId, String efId, RUMExclusionFilterUpdateRequest body) throws ApiException { return updateExclusionFilterWithHttpInfo(appId, efId, body).getData(); } @@ -1768,10 +1768,10 @@ public RumExclusionFilterResponse updateExclusionFilter( * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) * @param body New definition of the RUM exclusion filter. (required) - * @return CompletableFuture<RumExclusionFilterResponse> + * @return CompletableFuture<RUMExclusionFilterResponse> */ - public CompletableFuture updateExclusionFilterAsync( - String appId, String efId, RumExclusionFilterUpdateRequest body) { + public CompletableFuture updateExclusionFilterAsync( + String appId, String efId, RUMExclusionFilterUpdateRequest body) { return updateExclusionFilterWithHttpInfoAsync(appId, efId, body) .thenApply( response -> { @@ -1788,7 +1788,7 @@ public CompletableFuture updateExclusionFilterAsync( * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) * @param body New definition of the RUM exclusion filter. (required) - * @return ApiResponse<RumExclusionFilterResponse> + * @return ApiResponse<RUMExclusionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1802,8 +1802,8 @@ public CompletableFuture updateExclusionFilterAsync( * *
429 Too many requests -
*/ - public ApiResponse updateExclusionFilterWithHttpInfo( - String appId, String efId, RumExclusionFilterUpdateRequest body) throws ApiException { + public ApiResponse updateExclusionFilterWithHttpInfo( + String appId, String efId, RUMExclusionFilterUpdateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'appId' is set @@ -1848,7 +1848,7 @@ public ApiResponse updateExclusionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1859,16 +1859,16 @@ public ApiResponse updateExclusionFilterWithHttpInfo * @param appId RUM application ID. (required) * @param efId Exclusion filter ID. (required) * @param body New definition of the RUM exclusion filter. (required) - * @return CompletableFuture<ApiResponse<RumExclusionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMExclusionFilterResponse>> */ - public CompletableFuture> + public CompletableFuture> updateExclusionFilterWithHttpInfoAsync( - String appId, String efId, RumExclusionFilterUpdateRequest body) { + String appId, String efId, RUMExclusionFilterUpdateRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling updateExclusionFilter")); @@ -1877,7 +1877,7 @@ public ApiResponse updateExclusionFilterWithHttpInfo // verify the required parameter 'efId' is set if (efId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'efId' when calling updateExclusionFilter")); @@ -1886,7 +1886,7 @@ public ApiResponse updateExclusionFilterWithHttpInfo // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling updateExclusionFilter")); @@ -1912,7 +1912,7 @@ public ApiResponse updateExclusionFilterWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -1924,7 +1924,7 @@ public ApiResponse updateExclusionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -1935,13 +1935,13 @@ public ApiResponse updateExclusionFilterWithHttpInfo * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) * @param body New configuration of the permanent RUM retention filter. (required) - * @return RumPermanentRetentionFilterResponse + * @return RUMPermanentRetentionFilterResponse * @throws ApiException if fails to make API call */ - public RumPermanentRetentionFilterResponse updatePermanentRetentionFilter( + public RUMPermanentRetentionFilterResponse updatePermanentRetentionFilter( String appId, - RumPermanentRetentionFilterID permanentRfId, - RumPermanentRetentionFilterUpdateRequest body) + RUMPermanentRetentionFilterID permanentRfId, + RUMPermanentRetentionFilterUpdateRequest body) throws ApiException { return updatePermanentRetentionFilterWithHttpInfo(appId, permanentRfId, body).getData(); } @@ -1954,12 +1954,12 @@ public RumPermanentRetentionFilterResponse updatePermanentRetentionFilter( * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) * @param body New configuration of the permanent RUM retention filter. (required) - * @return CompletableFuture<RumPermanentRetentionFilterResponse> + * @return CompletableFuture<RUMPermanentRetentionFilterResponse> */ - public CompletableFuture updatePermanentRetentionFilterAsync( + public CompletableFuture updatePermanentRetentionFilterAsync( String appId, - RumPermanentRetentionFilterID permanentRfId, - RumPermanentRetentionFilterUpdateRequest body) { + RUMPermanentRetentionFilterID permanentRfId, + RUMPermanentRetentionFilterUpdateRequest body) { return updatePermanentRetentionFilterWithHttpInfoAsync(appId, permanentRfId, body) .thenApply( response -> { @@ -1975,7 +1975,7 @@ public CompletableFuture updatePermanentRet * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) * @param body New configuration of the permanent RUM retention filter. (required) - * @return ApiResponse<RumPermanentRetentionFilterResponse> + * @return ApiResponse<RUMPermanentRetentionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -1988,11 +1988,11 @@ public CompletableFuture updatePermanentRet * *
429 Too many requests -
*/ - public ApiResponse + public ApiResponse updatePermanentRetentionFilterWithHttpInfo( String appId, - RumPermanentRetentionFilterID permanentRfId, - RumPermanentRetentionFilterUpdateRequest body) + RUMPermanentRetentionFilterID permanentRfId, + RUMPermanentRetentionFilterUpdateRequest body) throws ApiException { Object localVarPostBody = body; @@ -2043,7 +2043,7 @@ public CompletableFuture updatePermanentRet localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -2054,18 +2054,18 @@ public CompletableFuture updatePermanentRet * @param appId RUM application ID. (required) * @param permanentRfId The identifier of the permanent RUM retention filter. (required) * @param body New configuration of the permanent RUM retention filter. (required) - * @return CompletableFuture<ApiResponse<RumPermanentRetentionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMPermanentRetentionFilterResponse>> */ - public CompletableFuture> + public CompletableFuture> updatePermanentRetentionFilterWithHttpInfoAsync( String appId, - RumPermanentRetentionFilterID permanentRfId, - RumPermanentRetentionFilterUpdateRequest body) { + RUMPermanentRetentionFilterID permanentRfId, + RUMPermanentRetentionFilterUpdateRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -2077,7 +2077,7 @@ public CompletableFuture updatePermanentRet // verify the required parameter 'permanentRfId' is set if (permanentRfId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -2089,7 +2089,7 @@ public CompletableFuture updatePermanentRet // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( @@ -2119,7 +2119,7 @@ public CompletableFuture updatePermanentRet new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -2132,7 +2132,7 @@ public CompletableFuture updatePermanentRet localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -2143,11 +2143,11 @@ public CompletableFuture updatePermanentRet * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return RumRetentionFilterResponse + * @return RUMRetentionFilterResponse * @throws ApiException if fails to make API call */ - public RumRetentionFilterResponse updateRetentionFilter( - String appId, String rfId, RumRetentionFilterUpdateRequest body) throws ApiException { + public RUMRetentionFilterResponse updateRetentionFilter( + String appId, String rfId, RUMRetentionFilterUpdateRequest body) throws ApiException { return updateRetentionFilterWithHttpInfo(appId, rfId, body).getData(); } @@ -2159,10 +2159,10 @@ public RumRetentionFilterResponse updateRetentionFilter( * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return CompletableFuture<RumRetentionFilterResponse> + * @return CompletableFuture<RUMRetentionFilterResponse> */ - public CompletableFuture updateRetentionFilterAsync( - String appId, String rfId, RumRetentionFilterUpdateRequest body) { + public CompletableFuture updateRetentionFilterAsync( + String appId, String rfId, RUMRetentionFilterUpdateRequest body) { return updateRetentionFilterWithHttpInfoAsync(appId, rfId, body) .thenApply( response -> { @@ -2177,7 +2177,7 @@ public CompletableFuture updateRetentionFilterAsync( * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return ApiResponse<RumRetentionFilterResponse> + * @return ApiResponse<RUMRetentionFilterResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -2190,8 +2190,8 @@ public CompletableFuture updateRetentionFilterAsync( * *
429 Too many requests -
*/ - public ApiResponse updateRetentionFilterWithHttpInfo( - String appId, String rfId, RumRetentionFilterUpdateRequest body) throws ApiException { + public ApiResponse updateRetentionFilterWithHttpInfo( + String appId, String rfId, RUMRetentionFilterUpdateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'appId' is set @@ -2236,7 +2236,7 @@ public ApiResponse updateRetentionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** @@ -2247,16 +2247,16 @@ public ApiResponse updateRetentionFilterWithHttpInfo * @param appId RUM application ID. (required) * @param rfId Retention filter ID. (required) * @param body New definition of the RUM retention filter. (required) - * @return CompletableFuture<ApiResponse<RumRetentionFilterResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionFilterResponse>> */ - public CompletableFuture> + public CompletableFuture> updateRetentionFilterWithHttpInfoAsync( - String appId, String rfId, RumRetentionFilterUpdateRequest body) { + String appId, String rfId, RUMRetentionFilterUpdateRequest body) { Object localVarPostBody = body; // verify the required parameter 'appId' is set if (appId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'appId' when calling updateRetentionFilter")); @@ -2265,7 +2265,7 @@ public ApiResponse updateRetentionFilterWithHttpInfo // verify the required parameter 'rfId' is set if (rfId == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'rfId' when calling updateRetentionFilter")); @@ -2274,7 +2274,7 @@ public ApiResponse updateRetentionFilterWithHttpInfo // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( 400, "Missing the required parameter 'body' when calling updateRetentionFilter")); @@ -2300,7 +2300,7 @@ public ApiResponse updateRetentionFilterWithHttpInfo new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = new CompletableFuture<>(); + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; } @@ -2312,6 +2312,6 @@ public ApiResponse updateRetentionFilterWithHttpInfo localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } diff --git a/src/main/java/com/datadog/api/client/v2/api/RumRetentionQuotasApi.java b/src/main/java/com/datadog/api/client/v2/api/RumRetentionQuotasApi.java index cdbb5f8340d..5bd7a7b92b5 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumRetentionQuotasApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumRetentionQuotasApi.java @@ -4,9 +4,9 @@ import com.datadog.api.client.ApiException; import com.datadog.api.client.ApiResponse; import com.datadog.api.client.Pair; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigResponse; -import com.datadog.api.client.v2.model.RumRetentionQuotaConfigUpdateRequest; -import com.datadog.api.client.v2.model.RumRetentionQuotaScopeType; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigResponse; +import com.datadog.api.client.v2.model.RUMRetentionQuotaConfigUpdateRequest; +import com.datadog.api.client.v2.model.RUMRetentionQuotaScopeType; import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; import java.util.ArrayList; @@ -48,7 +48,7 @@ public void setApiClient(ApiClient apiClient) { /** * Delete a RUM retention quota configuration. * - *

See {@link #deleteRumQuotaConfigWithHttpInfo}. + *

See {@link #deleteRUMQuotaConfigWithHttpInfo}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required, default to "application") @@ -56,15 +56,15 @@ public void setApiClient(ApiClient apiClient) { * the application scope, this is the RUM application ID. (required) * @throws ApiException if fails to make API call */ - public void deleteRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String scopeId) + public void deleteRUMQuotaConfig(RUMRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { - deleteRumQuotaConfigWithHttpInfo(scopeType, scopeId); + deleteRUMQuotaConfigWithHttpInfo(scopeType, scopeId); } /** * Delete a RUM retention quota configuration. * - *

See {@link #deleteRumQuotaConfigWithHttpInfoAsync}. + *

See {@link #deleteRUMQuotaConfigWithHttpInfoAsync}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required, default to "application") @@ -72,9 +72,9 @@ public void deleteRumQuotaConfig(RumRetentionQuotaScopeType scopeType, String sc * the application scope, this is the RUM application ID. (required) * @return CompletableFuture */ - public CompletableFuture deleteRumQuotaConfigAsync( - RumRetentionQuotaScopeType scopeType, String scopeId) { - return deleteRumQuotaConfigWithHttpInfoAsync(scopeType, scopeId) + public CompletableFuture deleteRUMQuotaConfigAsync( + RUMRetentionQuotaScopeType scopeType, String scopeId) { + return deleteRUMQuotaConfigWithHttpInfoAsync(scopeType, scopeId) .thenApply( response -> { return response.getData(); @@ -102,20 +102,20 @@ public CompletableFuture deleteRumQuotaConfigAsync( * 429 Too many requests - * */ - public ApiResponse deleteRumQuotaConfigWithHttpInfo( - RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { + public ApiResponse deleteRUMQuotaConfigWithHttpInfo( + RUMRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'scopeType' is set if (scopeType == null) { throw new ApiException( - 400, "Missing the required parameter 'scopeType' when calling deleteRumQuotaConfig"); + 400, "Missing the required parameter 'scopeType' when calling deleteRUMQuotaConfig"); } // verify the required parameter 'scopeId' is set if (scopeId == null) { throw new ApiException( - 400, "Missing the required parameter 'scopeId' when calling deleteRumQuotaConfig"); + 400, "Missing the required parameter 'scopeId' when calling deleteRUMQuotaConfig"); } // create path and map variables String localVarPath = @@ -127,7 +127,7 @@ public ApiResponse deleteRumQuotaConfigWithHttpInfo( Invocation.Builder builder = apiClient.createBuilder( - "v2.RumRetentionQuotasApi.deleteRumQuotaConfig", + "v2.RumRetentionQuotasApi.deleteRUMQuotaConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -148,7 +148,7 @@ public ApiResponse deleteRumQuotaConfigWithHttpInfo( /** * Delete a RUM retention quota configuration. * - *

See {@link #deleteRumQuotaConfigWithHttpInfo}. + *

See {@link #deleteRUMQuotaConfigWithHttpInfo}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required) @@ -156,8 +156,8 @@ public ApiResponse deleteRumQuotaConfigWithHttpInfo( * the application scope, this is the RUM application ID. (required) * @return CompletableFuture<ApiResponse<Void>> */ - public CompletableFuture> deleteRumQuotaConfigWithHttpInfoAsync( - RumRetentionQuotaScopeType scopeType, String scopeId) { + public CompletableFuture> deleteRUMQuotaConfigWithHttpInfoAsync( + RUMRetentionQuotaScopeType scopeType, String scopeId) { Object localVarPostBody = null; // verify the required parameter 'scopeType' is set @@ -165,7 +165,7 @@ public CompletableFuture> deleteRumQuotaConfigWithHttpInfoAsyn CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'scopeType' when calling deleteRumQuotaConfig")); + 400, "Missing the required parameter 'scopeType' when calling deleteRUMQuotaConfig")); return result; } @@ -174,7 +174,7 @@ public CompletableFuture> deleteRumQuotaConfigWithHttpInfoAsyn CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'scopeId' when calling deleteRumQuotaConfig")); + 400, "Missing the required parameter 'scopeId' when calling deleteRUMQuotaConfig")); return result; } // create path and map variables @@ -189,7 +189,7 @@ public CompletableFuture> deleteRumQuotaConfigWithHttpInfoAsyn try { builder = apiClient.createBuilder( - "v2.RumRetentionQuotasApi.deleteRumQuotaConfig", + "v2.RumRetentionQuotasApi.deleteRUMQuotaConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -215,34 +215,34 @@ public CompletableFuture> deleteRumQuotaConfigWithHttpInfoAsyn /** * Get a RUM retention quota configuration. * - *

See {@link #getRumQuotaConfigWithHttpInfo}. + *

See {@link #getRUMQuotaConfigWithHttpInfo}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required, default to "application") * @param scopeId The identifier of the scope the retention quota configuration applies to. For * the application scope, this is the RUM application ID. (required) - * @return RumRetentionQuotaConfigResponse + * @return RUMRetentionQuotaConfigResponse * @throws ApiException if fails to make API call */ - public RumRetentionQuotaConfigResponse getRumQuotaConfig( - RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { - return getRumQuotaConfigWithHttpInfo(scopeType, scopeId).getData(); + public RUMRetentionQuotaConfigResponse getRUMQuotaConfig( + RUMRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { + return getRUMQuotaConfigWithHttpInfo(scopeType, scopeId).getData(); } /** * Get a RUM retention quota configuration. * - *

See {@link #getRumQuotaConfigWithHttpInfoAsync}. + *

See {@link #getRUMQuotaConfigWithHttpInfoAsync}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required, default to "application") * @param scopeId The identifier of the scope the retention quota configuration applies to. For * the application scope, this is the RUM application ID. (required) - * @return CompletableFuture<RumRetentionQuotaConfigResponse> + * @return CompletableFuture<RUMRetentionQuotaConfigResponse> */ - public CompletableFuture getRumQuotaConfigAsync( - RumRetentionQuotaScopeType scopeType, String scopeId) { - return getRumQuotaConfigWithHttpInfoAsync(scopeType, scopeId) + public CompletableFuture getRUMQuotaConfigAsync( + RUMRetentionQuotaScopeType scopeType, String scopeId) { + return getRUMQuotaConfigWithHttpInfoAsync(scopeType, scopeId) .thenApply( response -> { return response.getData(); @@ -256,7 +256,7 @@ public CompletableFuture getRumQuotaConfigAsync * application is the only supported scope type. (required) * @param scopeId The identifier of the scope the retention quota configuration applies to. For * the application scope, this is the RUM application ID. (required) - * @return ApiResponse<RumRetentionQuotaConfigResponse> + * @return ApiResponse<RUMRetentionQuotaConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -270,20 +270,20 @@ public CompletableFuture getRumQuotaConfigAsync * *
429 Too many requests -
*/ - public ApiResponse getRumQuotaConfigWithHttpInfo( - RumRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { + public ApiResponse getRUMQuotaConfigWithHttpInfo( + RUMRetentionQuotaScopeType scopeType, String scopeId) throws ApiException { Object localVarPostBody = null; // verify the required parameter 'scopeType' is set if (scopeType == null) { throw new ApiException( - 400, "Missing the required parameter 'scopeType' when calling getRumQuotaConfig"); + 400, "Missing the required parameter 'scopeType' when calling getRUMQuotaConfig"); } // verify the required parameter 'scopeId' is set if (scopeId == null) { throw new ApiException( - 400, "Missing the required parameter 'scopeId' when calling getRumQuotaConfig"); + 400, "Missing the required parameter 'scopeId' when calling getRUMQuotaConfig"); } // create path and map variables String localVarPath = @@ -295,7 +295,7 @@ public ApiResponse getRumQuotaConfigWithHttpInf Invocation.Builder builder = apiClient.createBuilder( - "v2.RumRetentionQuotasApi.getRumQuotaConfig", + "v2.RumRetentionQuotasApi.getRUMQuotaConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -310,41 +310,41 @@ public ApiResponse getRumQuotaConfigWithHttpInf localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Get a RUM retention quota configuration. * - *

See {@link #getRumQuotaConfigWithHttpInfo}. + *

See {@link #getRUMQuotaConfigWithHttpInfo}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required) * @param scopeId The identifier of the scope the retention quota configuration applies to. For * the application scope, this is the RUM application ID. (required) - * @return CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionQuotaConfigResponse>> */ - public CompletableFuture> - getRumQuotaConfigWithHttpInfoAsync(RumRetentionQuotaScopeType scopeType, String scopeId) { + public CompletableFuture> + getRUMQuotaConfigWithHttpInfoAsync(RUMRetentionQuotaScopeType scopeType, String scopeId) { Object localVarPostBody = null; // verify the required parameter 'scopeType' is set if (scopeType == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'scopeType' when calling getRumQuotaConfig")); + 400, "Missing the required parameter 'scopeType' when calling getRUMQuotaConfig")); return result; } // verify the required parameter 'scopeId' is set if (scopeId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'scopeId' when calling getRumQuotaConfig")); + 400, "Missing the required parameter 'scopeId' when calling getRUMQuotaConfig")); return result; } // create path and map variables @@ -359,7 +359,7 @@ public ApiResponse getRumQuotaConfigWithHttpInf try { builder = apiClient.createBuilder( - "v2.RumRetentionQuotasApi.getRumQuotaConfig", + "v2.RumRetentionQuotasApi.getRUMQuotaConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -367,7 +367,7 @@ public ApiResponse getRumQuotaConfigWithHttpInf new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -380,13 +380,13 @@ public ApiResponse getRumQuotaConfigWithHttpInf localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Create or update a RUM retention quota config. * - *

See {@link #upsertRumQuotaConfigWithHttpInfo}. + *

See {@link #upsertRUMQuotaConfigWithHttpInfo}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required, default to "application") @@ -394,21 +394,21 @@ public ApiResponse getRumQuotaConfigWithHttpInf * the application scope, this is the RUM application ID. (required) * @param body The definition of the RUM retention quota configuration to create or update. * (required) - * @return RumRetentionQuotaConfigResponse + * @return RUMRetentionQuotaConfigResponse * @throws ApiException if fails to make API call */ - public RumRetentionQuotaConfigResponse upsertRumQuotaConfig( - RumRetentionQuotaScopeType scopeType, + public RUMRetentionQuotaConfigResponse upsertRUMQuotaConfig( + RUMRetentionQuotaScopeType scopeType, String scopeId, - RumRetentionQuotaConfigUpdateRequest body) + RUMRetentionQuotaConfigUpdateRequest body) throws ApiException { - return upsertRumQuotaConfigWithHttpInfo(scopeType, scopeId, body).getData(); + return upsertRUMQuotaConfigWithHttpInfo(scopeType, scopeId, body).getData(); } /** * Create or update a RUM retention quota config. * - *

See {@link #upsertRumQuotaConfigWithHttpInfoAsync}. + *

See {@link #upsertRUMQuotaConfigWithHttpInfoAsync}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required, default to "application") @@ -416,13 +416,13 @@ public RumRetentionQuotaConfigResponse upsertRumQuotaConfig( * the application scope, this is the RUM application ID. (required) * @param body The definition of the RUM retention quota configuration to create or update. * (required) - * @return CompletableFuture<RumRetentionQuotaConfigResponse> + * @return CompletableFuture<RUMRetentionQuotaConfigResponse> */ - public CompletableFuture upsertRumQuotaConfigAsync( - RumRetentionQuotaScopeType scopeType, + public CompletableFuture upsertRUMQuotaConfigAsync( + RUMRetentionQuotaScopeType scopeType, String scopeId, - RumRetentionQuotaConfigUpdateRequest body) { - return upsertRumQuotaConfigWithHttpInfoAsync(scopeType, scopeId, body) + RUMRetentionQuotaConfigUpdateRequest body) { + return upsertRUMQuotaConfigWithHttpInfoAsync(scopeType, scopeId, body) .thenApply( response -> { return response.getData(); @@ -439,7 +439,7 @@ public CompletableFuture upsertRumQuotaConfigAs * the application scope, this is the RUM application ID. (required) * @param body The definition of the RUM retention quota configuration to create or update. * (required) - * @return ApiResponse<RumRetentionQuotaConfigResponse> + * @return ApiResponse<RUMRetentionQuotaConfigResponse> * @throws ApiException if fails to make API call * @http.response.details * @@ -453,29 +453,29 @@ public CompletableFuture upsertRumQuotaConfigAs * *
429 Too many requests -
*/ - public ApiResponse upsertRumQuotaConfigWithHttpInfo( - RumRetentionQuotaScopeType scopeType, + public ApiResponse upsertRUMQuotaConfigWithHttpInfo( + RUMRetentionQuotaScopeType scopeType, String scopeId, - RumRetentionQuotaConfigUpdateRequest body) + RUMRetentionQuotaConfigUpdateRequest body) throws ApiException { Object localVarPostBody = body; // verify the required parameter 'scopeType' is set if (scopeType == null) { throw new ApiException( - 400, "Missing the required parameter 'scopeType' when calling upsertRumQuotaConfig"); + 400, "Missing the required parameter 'scopeType' when calling upsertRUMQuotaConfig"); } // verify the required parameter 'scopeId' is set if (scopeId == null) { throw new ApiException( - 400, "Missing the required parameter 'scopeId' when calling upsertRumQuotaConfig"); + 400, "Missing the required parameter 'scopeId' when calling upsertRUMQuotaConfig"); } // verify the required parameter 'body' is set if (body == null) { throw new ApiException( - 400, "Missing the required parameter 'body' when calling upsertRumQuotaConfig"); + 400, "Missing the required parameter 'body' when calling upsertRUMQuotaConfig"); } // create path and map variables String localVarPath = @@ -487,7 +487,7 @@ public ApiResponse upsertRumQuotaConfigWithHttp Invocation.Builder builder = apiClient.createBuilder( - "v2.RumRetentionQuotasApi.upsertRumQuotaConfig", + "v2.RumRetentionQuotasApi.upsertRUMQuotaConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -502,13 +502,13 @@ public ApiResponse upsertRumQuotaConfigWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } /** * Create or update a RUM retention quota config. * - *

See {@link #upsertRumQuotaConfigWithHttpInfo}. + *

See {@link #upsertRUMQuotaConfigWithHttpInfo}. * * @param scopeType The type of scope the retention quota configuration applies to. * application is the only supported scope type. (required) @@ -516,42 +516,42 @@ public ApiResponse upsertRumQuotaConfigWithHttp * the application scope, this is the RUM application ID. (required) * @param body The definition of the RUM retention quota configuration to create or update. * (required) - * @return CompletableFuture<ApiResponse<RumRetentionQuotaConfigResponse>> + * @return CompletableFuture<ApiResponse<RUMRetentionQuotaConfigResponse>> */ - public CompletableFuture> - upsertRumQuotaConfigWithHttpInfoAsync( - RumRetentionQuotaScopeType scopeType, + public CompletableFuture> + upsertRUMQuotaConfigWithHttpInfoAsync( + RUMRetentionQuotaScopeType scopeType, String scopeId, - RumRetentionQuotaConfigUpdateRequest body) { + RUMRetentionQuotaConfigUpdateRequest body) { Object localVarPostBody = body; // verify the required parameter 'scopeType' is set if (scopeType == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'scopeType' when calling upsertRumQuotaConfig")); + 400, "Missing the required parameter 'scopeType' when calling upsertRUMQuotaConfig")); return result; } // verify the required parameter 'scopeId' is set if (scopeId == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'scopeId' when calling upsertRumQuotaConfig")); + 400, "Missing the required parameter 'scopeId' when calling upsertRUMQuotaConfig")); return result; } // verify the required parameter 'body' is set if (body == null) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally( new ApiException( - 400, "Missing the required parameter 'body' when calling upsertRumQuotaConfig")); + 400, "Missing the required parameter 'body' when calling upsertRUMQuotaConfig")); return result; } // create path and map variables @@ -566,7 +566,7 @@ public ApiResponse upsertRumQuotaConfigWithHttp try { builder = apiClient.createBuilder( - "v2.RumRetentionQuotasApi.upsertRumQuotaConfig", + "v2.RumRetentionQuotasApi.upsertRUMQuotaConfig", localVarPath, new ArrayList(), localVarHeaderParams, @@ -574,7 +574,7 @@ public ApiResponse upsertRumQuotaConfigWithHttp new String[] {"application/json"}, new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); } catch (ApiException ex) { - CompletableFuture> result = + CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); return result; @@ -587,6 +587,6 @@ public ApiResponse upsertRumQuotaConfigWithHttp localVarPostBody, new HashMap(), false, - new GenericType() {}); + new GenericType() {}); } } 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 941ec823da0..b34cca84724 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 @@ -101,7 +101,7 @@ public PlaylistData type(PlaylistDataType type) { } /** - * Rum replay playlist resource type. + * RUM replay playlist resource type. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/PlaylistDataType.java b/src/main/java/com/datadog/api/client/v2/model/PlaylistDataType.java index 1cf4841a9c8..f063e793708 100644 --- a/src/main/java/com/datadog/api/client/v2/model/PlaylistDataType.java +++ b/src/main/java/com/datadog/api/client/v2/model/PlaylistDataType.java @@ -18,7 +18,7 @@ import java.util.HashSet; import java.util.Set; -/** Rum replay playlist resource type. */ +/** RUM replay playlist resource type. */ @JsonSerialize(using = PlaylistDataType.PlaylistDataTypeSerializer.class) public class PlaylistDataType extends ModelEnum { 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 206213a3cd5..46885344ce4 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 @@ -104,7 +104,7 @@ public PlaylistsSessionData type(ViewershipHistorySessionDataType type) { } /** - * Rum replay session resource type. + * RUM replay session resource type. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfig.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfig.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfig.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfig.java index 5eaaf229934..678c956466f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfig.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfig.java @@ -19,31 +19,31 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumArchiveConfig.JSON_PROPERTY_ATTRIBUTES, - RumArchiveConfig.JSON_PROPERTY_ID, - RumArchiveConfig.JSON_PROPERTY_TYPE + RUMArchiveConfig.JSON_PROPERTY_ATTRIBUTES, + RUMArchiveConfig.JSON_PROPERTY_ID, + RUMArchiveConfig.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfig { +public class RUMArchiveConfig { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumArchiveConfigAttributes attributes; + private RUMArchiveConfigAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumArchiveConfigType type; + private RUMArchiveConfigType type; - public RumArchiveConfig() {} + public RUMArchiveConfig() {} @JsonCreator - public RumArchiveConfig( + public RUMArchiveConfig( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumArchiveConfigAttributes attributes, + RUMArchiveConfigAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumArchiveConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMArchiveConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumArchiveConfig( this.unparsed |= !type.isValid(); } - public RumArchiveConfig attributes(RumArchiveConfigAttributes attributes) { + public RUMArchiveConfig attributes(RUMArchiveConfigAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumArchiveConfig attributes(RumArchiveConfigAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigAttributes getAttributes() { + public RUMArchiveConfigAttributes getAttributes() { return attributes; } - public void setAttributes(RumArchiveConfigAttributes attributes) { + public void setAttributes(RUMArchiveConfigAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumArchiveConfig id(String id) { + public RUMArchiveConfig id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumArchiveConfig type(RumArchiveConfigType type) { + public RUMArchiveConfig type(RUMArchiveConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumArchiveConfig type(RumArchiveConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigType getType() { + public RUMArchiveConfigType getType() { return type; } - public void setType(RumArchiveConfigType type) { + public void setType(RUMArchiveConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumArchiveConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfig + * @return RUMArchiveConfig */ @JsonAnySetter - public RumArchiveConfig putAdditionalProperty(String key, Object value) { + public RUMArchiveConfig putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfig object is equal to o. */ + /** Return true if this RUMArchiveConfig object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfig rumArchiveConfig = (RumArchiveConfig) o; + RUMArchiveConfig rumArchiveConfig = (RUMArchiveConfig) o; return Objects.equals(this.attributes, rumArchiveConfig.attributes) && Objects.equals(this.id, rumArchiveConfig.id) && Objects.equals(this.type, rumArchiveConfig.type) @@ -189,7 +189,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfig {\n"); + sb.append("class RUMArchiveConfig {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigAttributes.java similarity index 87% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigAttributes.java index b7ca1cc6420..fc5d1a599ed 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigAttributes.java @@ -20,15 +20,15 @@ /** Archive configuration. */ @JsonPropertyOrder({ - RumArchiveConfigAttributes.JSON_PROPERTY_ENABLED, - RumArchiveConfigAttributes.JSON_PROPERTY_ORG_ID, - RumArchiveConfigAttributes.JSON_PROPERTY_RETENTION_DAYS, - RumArchiveConfigAttributes.JSON_PROPERTY_UPDATED_AT, - RumArchiveConfigAttributes.JSON_PROPERTY_UPDATED_BY + RUMArchiveConfigAttributes.JSON_PROPERTY_ENABLED, + RUMArchiveConfigAttributes.JSON_PROPERTY_ORG_ID, + RUMArchiveConfigAttributes.JSON_PROPERTY_RETENTION_DAYS, + RUMArchiveConfigAttributes.JSON_PROPERTY_UPDATED_AT, + RUMArchiveConfigAttributes.JSON_PROPERTY_UPDATED_BY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigAttributes { +public class RUMArchiveConfigAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; @@ -45,17 +45,17 @@ public class RumArchiveConfigAttributes { public static final String JSON_PROPERTY_UPDATED_BY = "updated_by"; private String updatedBy; - public RumArchiveConfigAttributes() {} + public RUMArchiveConfigAttributes() {} @JsonCreator - public RumArchiveConfigAttributes( + public RUMArchiveConfigAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ENABLED) Boolean enabled, @JsonProperty(required = true, value = JSON_PROPERTY_ORG_ID) Long orgId) { this.enabled = enabled; this.orgId = orgId; } - public RumArchiveConfigAttributes enabled(Boolean enabled) { + public RUMArchiveConfigAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -75,7 +75,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumArchiveConfigAttributes orgId(Long orgId) { + public RUMArchiveConfigAttributes orgId(Long orgId) { this.orgId = orgId; return this; } @@ -95,7 +95,7 @@ public void setOrgId(Long orgId) { this.orgId = orgId; } - public RumArchiveConfigAttributes retentionDays(Integer retentionDays) { + public RUMArchiveConfigAttributes retentionDays(Integer retentionDays) { this.retentionDays = retentionDays; return this; } @@ -117,7 +117,7 @@ public void setRetentionDays(Integer retentionDays) { this.retentionDays = retentionDays; } - public RumArchiveConfigAttributes updatedAt(OffsetDateTime updatedAt) { + public RUMArchiveConfigAttributes updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } @@ -138,7 +138,7 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; } - public RumArchiveConfigAttributes updatedBy(String updatedBy) { + public RUMArchiveConfigAttributes updatedBy(String updatedBy) { this.updatedBy = updatedBy; return this; } @@ -171,10 +171,10 @@ public void setUpdatedBy(String updatedBy) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigAttributes + * @return RUMArchiveConfigAttributes */ @JsonAnySetter - public RumArchiveConfigAttributes putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -205,7 +205,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigAttributes object is equal to o. */ + /** Return true if this RUMArchiveConfigAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -214,7 +214,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigAttributes rumArchiveConfigAttributes = (RumArchiveConfigAttributes) o; + RUMArchiveConfigAttributes rumArchiveConfigAttributes = (RUMArchiveConfigAttributes) o; return Objects.equals(this.enabled, rumArchiveConfigAttributes.enabled) && Objects.equals(this.orgId, rumArchiveConfigAttributes.orgId) && Objects.equals(this.retentionDays, rumArchiveConfigAttributes.retentionDays) @@ -232,7 +232,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigAttributes {\n"); + sb.append("class RUMArchiveConfigAttributes {\n"); sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append(" orgId: ").append(toIndentedString(orgId)).append("\n"); sb.append(" retentionDays: ").append(toIndentedString(retentionDays)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigListResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigListResponse.java similarity index 79% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigListResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigListResponse.java index 5102109658e..a13e6b5dd8e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigListResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigListResponse.java @@ -21,42 +21,42 @@ /** JSON:API document. */ @JsonPropertyOrder({ - RumArchiveConfigListResponse.JSON_PROPERTY_DATA, - RumArchiveConfigListResponse.JSON_PROPERTY_META + RUMArchiveConfigListResponse.JSON_PROPERTY_DATA, + RUMArchiveConfigListResponse.JSON_PROPERTY_META }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigListResponse { +public class RUMArchiveConfigListResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = new ArrayList<>(); + private List data = new ArrayList<>(); public static final String JSON_PROPERTY_META = "meta"; - private RumArchiveConfigMeta meta; + private RUMArchiveConfigMeta meta; - public RumArchiveConfigListResponse() {} + public RUMArchiveConfigListResponse() {} @JsonCreator - public RumArchiveConfigListResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) List data, - @JsonProperty(required = true, value = JSON_PROPERTY_META) RumArchiveConfigMeta meta) { + public RUMArchiveConfigListResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) List data, + @JsonProperty(required = true, value = JSON_PROPERTY_META) RUMArchiveConfigMeta meta) { this.data = data; - for (RumArchiveConfig item : data) { + for (RUMArchiveConfig item : data) { this.unparsed |= item.unparsed; } this.meta = meta; this.unparsed |= meta.unparsed; } - public RumArchiveConfigListResponse data(List data) { + public RUMArchiveConfigListResponse data(List data) { this.data = data; - for (RumArchiveConfig item : data) { + for (RUMArchiveConfig item : data) { this.unparsed |= item.unparsed; } return this; } - public RumArchiveConfigListResponse addDataItem(RumArchiveConfig dataItem) { + public RUMArchiveConfigListResponse addDataItem(RUMArchiveConfig dataItem) { this.data.add(dataItem); this.unparsed |= dataItem.unparsed; return this; @@ -69,20 +69,20 @@ public RumArchiveConfigListResponse addDataItem(RumArchiveConfig dataItem) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumArchiveConfig item : data) { + for (RUMArchiveConfig item : data) { this.unparsed |= item.unparsed; } } } - public RumArchiveConfigListResponse meta(RumArchiveConfigMeta meta) { + public RUMArchiveConfigListResponse meta(RUMArchiveConfigMeta meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -95,11 +95,11 @@ public RumArchiveConfigListResponse meta(RumArchiveConfigMeta meta) { */ @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigMeta getMeta() { + public RUMArchiveConfigMeta getMeta() { return meta; } - public void setMeta(RumArchiveConfigMeta meta) { + public void setMeta(RUMArchiveConfigMeta meta) { this.meta = meta; if (meta != null) { this.unparsed |= meta.unparsed; @@ -118,10 +118,10 @@ public void setMeta(RumArchiveConfigMeta meta) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigListResponse + * @return RUMArchiveConfigListResponse */ @JsonAnySetter - public RumArchiveConfigListResponse putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigListResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -152,7 +152,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigListResponse object is equal to o. */ + /** Return true if this RUMArchiveConfigListResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -161,7 +161,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigListResponse rumArchiveConfigListResponse = (RumArchiveConfigListResponse) o; + RUMArchiveConfigListResponse rumArchiveConfigListResponse = (RUMArchiveConfigListResponse) o; return Objects.equals(this.data, rumArchiveConfigListResponse.data) && Objects.equals(this.meta, rumArchiveConfigListResponse.meta) && Objects.equals( @@ -176,7 +176,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigListResponse {\n"); + sb.append("class RUMArchiveConfigListResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigMeta.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigMeta.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigMeta.java index 62eaea27fba..030bfc38574 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigMeta.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Pagination metadata. */ -@JsonPropertyOrder({RumArchiveConfigMeta.JSON_PROPERTY_PAGE}) +@JsonPropertyOrder({RUMArchiveConfigMeta.JSON_PROPERTY_PAGE}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigMeta { +public class RUMArchiveConfigMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_PAGE = "page"; - private RumArchiveConfigPage page; + private RUMArchiveConfigPage page; - public RumArchiveConfigMeta() {} + public RUMArchiveConfigMeta() {} @JsonCreator - public RumArchiveConfigMeta( - @JsonProperty(required = true, value = JSON_PROPERTY_PAGE) RumArchiveConfigPage page) { + public RUMArchiveConfigMeta( + @JsonProperty(required = true, value = JSON_PROPERTY_PAGE) RUMArchiveConfigPage page) { this.page = page; this.unparsed |= page.unparsed; } - public RumArchiveConfigMeta page(RumArchiveConfigPage page) { + public RUMArchiveConfigMeta page(RUMArchiveConfigPage page) { this.page = page; this.unparsed |= page.unparsed; return this; @@ -48,11 +48,11 @@ public RumArchiveConfigMeta page(RumArchiveConfigPage page) { */ @JsonProperty(JSON_PROPERTY_PAGE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigPage getPage() { + public RUMArchiveConfigPage getPage() { return page; } - public void setPage(RumArchiveConfigPage page) { + public void setPage(RUMArchiveConfigPage page) { this.page = page; if (page != null) { this.unparsed |= page.unparsed; @@ -71,10 +71,10 @@ public void setPage(RumArchiveConfigPage page) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigMeta + * @return RUMArchiveConfigMeta */ @JsonAnySetter - public RumArchiveConfigMeta putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigMeta object is equal to o. */ + /** Return true if this RUMArchiveConfigMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigMeta rumArchiveConfigMeta = (RumArchiveConfigMeta) o; + RUMArchiveConfigMeta rumArchiveConfigMeta = (RUMArchiveConfigMeta) o; return Objects.equals(this.page, rumArchiveConfigMeta.page) && Objects.equals(this.additionalProperties, rumArchiveConfigMeta.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigMeta {\n"); + sb.append("class RUMArchiveConfigMeta {\n"); sb.append(" page: ").append(toIndentedString(page)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigPage.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigPage.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigPage.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigPage.java index 8eb124bcee9..9f2453cef19 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigPage.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigPage.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Page information. */ -@JsonPropertyOrder({RumArchiveConfigPage.JSON_PROPERTY_TOTAL_FILTERED_COUNT}) +@JsonPropertyOrder({RUMArchiveConfigPage.JSON_PROPERTY_TOTAL_FILTERED_COUNT}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigPage { +public class RUMArchiveConfigPage { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_TOTAL_FILTERED_COUNT = "total_filtered_count"; private Long totalFilteredCount; - public RumArchiveConfigPage() {} + public RUMArchiveConfigPage() {} @JsonCreator - public RumArchiveConfigPage( + public RUMArchiveConfigPage( @JsonProperty(required = true, value = JSON_PROPERTY_TOTAL_FILTERED_COUNT) Long totalFilteredCount) { this.totalFilteredCount = totalFilteredCount; } - public RumArchiveConfigPage totalFilteredCount(Long totalFilteredCount) { + public RUMArchiveConfigPage totalFilteredCount(Long totalFilteredCount) { this.totalFilteredCount = totalFilteredCount; return this; } @@ -67,10 +67,10 @@ public void setTotalFilteredCount(Long totalFilteredCount) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigPage + * @return RUMArchiveConfigPage */ @JsonAnySetter - public RumArchiveConfigPage putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigPage putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -101,7 +101,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigPage object is equal to o. */ + /** Return true if this RUMArchiveConfigPage object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -110,7 +110,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigPage rumArchiveConfigPage = (RumArchiveConfigPage) o; + RUMArchiveConfigPage rumArchiveConfigPage = (RUMArchiveConfigPage) o; return Objects.equals(this.totalFilteredCount, rumArchiveConfigPage.totalFilteredCount) && Objects.equals(this.additionalProperties, rumArchiveConfigPage.additionalProperties); } @@ -123,7 +123,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigPage {\n"); + sb.append("class RUMArchiveConfigPage {\n"); sb.append(" totalFilteredCount: ").append(toIndentedString(totalFilteredCount)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigResponse.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigResponse.java index cacab4b32ec..51db4920f2c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigResponse.java @@ -18,24 +18,24 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumArchiveConfigResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMArchiveConfigResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigResponse { +public class RUMArchiveConfigResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumArchiveConfig data; + private RUMArchiveConfig data; - public RumArchiveConfigResponse() {} + public RUMArchiveConfigResponse() {} @JsonCreator - public RumArchiveConfigResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumArchiveConfig data) { + public RUMArchiveConfigResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMArchiveConfig data) { this.data = data; this.unparsed |= data.unparsed; } - public RumArchiveConfigResponse data(RumArchiveConfig data) { + public RUMArchiveConfigResponse data(RUMArchiveConfig data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumArchiveConfigResponse data(RumArchiveConfig data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfig getData() { + public RUMArchiveConfig getData() { return data; } - public void setData(RumArchiveConfig data) { + public void setData(RUMArchiveConfig data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumArchiveConfig data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigResponse + * @return RUMArchiveConfigResponse */ @JsonAnySetter - public RumArchiveConfigResponse putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigResponse object is equal to o. */ + /** Return true if this RUMArchiveConfigResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigResponse rumArchiveConfigResponse = (RumArchiveConfigResponse) o; + RUMArchiveConfigResponse rumArchiveConfigResponse = (RUMArchiveConfigResponse) o; return Objects.equals(this.data, rumArchiveConfigResponse.data) && Objects.equals(this.additionalProperties, rumArchiveConfigResponse.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigResponse {\n"); + sb.append("class RUMArchiveConfigResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigType.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigType.java index 64c504f14aa..6b4fb37eacc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigType.java @@ -19,38 +19,38 @@ import java.util.Set; /** JSON:API resource type. */ -@JsonSerialize(using = RumArchiveConfigType.RumArchiveConfigTypeSerializer.class) -public class RumArchiveConfigType extends ModelEnum { +@JsonSerialize(using = RUMArchiveConfigType.RUMArchiveConfigTypeSerializer.class) +public class RUMArchiveConfigType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_archive_config")); - public static final RumArchiveConfigType RUM_ARCHIVE_CONFIG = - new RumArchiveConfigType("rum_archive_config"); + public static final RUMArchiveConfigType RUM_ARCHIVE_CONFIG = + new RUMArchiveConfigType("rum_archive_config"); - RumArchiveConfigType(String value) { + RUMArchiveConfigType(String value) { super(value, allowedValues); } - public static class RumArchiveConfigTypeSerializer extends StdSerializer { - public RumArchiveConfigTypeSerializer(Class t) { + public static class RUMArchiveConfigTypeSerializer extends StdSerializer { + public RUMArchiveConfigTypeSerializer(Class t) { super(t); } - public RumArchiveConfigTypeSerializer() { + public RUMArchiveConfigTypeSerializer() { this(null); } @Override public void serialize( - RumArchiveConfigType value, JsonGenerator jgen, SerializerProvider provider) + RUMArchiveConfigType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumArchiveConfigType fromValue(String value) { - return new RumArchiveConfigType(value); + public static RUMArchiveConfigType fromValue(String value) { + return new RUMArchiveConfigType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertAttributes.java similarity index 87% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertAttributes.java index b2c8e0e5a02..6b36ad42661 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertAttributes.java @@ -22,12 +22,12 @@ * 90, or 180. When disabled, retention_days can be omitted. */ @JsonPropertyOrder({ - RumArchiveConfigUpsertAttributes.JSON_PROPERTY_ENABLED, - RumArchiveConfigUpsertAttributes.JSON_PROPERTY_RETENTION_DAYS + RUMArchiveConfigUpsertAttributes.JSON_PROPERTY_ENABLED, + RUMArchiveConfigUpsertAttributes.JSON_PROPERTY_RETENTION_DAYS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigUpsertAttributes { +public class RUMArchiveConfigUpsertAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; @@ -35,15 +35,15 @@ public class RumArchiveConfigUpsertAttributes { public static final String JSON_PROPERTY_RETENTION_DAYS = "retention_days"; private Integer retentionDays; - public RumArchiveConfigUpsertAttributes() {} + public RUMArchiveConfigUpsertAttributes() {} @JsonCreator - public RumArchiveConfigUpsertAttributes( + public RUMArchiveConfigUpsertAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ENABLED) Boolean enabled) { this.enabled = enabled; } - public RumArchiveConfigUpsertAttributes enabled(Boolean enabled) { + public RUMArchiveConfigUpsertAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -63,7 +63,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumArchiveConfigUpsertAttributes retentionDays(Integer retentionDays) { + public RUMArchiveConfigUpsertAttributes retentionDays(Integer retentionDays) { this.retentionDays = retentionDays; return this; } @@ -97,10 +97,10 @@ public void setRetentionDays(Integer retentionDays) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigUpsertAttributes + * @return RUMArchiveConfigUpsertAttributes */ @JsonAnySetter - public RumArchiveConfigUpsertAttributes putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigUpsertAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -131,7 +131,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigUpsertAttributes object is equal to o. */ + /** Return true if this RUMArchiveConfigUpsertAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -140,8 +140,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigUpsertAttributes rumArchiveConfigUpsertAttributes = - (RumArchiveConfigUpsertAttributes) o; + RUMArchiveConfigUpsertAttributes rumArchiveConfigUpsertAttributes = + (RUMArchiveConfigUpsertAttributes) o; return Objects.equals(this.enabled, rumArchiveConfigUpsertAttributes.enabled) && Objects.equals(this.retentionDays, rumArchiveConfigUpsertAttributes.retentionDays) && Objects.equals( @@ -156,7 +156,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigUpsertAttributes {\n"); + sb.append("class RUMArchiveConfigUpsertAttributes {\n"); sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append(" retentionDays: ").append(toIndentedString(retentionDays)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertData.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertData.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertData.java index e992f4d3751..bb436aee0ae 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertData.java @@ -19,31 +19,31 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumArchiveConfigUpsertData.JSON_PROPERTY_ATTRIBUTES, - RumArchiveConfigUpsertData.JSON_PROPERTY_ID, - RumArchiveConfigUpsertData.JSON_PROPERTY_TYPE + RUMArchiveConfigUpsertData.JSON_PROPERTY_ATTRIBUTES, + RUMArchiveConfigUpsertData.JSON_PROPERTY_ID, + RUMArchiveConfigUpsertData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigUpsertData { +public class RUMArchiveConfigUpsertData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumArchiveConfigUpsertAttributes attributes; + private RUMArchiveConfigUpsertAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumArchiveConfigType type; + private RUMArchiveConfigType type; - public RumArchiveConfigUpsertData() {} + public RUMArchiveConfigUpsertData() {} @JsonCreator - public RumArchiveConfigUpsertData( + public RUMArchiveConfigUpsertData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumArchiveConfigUpsertAttributes attributes, + RUMArchiveConfigUpsertAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumArchiveConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMArchiveConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumArchiveConfigUpsertData( this.unparsed |= !type.isValid(); } - public RumArchiveConfigUpsertData attributes(RumArchiveConfigUpsertAttributes attributes) { + public RUMArchiveConfigUpsertData attributes(RUMArchiveConfigUpsertAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumArchiveConfigUpsertData attributes(RumArchiveConfigUpsertAttributes at */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigUpsertAttributes getAttributes() { + public RUMArchiveConfigUpsertAttributes getAttributes() { return attributes; } - public void setAttributes(RumArchiveConfigUpsertAttributes attributes) { + public void setAttributes(RUMArchiveConfigUpsertAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumArchiveConfigUpsertData id(String id) { + public RUMArchiveConfigUpsertData id(String id) { this.id = id; return this; } @@ -96,7 +96,7 @@ public void setId(String id) { this.id = id; } - public RumArchiveConfigUpsertData type(RumArchiveConfigType type) { + public RUMArchiveConfigUpsertData type(RUMArchiveConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -109,11 +109,11 @@ public RumArchiveConfigUpsertData type(RumArchiveConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigType getType() { + public RUMArchiveConfigType getType() { return type; } - public void setType(RumArchiveConfigType type) { + public void setType(RUMArchiveConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -132,10 +132,10 @@ public void setType(RumArchiveConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigUpsertData + * @return RUMArchiveConfigUpsertData */ @JsonAnySetter - public RumArchiveConfigUpsertData putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigUpsertData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -166,7 +166,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigUpsertData object is equal to o. */ + /** Return true if this RUMArchiveConfigUpsertData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -175,7 +175,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigUpsertData rumArchiveConfigUpsertData = (RumArchiveConfigUpsertData) o; + RUMArchiveConfigUpsertData rumArchiveConfigUpsertData = (RUMArchiveConfigUpsertData) o; return Objects.equals(this.attributes, rumArchiveConfigUpsertData.attributes) && Objects.equals(this.id, rumArchiveConfigUpsertData.id) && Objects.equals(this.type, rumArchiveConfigUpsertData.type) @@ -191,7 +191,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigUpsertData {\n"); + sb.append("class RUMArchiveConfigUpsertData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertRequest.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertRequest.java index 9f46808bed2..88d13e04a61 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveConfigUpsertRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveConfigUpsertRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumArchiveConfigUpsertRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMArchiveConfigUpsertRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveConfigUpsertRequest { +public class RUMArchiveConfigUpsertRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumArchiveConfigUpsertData data; + private RUMArchiveConfigUpsertData data; - public RumArchiveConfigUpsertRequest() {} + public RUMArchiveConfigUpsertRequest() {} @JsonCreator - public RumArchiveConfigUpsertRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumArchiveConfigUpsertData data) { + public RUMArchiveConfigUpsertRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMArchiveConfigUpsertData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumArchiveConfigUpsertRequest data(RumArchiveConfigUpsertData data) { + public RUMArchiveConfigUpsertRequest data(RUMArchiveConfigUpsertData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumArchiveConfigUpsertRequest data(RumArchiveConfigUpsertData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveConfigUpsertData getData() { + public RUMArchiveConfigUpsertData getData() { return data; } - public void setData(RumArchiveConfigUpsertData data) { + public void setData(RUMArchiveConfigUpsertData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumArchiveConfigUpsertData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveConfigUpsertRequest + * @return RUMArchiveConfigUpsertRequest */ @JsonAnySetter - public RumArchiveConfigUpsertRequest putAdditionalProperty(String key, Object value) { + public RUMArchiveConfigUpsertRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveConfigUpsertRequest object is equal to o. */ + /** Return true if this RUMArchiveConfigUpsertRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveConfigUpsertRequest rumArchiveConfigUpsertRequest = (RumArchiveConfigUpsertRequest) o; + RUMArchiveConfigUpsertRequest rumArchiveConfigUpsertRequest = (RUMArchiveConfigUpsertRequest) o; return Objects.equals(this.data, rumArchiveConfigUpsertRequest.data) && Objects.equals( this.additionalProperties, rumArchiveConfigUpsertRequest.additionalProperties); @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveConfigUpsertRequest {\n"); + sb.append("class RUMArchiveConfigUpsertRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSession.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSession.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSession.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSession.java index 9b254190628..517dc91dd6c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSession.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSession.java @@ -19,31 +19,31 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumArchiveSession.JSON_PROPERTY_ATTRIBUTES, - RumArchiveSession.JSON_PROPERTY_ID, - RumArchiveSession.JSON_PROPERTY_TYPE + RUMArchiveSession.JSON_PROPERTY_ATTRIBUTES, + RUMArchiveSession.JSON_PROPERTY_ID, + RUMArchiveSession.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSession { +public class RUMArchiveSession { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumArchiveSessionAttributes attributes; + private RUMArchiveSessionAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumArchiveSessionType type; + private RUMArchiveSessionType type; - public RumArchiveSession() {} + public RUMArchiveSession() {} @JsonCreator - public RumArchiveSession( + public RUMArchiveSession( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumArchiveSessionAttributes attributes, + RUMArchiveSessionAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumArchiveSessionType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMArchiveSessionType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumArchiveSession( this.unparsed |= !type.isValid(); } - public RumArchiveSession attributes(RumArchiveSessionAttributes attributes) { + public RUMArchiveSession attributes(RUMArchiveSessionAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumArchiveSession attributes(RumArchiveSessionAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionAttributes getAttributes() { + public RUMArchiveSessionAttributes getAttributes() { return attributes; } - public void setAttributes(RumArchiveSessionAttributes attributes) { + public void setAttributes(RUMArchiveSessionAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumArchiveSession id(String id) { + public RUMArchiveSession id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumArchiveSession type(RumArchiveSessionType type) { + public RUMArchiveSession type(RUMArchiveSessionType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumArchiveSession type(RumArchiveSessionType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionType getType() { + public RUMArchiveSessionType getType() { return type; } - public void setType(RumArchiveSessionType type) { + public void setType(RUMArchiveSessionType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumArchiveSessionType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSession + * @return RUMArchiveSession */ @JsonAnySetter - public RumArchiveSession putAdditionalProperty(String key, Object value) { + public RUMArchiveSession putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSession object is equal to o. */ + /** Return true if this RUMArchiveSession object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSession rumArchiveSession = (RumArchiveSession) o; + RUMArchiveSession rumArchiveSession = (RUMArchiveSession) o; return Objects.equals(this.attributes, rumArchiveSession.attributes) && Objects.equals(this.id, rumArchiveSession.id) && Objects.equals(this.type, rumArchiveSession.type) @@ -189,7 +189,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSession {\n"); + sb.append("class RUMArchiveSession {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionAttributes.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionAttributes.java index ecdbeb431a6..dafea918415 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionAttributes.java @@ -20,20 +20,20 @@ /** Archived session metadata. */ @JsonPropertyOrder({ - RumArchiveSessionAttributes.JSON_PROPERTY_ACCOUNT_ID, - RumArchiveSessionAttributes.JSON_PROPERTY_ANONYMOUS_ID, - RumArchiveSessionAttributes.JSON_PROPERTY_APPLICATION_ID, - RumArchiveSessionAttributes.JSON_PROPERTY_COUNTRY, - RumArchiveSessionAttributes.JSON_PROPERTY_RECOVERY_STATUS, - RumArchiveSessionAttributes.JSON_PROPERTY_SERVICE, - RumArchiveSessionAttributes.JSON_PROPERTY_SESSION_ID, - RumArchiveSessionAttributes.JSON_PROPERTY_TIMESTAMP, - RumArchiveSessionAttributes.JSON_PROPERTY_USER_ID, - RumArchiveSessionAttributes.JSON_PROPERTY_VERSION + RUMArchiveSessionAttributes.JSON_PROPERTY_ACCOUNT_ID, + RUMArchiveSessionAttributes.JSON_PROPERTY_ANONYMOUS_ID, + RUMArchiveSessionAttributes.JSON_PROPERTY_APPLICATION_ID, + RUMArchiveSessionAttributes.JSON_PROPERTY_COUNTRY, + RUMArchiveSessionAttributes.JSON_PROPERTY_RECOVERY_STATUS, + RUMArchiveSessionAttributes.JSON_PROPERTY_SERVICE, + RUMArchiveSessionAttributes.JSON_PROPERTY_SESSION_ID, + RUMArchiveSessionAttributes.JSON_PROPERTY_TIMESTAMP, + RUMArchiveSessionAttributes.JSON_PROPERTY_USER_ID, + RUMArchiveSessionAttributes.JSON_PROPERTY_VERSION }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionAttributes { +public class RUMArchiveSessionAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ACCOUNT_ID = "account_id"; private String accountId; @@ -48,7 +48,7 @@ public class RumArchiveSessionAttributes { private String country; public static final String JSON_PROPERTY_RECOVERY_STATUS = "recovery_status"; - private RumArchiveSessionRecoveryStatus recoveryStatus; + private RUMArchiveSessionRecoveryStatus recoveryStatus; public static final String JSON_PROPERTY_SERVICE = "service"; private String service; @@ -65,16 +65,16 @@ public class RumArchiveSessionAttributes { public static final String JSON_PROPERTY_VERSION = "version"; private String version; - public RumArchiveSessionAttributes() {} + public RUMArchiveSessionAttributes() {} @JsonCreator - public RumArchiveSessionAttributes( + public RUMArchiveSessionAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ACCOUNT_ID) String accountId, @JsonProperty(required = true, value = JSON_PROPERTY_ANONYMOUS_ID) String anonymousId, @JsonProperty(required = true, value = JSON_PROPERTY_APPLICATION_ID) UUID applicationId, @JsonProperty(required = true, value = JSON_PROPERTY_COUNTRY) String country, @JsonProperty(required = true, value = JSON_PROPERTY_RECOVERY_STATUS) - RumArchiveSessionRecoveryStatus recoveryStatus, + RUMArchiveSessionRecoveryStatus recoveryStatus, @JsonProperty(required = true, value = JSON_PROPERTY_SERVICE) String service, @JsonProperty(required = true, value = JSON_PROPERTY_SESSION_ID) String sessionId, @JsonProperty(required = true, value = JSON_PROPERTY_TIMESTAMP) Long timestamp, @@ -100,7 +100,7 @@ public RumArchiveSessionAttributes( if (version != null) {} } - public RumArchiveSessionAttributes accountId(String accountId) { + public RUMArchiveSessionAttributes accountId(String accountId) { this.accountId = accountId; if (accountId != null) {} return this; @@ -122,7 +122,7 @@ public void setAccountId(String accountId) { this.accountId = accountId; } - public RumArchiveSessionAttributes anonymousId(String anonymousId) { + public RUMArchiveSessionAttributes anonymousId(String anonymousId) { this.anonymousId = anonymousId; if (anonymousId != null) {} return this; @@ -144,7 +144,7 @@ public void setAnonymousId(String anonymousId) { this.anonymousId = anonymousId; } - public RumArchiveSessionAttributes applicationId(UUID applicationId) { + public RUMArchiveSessionAttributes applicationId(UUID applicationId) { this.applicationId = applicationId; return this; } @@ -164,7 +164,7 @@ public void setApplicationId(UUID applicationId) { this.applicationId = applicationId; } - public RumArchiveSessionAttributes country(String country) { + public RUMArchiveSessionAttributes country(String country) { this.country = country; if (country != null) {} return this; @@ -186,8 +186,8 @@ public void setCountry(String country) { this.country = country; } - public RumArchiveSessionAttributes recoveryStatus( - RumArchiveSessionRecoveryStatus recoveryStatus) { + public RUMArchiveSessionAttributes recoveryStatus( + RUMArchiveSessionRecoveryStatus recoveryStatus) { this.recoveryStatus = recoveryStatus; if (recoveryStatus != null) { this.unparsed |= recoveryStatus.unparsed; @@ -204,18 +204,18 @@ public RumArchiveSessionAttributes recoveryStatus( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_RECOVERY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionRecoveryStatus getRecoveryStatus() { + public RUMArchiveSessionRecoveryStatus getRecoveryStatus() { return recoveryStatus; } - public void setRecoveryStatus(RumArchiveSessionRecoveryStatus recoveryStatus) { + public void setRecoveryStatus(RUMArchiveSessionRecoveryStatus recoveryStatus) { this.recoveryStatus = recoveryStatus; if (recoveryStatus != null) { this.unparsed |= recoveryStatus.unparsed; } } - public RumArchiveSessionAttributes service(String service) { + public RUMArchiveSessionAttributes service(String service) { this.service = service; return this; } @@ -235,7 +235,7 @@ public void setService(String service) { this.service = service; } - public RumArchiveSessionAttributes sessionId(String sessionId) { + public RUMArchiveSessionAttributes sessionId(String sessionId) { this.sessionId = sessionId; return this; } @@ -255,7 +255,7 @@ public void setSessionId(String sessionId) { this.sessionId = sessionId; } - public RumArchiveSessionAttributes timestamp(Long timestamp) { + public RUMArchiveSessionAttributes timestamp(Long timestamp) { this.timestamp = timestamp; return this; } @@ -275,7 +275,7 @@ public void setTimestamp(Long timestamp) { this.timestamp = timestamp; } - public RumArchiveSessionAttributes userId(String userId) { + public RUMArchiveSessionAttributes userId(String userId) { this.userId = userId; if (userId != null) {} return this; @@ -297,7 +297,7 @@ public void setUserId(String userId) { this.userId = userId; } - public RumArchiveSessionAttributes version(String version) { + public RUMArchiveSessionAttributes version(String version) { this.version = version; if (version != null) {} return this; @@ -331,10 +331,10 @@ public void setVersion(String version) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionAttributes + * @return RUMArchiveSessionAttributes */ @JsonAnySetter - public RumArchiveSessionAttributes putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -365,7 +365,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionAttributes object is equal to o. */ + /** Return true if this RUMArchiveSessionAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -374,7 +374,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionAttributes rumArchiveSessionAttributes = (RumArchiveSessionAttributes) o; + RUMArchiveSessionAttributes rumArchiveSessionAttributes = (RUMArchiveSessionAttributes) o; return Objects.equals(this.accountId, rumArchiveSessionAttributes.accountId) && Objects.equals(this.anonymousId, rumArchiveSessionAttributes.anonymousId) && Objects.equals(this.applicationId, rumArchiveSessionAttributes.applicationId) @@ -408,7 +408,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionAttributes {\n"); + sb.append("class RUMArchiveSessionAttributes {\n"); sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); sb.append(" anonymousId: ").append(toIndentedString(anonymousId)).append("\n"); sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionRecoveryStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionRecoveryStatus.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionRecoveryStatus.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionRecoveryStatus.java index a688a86297e..6ed1c33994d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionRecoveryStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionRecoveryStatus.java @@ -23,13 +23,13 @@ * and recovered_at are omitted when unavailable. */ @JsonPropertyOrder({ - RumArchiveSessionRecoveryStatus.JSON_PROPERTY_RECOVERED_AT, - RumArchiveSessionRecoveryStatus.JSON_PROPERTY_REQUEST_ID, - RumArchiveSessionRecoveryStatus.JSON_PROPERTY_STATUS + RUMArchiveSessionRecoveryStatus.JSON_PROPERTY_RECOVERED_AT, + RUMArchiveSessionRecoveryStatus.JSON_PROPERTY_REQUEST_ID, + RUMArchiveSessionRecoveryStatus.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionRecoveryStatus { +public class RUMArchiveSessionRecoveryStatus { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_RECOVERED_AT = "recovered_at"; private OffsetDateTime recoveredAt; @@ -38,19 +38,19 @@ public class RumArchiveSessionRecoveryStatus { private String requestId; public static final String JSON_PROPERTY_STATUS = "status"; - private RumRecoverySessionStatus status; + private RUMRecoverySessionStatus status; - public RumArchiveSessionRecoveryStatus() {} + public RUMArchiveSessionRecoveryStatus() {} @JsonCreator - public RumArchiveSessionRecoveryStatus( + public RUMArchiveSessionRecoveryStatus( @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) - RumRecoverySessionStatus status) { + RUMRecoverySessionStatus status) { this.status = status; this.unparsed |= !status.isValid(); } - public RumArchiveSessionRecoveryStatus recoveredAt(OffsetDateTime recoveredAt) { + public RUMArchiveSessionRecoveryStatus recoveredAt(OffsetDateTime recoveredAt) { this.recoveredAt = recoveredAt; return this; } @@ -71,7 +71,7 @@ public void setRecoveredAt(OffsetDateTime recoveredAt) { this.recoveredAt = recoveredAt; } - public RumArchiveSessionRecoveryStatus requestId(String requestId) { + public RUMArchiveSessionRecoveryStatus requestId(String requestId) { this.requestId = requestId; return this; } @@ -92,7 +92,7 @@ public void setRequestId(String requestId) { this.requestId = requestId; } - public RumArchiveSessionRecoveryStatus status(RumRecoverySessionStatus status) { + public RUMArchiveSessionRecoveryStatus status(RUMRecoverySessionStatus status) { this.status = status; this.unparsed |= !status.isValid(); return this; @@ -106,11 +106,11 @@ public RumArchiveSessionRecoveryStatus status(RumRecoverySessionStatus status) { */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoverySessionStatus getStatus() { + public RUMRecoverySessionStatus getStatus() { return status; } - public void setStatus(RumRecoverySessionStatus status) { + public void setStatus(RUMRecoverySessionStatus status) { if (!status.isValid()) { this.unparsed = true; } @@ -129,10 +129,10 @@ public void setStatus(RumRecoverySessionStatus status) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionRecoveryStatus + * @return RUMArchiveSessionRecoveryStatus */ @JsonAnySetter - public RumArchiveSessionRecoveryStatus putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionRecoveryStatus putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -163,7 +163,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionRecoveryStatus object is equal to o. */ + /** Return true if this RUMArchiveSessionRecoveryStatus object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -172,8 +172,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionRecoveryStatus rumArchiveSessionRecoveryStatus = - (RumArchiveSessionRecoveryStatus) o; + RUMArchiveSessionRecoveryStatus rumArchiveSessionRecoveryStatus = + (RUMArchiveSessionRecoveryStatus) o; return Objects.equals(this.recoveredAt, rumArchiveSessionRecoveryStatus.recoveredAt) && Objects.equals(this.requestId, rumArchiveSessionRecoveryStatus.requestId) && Objects.equals(this.status, rumArchiveSessionRecoveryStatus.status) @@ -189,7 +189,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionRecoveryStatus {\n"); + sb.append("class RUMArchiveSessionRecoveryStatus {\n"); sb.append(" recoveredAt: ").append(toIndentedString(recoveredAt)).append("\n"); sb.append(" requestId: ").append(toIndentedString(requestId)).append("\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionType.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionType.java index 64bcb20ec27..3698446da14 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionType.java @@ -19,38 +19,38 @@ import java.util.Set; /** JSON:API resource type. */ -@JsonSerialize(using = RumArchiveSessionType.RumArchiveSessionTypeSerializer.class) -public class RumArchiveSessionType extends ModelEnum { +@JsonSerialize(using = RUMArchiveSessionType.RUMArchiveSessionTypeSerializer.class) +public class RUMArchiveSessionType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_archive_session")); - public static final RumArchiveSessionType RUM_ARCHIVE_SESSION = - new RumArchiveSessionType("rum_archive_session"); + public static final RUMArchiveSessionType RUM_ARCHIVE_SESSION = + new RUMArchiveSessionType("rum_archive_session"); - RumArchiveSessionType(String value) { + RUMArchiveSessionType(String value) { super(value, allowedValues); } - public static class RumArchiveSessionTypeSerializer extends StdSerializer { - public RumArchiveSessionTypeSerializer(Class t) { + public static class RUMArchiveSessionTypeSerializer extends StdSerializer { + public RUMArchiveSessionTypeSerializer(Class t) { super(t); } - public RumArchiveSessionTypeSerializer() { + public RUMArchiveSessionTypeSerializer() { this(null); } @Override public void serialize( - RumArchiveSessionType value, JsonGenerator jgen, SerializerProvider provider) + RUMArchiveSessionType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumArchiveSessionType fromValue(String value) { - return new RumArchiveSessionType(value); + public static RUMArchiveSessionType fromValue(String value) { + return new RUMArchiveSessionType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsMeta.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsMeta.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsMeta.java index a5b96ad2b31..0491950ab76 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsMeta.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Search metadata. */ -@JsonPropertyOrder({RumArchiveSessionsMeta.JSON_PROPERTY_PAGE}) +@JsonPropertyOrder({RUMArchiveSessionsMeta.JSON_PROPERTY_PAGE}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionsMeta { +public class RUMArchiveSessionsMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_PAGE = "page"; - private RumArchiveSessionsPage page; + private RUMArchiveSessionsPage page; - public RumArchiveSessionsMeta() {} + public RUMArchiveSessionsMeta() {} @JsonCreator - public RumArchiveSessionsMeta( - @JsonProperty(required = true, value = JSON_PROPERTY_PAGE) RumArchiveSessionsPage page) { + public RUMArchiveSessionsMeta( + @JsonProperty(required = true, value = JSON_PROPERTY_PAGE) RUMArchiveSessionsPage page) { this.page = page; this.unparsed |= page.unparsed; } - public RumArchiveSessionsMeta page(RumArchiveSessionsPage page) { + public RUMArchiveSessionsMeta page(RUMArchiveSessionsPage page) { this.page = page; this.unparsed |= page.unparsed; return this; @@ -48,11 +48,11 @@ public RumArchiveSessionsMeta page(RumArchiveSessionsPage page) { */ @JsonProperty(JSON_PROPERTY_PAGE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionsPage getPage() { + public RUMArchiveSessionsPage getPage() { return page; } - public void setPage(RumArchiveSessionsPage page) { + public void setPage(RUMArchiveSessionsPage page) { this.page = page; if (page != null) { this.unparsed |= page.unparsed; @@ -71,10 +71,10 @@ public void setPage(RumArchiveSessionsPage page) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionsMeta + * @return RUMArchiveSessionsMeta */ @JsonAnySetter - public RumArchiveSessionsMeta putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionsMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionsMeta object is equal to o. */ + /** Return true if this RUMArchiveSessionsMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionsMeta rumArchiveSessionsMeta = (RumArchiveSessionsMeta) o; + RUMArchiveSessionsMeta rumArchiveSessionsMeta = (RUMArchiveSessionsMeta) o; return Objects.equals(this.page, rumArchiveSessionsMeta.page) && Objects.equals(this.additionalProperties, rumArchiveSessionsMeta.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionsMeta {\n"); + sb.append("class RUMArchiveSessionsMeta {\n"); sb.append(" page: ").append(toIndentedString(page)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsPage.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsPage.java similarity index 88% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsPage.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsPage.java index 1f6246a4658..0f58a6d9bd7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsPage.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsPage.java @@ -19,12 +19,12 @@ /** Search pagination. */ @JsonPropertyOrder({ - RumArchiveSessionsPage.JSON_PROPERTY_NEXT_CURSOR, - RumArchiveSessionsPage.JSON_PROPERTY_TOTAL_COUNT + RUMArchiveSessionsPage.JSON_PROPERTY_NEXT_CURSOR, + RUMArchiveSessionsPage.JSON_PROPERTY_TOTAL_COUNT }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionsPage { +public class RUMArchiveSessionsPage { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_NEXT_CURSOR = "next_cursor"; private String nextCursor; @@ -32,15 +32,15 @@ public class RumArchiveSessionsPage { public static final String JSON_PROPERTY_TOTAL_COUNT = "total_count"; private Long totalCount; - public RumArchiveSessionsPage() {} + public RUMArchiveSessionsPage() {} @JsonCreator - public RumArchiveSessionsPage( + public RUMArchiveSessionsPage( @JsonProperty(required = true, value = JSON_PROPERTY_TOTAL_COUNT) Long totalCount) { this.totalCount = totalCount; } - public RumArchiveSessionsPage nextCursor(String nextCursor) { + public RUMArchiveSessionsPage nextCursor(String nextCursor) { this.nextCursor = nextCursor; return this; } @@ -61,7 +61,7 @@ public void setNextCursor(String nextCursor) { this.nextCursor = nextCursor; } - public RumArchiveSessionsPage totalCount(Long totalCount) { + public RUMArchiveSessionsPage totalCount(Long totalCount) { this.totalCount = totalCount; return this; } @@ -94,10 +94,10 @@ public void setTotalCount(Long totalCount) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionsPage + * @return RUMArchiveSessionsPage */ @JsonAnySetter - public RumArchiveSessionsPage putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionsPage putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -128,7 +128,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionsPage object is equal to o. */ + /** Return true if this RUMArchiveSessionsPage object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -137,7 +137,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionsPage rumArchiveSessionsPage = (RumArchiveSessionsPage) o; + RUMArchiveSessionsPage rumArchiveSessionsPage = (RUMArchiveSessionsPage) o; return Objects.equals(this.nextCursor, rumArchiveSessionsPage.nextCursor) && Objects.equals(this.totalCount, rumArchiveSessionsPage.totalCount) && Objects.equals(this.additionalProperties, rumArchiveSessionsPage.additionalProperties); @@ -151,7 +151,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionsPage {\n"); + sb.append("class RUMArchiveSessionsPage {\n"); sb.append(" nextCursor: ").append(toIndentedString(nextCursor)).append("\n"); sb.append(" totalCount: ").append(toIndentedString(totalCount)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsResponse.java similarity index 80% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsResponse.java index d6baa72a198..9f6e53fec0f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsResponse.java @@ -21,42 +21,42 @@ /** JSON:API document. */ @JsonPropertyOrder({ - RumArchiveSessionsResponse.JSON_PROPERTY_DATA, - RumArchiveSessionsResponse.JSON_PROPERTY_META + RUMArchiveSessionsResponse.JSON_PROPERTY_DATA, + RUMArchiveSessionsResponse.JSON_PROPERTY_META }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionsResponse { +public class RUMArchiveSessionsResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = new ArrayList<>(); + private List data = new ArrayList<>(); public static final String JSON_PROPERTY_META = "meta"; - private RumArchiveSessionsMeta meta; + private RUMArchiveSessionsMeta meta; - public RumArchiveSessionsResponse() {} + public RUMArchiveSessionsResponse() {} @JsonCreator - public RumArchiveSessionsResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) List data, - @JsonProperty(required = true, value = JSON_PROPERTY_META) RumArchiveSessionsMeta meta) { + public RUMArchiveSessionsResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) List data, + @JsonProperty(required = true, value = JSON_PROPERTY_META) RUMArchiveSessionsMeta meta) { this.data = data; - for (RumArchiveSession item : data) { + for (RUMArchiveSession item : data) { this.unparsed |= item.unparsed; } this.meta = meta; this.unparsed |= meta.unparsed; } - public RumArchiveSessionsResponse data(List data) { + public RUMArchiveSessionsResponse data(List data) { this.data = data; - for (RumArchiveSession item : data) { + for (RUMArchiveSession item : data) { this.unparsed |= item.unparsed; } return this; } - public RumArchiveSessionsResponse addDataItem(RumArchiveSession dataItem) { + public RUMArchiveSessionsResponse addDataItem(RUMArchiveSession dataItem) { this.data.add(dataItem); this.unparsed |= dataItem.unparsed; return this; @@ -69,20 +69,20 @@ public RumArchiveSessionsResponse addDataItem(RumArchiveSession dataItem) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumArchiveSession item : data) { + for (RUMArchiveSession item : data) { this.unparsed |= item.unparsed; } } } - public RumArchiveSessionsResponse meta(RumArchiveSessionsMeta meta) { + public RUMArchiveSessionsResponse meta(RUMArchiveSessionsMeta meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -95,11 +95,11 @@ public RumArchiveSessionsResponse meta(RumArchiveSessionsMeta meta) { */ @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionsMeta getMeta() { + public RUMArchiveSessionsMeta getMeta() { return meta; } - public void setMeta(RumArchiveSessionsMeta meta) { + public void setMeta(RUMArchiveSessionsMeta meta) { this.meta = meta; if (meta != null) { this.unparsed |= meta.unparsed; @@ -118,10 +118,10 @@ public void setMeta(RumArchiveSessionsMeta meta) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionsResponse + * @return RUMArchiveSessionsResponse */ @JsonAnySetter - public RumArchiveSessionsResponse putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionsResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -152,7 +152,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionsResponse object is equal to o. */ + /** Return true if this RUMArchiveSessionsResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -161,7 +161,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionsResponse rumArchiveSessionsResponse = (RumArchiveSessionsResponse) o; + RUMArchiveSessionsResponse rumArchiveSessionsResponse = (RUMArchiveSessionsResponse) o; return Objects.equals(this.data, rumArchiveSessionsResponse.data) && Objects.equals(this.meta, rumArchiveSessionsResponse.meta) && Objects.equals( @@ -176,7 +176,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionsResponse {\n"); + sb.append("class RUMArchiveSessionsResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchAttributes.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchAttributes.java index 435dae3ff47..f6913120042 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchAttributes.java @@ -22,16 +22,16 @@ * searching. */ @JsonPropertyOrder({ - RumArchiveSessionsSearchAttributes.JSON_PROPERTY_CURSOR, - RumArchiveSessionsSearchAttributes.JSON_PROPERTY_FROM, - RumArchiveSessionsSearchAttributes.JSON_PROPERTY_HIDE_RETAINED, - RumArchiveSessionsSearchAttributes.JSON_PROPERTY_LIMIT, - RumArchiveSessionsSearchAttributes.JSON_PROPERTY_QUERY, - RumArchiveSessionsSearchAttributes.JSON_PROPERTY_TO + RUMArchiveSessionsSearchAttributes.JSON_PROPERTY_CURSOR, + RUMArchiveSessionsSearchAttributes.JSON_PROPERTY_FROM, + RUMArchiveSessionsSearchAttributes.JSON_PROPERTY_HIDE_RETAINED, + RUMArchiveSessionsSearchAttributes.JSON_PROPERTY_LIMIT, + RUMArchiveSessionsSearchAttributes.JSON_PROPERTY_QUERY, + RUMArchiveSessionsSearchAttributes.JSON_PROPERTY_TO }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionsSearchAttributes { +public class RUMArchiveSessionsSearchAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CURSOR = "cursor"; private String cursor; @@ -51,10 +51,10 @@ public class RumArchiveSessionsSearchAttributes { public static final String JSON_PROPERTY_TO = "to"; private Long to; - public RumArchiveSessionsSearchAttributes() {} + public RUMArchiveSessionsSearchAttributes() {} @JsonCreator - public RumArchiveSessionsSearchAttributes( + public RUMArchiveSessionsSearchAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_FROM) Long from, @JsonProperty(required = true, value = JSON_PROPERTY_QUERY) String query, @JsonProperty(required = true, value = JSON_PROPERTY_TO) Long to) { @@ -63,7 +63,7 @@ public RumArchiveSessionsSearchAttributes( this.to = to; } - public RumArchiveSessionsSearchAttributes cursor(String cursor) { + public RUMArchiveSessionsSearchAttributes cursor(String cursor) { this.cursor = cursor; return this; } @@ -84,7 +84,7 @@ public void setCursor(String cursor) { this.cursor = cursor; } - public RumArchiveSessionsSearchAttributes from(Long from) { + public RUMArchiveSessionsSearchAttributes from(Long from) { this.from = from; return this; } @@ -104,7 +104,7 @@ public void setFrom(Long from) { this.from = from; } - public RumArchiveSessionsSearchAttributes hideRetained(Boolean hideRetained) { + public RUMArchiveSessionsSearchAttributes hideRetained(Boolean hideRetained) { this.hideRetained = hideRetained; return this; } @@ -126,7 +126,7 @@ public void setHideRetained(Boolean hideRetained) { this.hideRetained = hideRetained; } - public RumArchiveSessionsSearchAttributes limit(Integer limit) { + public RUMArchiveSessionsSearchAttributes limit(Integer limit) { this.limit = limit; return this; } @@ -147,7 +147,7 @@ public void setLimit(Integer limit) { this.limit = limit; } - public RumArchiveSessionsSearchAttributes query(String query) { + public RUMArchiveSessionsSearchAttributes query(String query) { this.query = query; return this; } @@ -167,7 +167,7 @@ public void setQuery(String query) { this.query = query; } - public RumArchiveSessionsSearchAttributes to(Long to) { + public RUMArchiveSessionsSearchAttributes to(Long to) { this.to = to; return this; } @@ -199,10 +199,10 @@ public void setTo(Long to) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionsSearchAttributes + * @return RUMArchiveSessionsSearchAttributes */ @JsonAnySetter - public RumArchiveSessionsSearchAttributes putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionsSearchAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -233,7 +233,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionsSearchAttributes object is equal to o. */ + /** Return true if this RUMArchiveSessionsSearchAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -242,8 +242,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionsSearchAttributes rumArchiveSessionsSearchAttributes = - (RumArchiveSessionsSearchAttributes) o; + RUMArchiveSessionsSearchAttributes rumArchiveSessionsSearchAttributes = + (RUMArchiveSessionsSearchAttributes) o; return Objects.equals(this.cursor, rumArchiveSessionsSearchAttributes.cursor) && Objects.equals(this.from, rumArchiveSessionsSearchAttributes.from) && Objects.equals(this.hideRetained, rumArchiveSessionsSearchAttributes.hideRetained) @@ -262,7 +262,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionsSearchAttributes {\n"); + sb.append("class RUMArchiveSessionsSearchAttributes {\n"); sb.append(" cursor: ").append(toIndentedString(cursor)).append("\n"); sb.append(" from: ").append(toIndentedString(from)).append("\n"); sb.append(" hideRetained: ").append(toIndentedString(hideRetained)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchData.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchData.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchData.java index af08351635d..f981f4312f0 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchData.java @@ -19,16 +19,16 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumArchiveSessionsSearchData.JSON_PROPERTY_ATTRIBUTES, - RumArchiveSessionsSearchData.JSON_PROPERTY_ID, - RumArchiveSessionsSearchData.JSON_PROPERTY_TYPE + RUMArchiveSessionsSearchData.JSON_PROPERTY_ATTRIBUTES, + RUMArchiveSessionsSearchData.JSON_PROPERTY_ID, + RUMArchiveSessionsSearchData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionsSearchData { +public class RUMArchiveSessionsSearchData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumArchiveSessionsSearchAttributes attributes; + private RUMArchiveSessionsSearchAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; @@ -36,17 +36,17 @@ public class RumArchiveSessionsSearchData { public static final String JSON_PROPERTY_TYPE = "type"; private String type; - public RumArchiveSessionsSearchData() {} + public RUMArchiveSessionsSearchData() {} @JsonCreator - public RumArchiveSessionsSearchData( + public RUMArchiveSessionsSearchData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumArchiveSessionsSearchAttributes attributes) { + RUMArchiveSessionsSearchAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; } - public RumArchiveSessionsSearchData attributes(RumArchiveSessionsSearchAttributes attributes) { + public RUMArchiveSessionsSearchData attributes(RUMArchiveSessionsSearchAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -60,18 +60,18 @@ public RumArchiveSessionsSearchData attributes(RumArchiveSessionsSearchAttribute */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionsSearchAttributes getAttributes() { + public RUMArchiveSessionsSearchAttributes getAttributes() { return attributes; } - public void setAttributes(RumArchiveSessionsSearchAttributes attributes) { + public void setAttributes(RUMArchiveSessionsSearchAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumArchiveSessionsSearchData id(String id) { + public RUMArchiveSessionsSearchData id(String id) { this.id = id; return this; } @@ -92,7 +92,7 @@ public void setId(String id) { this.id = id; } - public RumArchiveSessionsSearchData type(String type) { + public RUMArchiveSessionsSearchData type(String type) { this.type = type; return this; } @@ -125,10 +125,10 @@ public void setType(String type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionsSearchData + * @return RUMArchiveSessionsSearchData */ @JsonAnySetter - public RumArchiveSessionsSearchData putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionsSearchData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -159,7 +159,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionsSearchData object is equal to o. */ + /** Return true if this RUMArchiveSessionsSearchData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -168,7 +168,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionsSearchData rumArchiveSessionsSearchData = (RumArchiveSessionsSearchData) o; + RUMArchiveSessionsSearchData rumArchiveSessionsSearchData = (RUMArchiveSessionsSearchData) o; return Objects.equals(this.attributes, rumArchiveSessionsSearchData.attributes) && Objects.equals(this.id, rumArchiveSessionsSearchData.id) && Objects.equals(this.type, rumArchiveSessionsSearchData.type) @@ -184,7 +184,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionsSearchData {\n"); + sb.append("class RUMArchiveSessionsSearchData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchRequest.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchRequest.java index 144b1408d0b..5e856d59fe9 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumArchiveSessionsSearchRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMArchiveSessionsSearchRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumArchiveSessionsSearchRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMArchiveSessionsSearchRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumArchiveSessionsSearchRequest { +public class RUMArchiveSessionsSearchRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumArchiveSessionsSearchData data; + private RUMArchiveSessionsSearchData data; - public RumArchiveSessionsSearchRequest() {} + public RUMArchiveSessionsSearchRequest() {} @JsonCreator - public RumArchiveSessionsSearchRequest( + public RUMArchiveSessionsSearchRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumArchiveSessionsSearchData data) { + RUMArchiveSessionsSearchData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumArchiveSessionsSearchRequest data(RumArchiveSessionsSearchData data) { + public RUMArchiveSessionsSearchRequest data(RUMArchiveSessionsSearchData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumArchiveSessionsSearchRequest data(RumArchiveSessionsSearchData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumArchiveSessionsSearchData getData() { + public RUMArchiveSessionsSearchData getData() { return data; } - public void setData(RumArchiveSessionsSearchData data) { + public void setData(RUMArchiveSessionsSearchData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumArchiveSessionsSearchData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumArchiveSessionsSearchRequest + * @return RUMArchiveSessionsSearchRequest */ @JsonAnySetter - public RumArchiveSessionsSearchRequest putAdditionalProperty(String key, Object value) { + public RUMArchiveSessionsSearchRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumArchiveSessionsSearchRequest object is equal to o. */ + /** Return true if this RUMArchiveSessionsSearchRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumArchiveSessionsSearchRequest rumArchiveSessionsSearchRequest = - (RumArchiveSessionsSearchRequest) o; + RUMArchiveSessionsSearchRequest rumArchiveSessionsSearchRequest = + (RUMArchiveSessionsSearchRequest) o; return Objects.equals(this.data, rumArchiveSessionsSearchRequest.data) && Objects.equals( this.additionalProperties, rumArchiveSessionsSearchRequest.additionalProperties); @@ -130,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumArchiveSessionsSearchRequest {\n"); + sb.append("class RUMArchiveSessionsSearchRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigAttributes.java similarity index 90% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigAttributes.java index 679dc6170f0..0bc27e9f48c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigAttributes.java @@ -20,19 +20,19 @@ /** Attributes of the RUM configuration. */ @JsonPropertyOrder({ - RumConfigAttributes.JSON_PROPERTY_DISABLED, - RumConfigAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS, - RumConfigAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS_UPDATED_AT, - RumConfigAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS_UPDATED_BY, - RumConfigAttributes.JSON_PROPERTY_OOTB_METRICS_VERSION, - RumConfigAttributes.JSON_PROPERTY_OOTB_METRICS_VERSION_INSTALLED_AT, - RumConfigAttributes.JSON_PROPERTY_RETENTION_FILTERS_ENABLED, - RumConfigAttributes.JSON_PROPERTY_RETENTION_FILTERS_ENABLED_UPDATED_AT, - RumConfigAttributes.JSON_PROPERTY_RETENTION_FILTERS_ENABLED_UPDATED_BY + RUMConfigAttributes.JSON_PROPERTY_DISABLED, + RUMConfigAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS, + RUMConfigAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS_UPDATED_AT, + RUMConfigAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS_UPDATED_BY, + RUMConfigAttributes.JSON_PROPERTY_OOTB_METRICS_VERSION, + RUMConfigAttributes.JSON_PROPERTY_OOTB_METRICS_VERSION_INSTALLED_AT, + RUMConfigAttributes.JSON_PROPERTY_RETENTION_FILTERS_ENABLED, + RUMConfigAttributes.JSON_PROPERTY_RETENTION_FILTERS_ENABLED_UPDATED_AT, + RUMConfigAttributes.JSON_PROPERTY_RETENTION_FILTERS_ENABLED_UPDATED_BY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigAttributes { +public class RUMConfigAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DISABLED = "disabled"; private Boolean disabled; @@ -66,10 +66,10 @@ public class RumConfigAttributes { "retention_filters_enabled_updated_by"; private String retentionFiltersEnabledUpdatedBy; - public RumConfigAttributes() {} + public RUMConfigAttributes() {} @JsonCreator - public RumConfigAttributes( + public RUMConfigAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ENFORCED_APPLICATION_TAGS) Boolean enforcedApplicationTags, @JsonProperty(required = true, value = JSON_PROPERTY_RETENTION_FILTERS_ENABLED) @@ -78,7 +78,7 @@ public RumConfigAttributes( this.retentionFiltersEnabled = retentionFiltersEnabled; } - public RumConfigAttributes disabled(Boolean disabled) { + public RUMConfigAttributes disabled(Boolean disabled) { this.disabled = disabled; return this; } @@ -99,7 +99,7 @@ public void setDisabled(Boolean disabled) { this.disabled = disabled; } - public RumConfigAttributes enforcedApplicationTags(Boolean enforcedApplicationTags) { + public RUMConfigAttributes enforcedApplicationTags(Boolean enforcedApplicationTags) { this.enforcedApplicationTags = enforcedApplicationTags; return this; } @@ -119,7 +119,7 @@ public void setEnforcedApplicationTags(Boolean enforcedApplicationTags) { this.enforcedApplicationTags = enforcedApplicationTags; } - public RumConfigAttributes enforcedApplicationTagsUpdatedAt( + public RUMConfigAttributes enforcedApplicationTagsUpdatedAt( OffsetDateTime enforcedApplicationTagsUpdatedAt) { this.enforcedApplicationTagsUpdatedAt = enforcedApplicationTagsUpdatedAt; return this; @@ -141,7 +141,7 @@ public void setEnforcedApplicationTagsUpdatedAt(OffsetDateTime enforcedApplicati this.enforcedApplicationTagsUpdatedAt = enforcedApplicationTagsUpdatedAt; } - public RumConfigAttributes enforcedApplicationTagsUpdatedBy( + public RUMConfigAttributes enforcedApplicationTagsUpdatedBy( String enforcedApplicationTagsUpdatedBy) { this.enforcedApplicationTagsUpdatedBy = enforcedApplicationTagsUpdatedBy; return this; @@ -163,7 +163,7 @@ public void setEnforcedApplicationTagsUpdatedBy(String enforcedApplicationTagsUp this.enforcedApplicationTagsUpdatedBy = enforcedApplicationTagsUpdatedBy; } - public RumConfigAttributes ootbMetricsVersion(Long ootbMetricsVersion) { + public RUMConfigAttributes ootbMetricsVersion(Long ootbMetricsVersion) { this.ootbMetricsVersion = ootbMetricsVersion; return this; } @@ -184,7 +184,7 @@ public void setOotbMetricsVersion(Long ootbMetricsVersion) { this.ootbMetricsVersion = ootbMetricsVersion; } - public RumConfigAttributes ootbMetricsVersionInstalledAt( + public RUMConfigAttributes ootbMetricsVersionInstalledAt( OffsetDateTime ootbMetricsVersionInstalledAt) { this.ootbMetricsVersionInstalledAt = ootbMetricsVersionInstalledAt; return this; @@ -206,7 +206,7 @@ public void setOotbMetricsVersionInstalledAt(OffsetDateTime ootbMetricsVersionIn this.ootbMetricsVersionInstalledAt = ootbMetricsVersionInstalledAt; } - public RumConfigAttributes retentionFiltersEnabled(Boolean retentionFiltersEnabled) { + public RUMConfigAttributes retentionFiltersEnabled(Boolean retentionFiltersEnabled) { this.retentionFiltersEnabled = retentionFiltersEnabled; return this; } @@ -226,7 +226,7 @@ public void setRetentionFiltersEnabled(Boolean retentionFiltersEnabled) { this.retentionFiltersEnabled = retentionFiltersEnabled; } - public RumConfigAttributes retentionFiltersEnabledUpdatedAt( + public RUMConfigAttributes retentionFiltersEnabledUpdatedAt( OffsetDateTime retentionFiltersEnabledUpdatedAt) { this.retentionFiltersEnabledUpdatedAt = retentionFiltersEnabledUpdatedAt; return this; @@ -248,7 +248,7 @@ public void setRetentionFiltersEnabledUpdatedAt(OffsetDateTime retentionFiltersE this.retentionFiltersEnabledUpdatedAt = retentionFiltersEnabledUpdatedAt; } - public RumConfigAttributes retentionFiltersEnabledUpdatedBy( + public RUMConfigAttributes retentionFiltersEnabledUpdatedBy( String retentionFiltersEnabledUpdatedBy) { this.retentionFiltersEnabledUpdatedBy = retentionFiltersEnabledUpdatedBy; return this; @@ -282,10 +282,10 @@ public void setRetentionFiltersEnabledUpdatedBy(String retentionFiltersEnabledUp * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigAttributes + * @return RUMConfigAttributes */ @JsonAnySetter - public RumConfigAttributes putAdditionalProperty(String key, Object value) { + public RUMConfigAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -316,7 +316,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigAttributes object is equal to o. */ + /** Return true if this RUMConfigAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -325,7 +325,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigAttributes rumConfigAttributes = (RumConfigAttributes) o; + RUMConfigAttributes rumConfigAttributes = (RUMConfigAttributes) o; return Objects.equals(this.disabled, rumConfigAttributes.disabled) && Objects.equals(this.enforcedApplicationTags, rumConfigAttributes.enforcedApplicationTags) && Objects.equals( @@ -365,7 +365,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigAttributes {\n"); + sb.append("class RUMConfigAttributes {\n"); sb.append(" disabled: ").append(toIndentedString(disabled)).append("\n"); sb.append(" enforcedApplicationTags: ") .append(toIndentedString(enforcedApplicationTags)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateAttributes.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateAttributes.java index 2d67689520d..c5d5063d7eb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateAttributes.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Attributes of the RUM configuration to create. */ -@JsonPropertyOrder({RumConfigCreateAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS}) +@JsonPropertyOrder({RUMConfigCreateAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigCreateAttributes { +public class RUMConfigCreateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENFORCED_APPLICATION_TAGS = "enforced_application_tags"; private Boolean enforcedApplicationTags; - public RumConfigCreateAttributes() {} + public RUMConfigCreateAttributes() {} @JsonCreator - public RumConfigCreateAttributes( + public RUMConfigCreateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ENFORCED_APPLICATION_TAGS) Boolean enforcedApplicationTags) { this.enforcedApplicationTags = enforcedApplicationTags; } - public RumConfigCreateAttributes enforcedApplicationTags(Boolean enforcedApplicationTags) { + public RUMConfigCreateAttributes enforcedApplicationTags(Boolean enforcedApplicationTags) { this.enforcedApplicationTags = enforcedApplicationTags; return this; } @@ -67,10 +67,10 @@ public void setEnforcedApplicationTags(Boolean enforcedApplicationTags) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigCreateAttributes + * @return RUMConfigCreateAttributes */ @JsonAnySetter - public RumConfigCreateAttributes putAdditionalProperty(String key, Object value) { + public RUMConfigCreateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -101,7 +101,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigCreateAttributes object is equal to o. */ + /** Return true if this RUMConfigCreateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -110,7 +110,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigCreateAttributes rumConfigCreateAttributes = (RumConfigCreateAttributes) o; + RUMConfigCreateAttributes rumConfigCreateAttributes = (RUMConfigCreateAttributes) o; return Objects.equals( this.enforcedApplicationTags, rumConfigCreateAttributes.enforcedApplicationTags) && Objects.equals( @@ -125,7 +125,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigCreateAttributes {\n"); + sb.append("class RUMConfigCreateAttributes {\n"); sb.append(" enforcedApplicationTags: ") .append(toIndentedString(enforcedApplicationTags)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigCreateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateData.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigCreateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateData.java index c478cb8a10d..ce27cf256e9 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigCreateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateData.java @@ -19,33 +19,33 @@ /** Object describing the RUM configuration to create. */ @JsonPropertyOrder({ - RumConfigCreateData.JSON_PROPERTY_ATTRIBUTES, - RumConfigCreateData.JSON_PROPERTY_TYPE + RUMConfigCreateData.JSON_PROPERTY_ATTRIBUTES, + RUMConfigCreateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigCreateData { +public class RUMConfigCreateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumConfigCreateAttributes attributes; + private RUMConfigCreateAttributes attributes; public static final String JSON_PROPERTY_TYPE = "type"; - private RumConfigType type = RumConfigType.RUM_CONFIG; + private RUMConfigType type = RUMConfigType.RUM_CONFIG; - public RumConfigCreateData() {} + public RUMConfigCreateData() {} @JsonCreator - public RumConfigCreateData( + public RUMConfigCreateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumConfigCreateAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumConfigType type) { + RUMConfigCreateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.type = type; this.unparsed |= !type.isValid(); } - public RumConfigCreateData attributes(RumConfigCreateAttributes attributes) { + public RUMConfigCreateData attributes(RUMConfigCreateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -58,18 +58,18 @@ public RumConfigCreateData attributes(RumConfigCreateAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigCreateAttributes getAttributes() { + public RUMConfigCreateAttributes getAttributes() { return attributes; } - public void setAttributes(RumConfigCreateAttributes attributes) { + public void setAttributes(RUMConfigCreateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumConfigCreateData type(RumConfigType type) { + public RUMConfigCreateData type(RUMConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -82,11 +82,11 @@ public RumConfigCreateData type(RumConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigType getType() { + public RUMConfigType getType() { return type; } - public void setType(RumConfigType type) { + public void setType(RUMConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -105,10 +105,10 @@ public void setType(RumConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigCreateData + * @return RUMConfigCreateData */ @JsonAnySetter - public RumConfigCreateData putAdditionalProperty(String key, Object value) { + public RUMConfigCreateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -139,7 +139,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigCreateData object is equal to o. */ + /** Return true if this RUMConfigCreateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -148,7 +148,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigCreateData rumConfigCreateData = (RumConfigCreateData) o; + RUMConfigCreateData rumConfigCreateData = (RUMConfigCreateData) o; return Objects.equals(this.attributes, rumConfigCreateData.attributes) && Objects.equals(this.type, rumConfigCreateData.type) && Objects.equals(this.additionalProperties, rumConfigCreateData.additionalProperties); @@ -162,7 +162,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigCreateData {\n"); + sb.append("class RUMConfigCreateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateRequest.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigCreateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateRequest.java index b3819728d74..a9a9c92dc51 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigCreateRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Request body for creating the RUM configuration. */ -@JsonPropertyOrder({RumConfigCreateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMConfigCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigCreateRequest { +public class RUMConfigCreateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumConfigCreateData data; + private RUMConfigCreateData data; - public RumConfigCreateRequest() {} + public RUMConfigCreateRequest() {} @JsonCreator - public RumConfigCreateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumConfigCreateData data) { + public RUMConfigCreateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMConfigCreateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumConfigCreateRequest data(RumConfigCreateData data) { + public RUMConfigCreateRequest data(RUMConfigCreateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumConfigCreateRequest data(RumConfigCreateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigCreateData getData() { + public RUMConfigCreateData getData() { return data; } - public void setData(RumConfigCreateData data) { + public void setData(RUMConfigCreateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumConfigCreateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigCreateRequest + * @return RUMConfigCreateRequest */ @JsonAnySetter - public RumConfigCreateRequest putAdditionalProperty(String key, Object value) { + public RUMConfigCreateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigCreateRequest object is equal to o. */ + /** Return true if this RUMConfigCreateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigCreateRequest rumConfigCreateRequest = (RumConfigCreateRequest) o; + RUMConfigCreateRequest rumConfigCreateRequest = (RUMConfigCreateRequest) o; return Objects.equals(this.data, rumConfigCreateRequest.data) && Objects.equals(this.additionalProperties, rumConfigCreateRequest.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigCreateRequest {\n"); + sb.append("class RUMConfigCreateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigData.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigData.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigData.java index 00a80ad8505..8f0162e19dc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigData.java @@ -19,31 +19,31 @@ /** The RUM configuration data. */ @JsonPropertyOrder({ - RumConfigData.JSON_PROPERTY_ATTRIBUTES, - RumConfigData.JSON_PROPERTY_ID, - RumConfigData.JSON_PROPERTY_TYPE + RUMConfigData.JSON_PROPERTY_ATTRIBUTES, + RUMConfigData.JSON_PROPERTY_ID, + RUMConfigData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigData { +public class RUMConfigData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumConfigAttributes attributes; + private RUMConfigAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumConfigType type = RumConfigType.RUM_CONFIG; + private RUMConfigType type = RUMConfigType.RUM_CONFIG; - public RumConfigData() {} + public RUMConfigData() {} @JsonCreator - public RumConfigData( + public RUMConfigData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumConfigAttributes attributes, + RUMConfigAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumConfigData( this.unparsed |= !type.isValid(); } - public RumConfigData attributes(RumConfigAttributes attributes) { + public RUMConfigData attributes(RUMConfigAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumConfigData attributes(RumConfigAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigAttributes getAttributes() { + public RUMConfigAttributes getAttributes() { return attributes; } - public void setAttributes(RumConfigAttributes attributes) { + public void setAttributes(RUMConfigAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumConfigData id(String id) { + public RUMConfigData id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumConfigData type(RumConfigType type) { + public RUMConfigData type(RUMConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumConfigData type(RumConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigType getType() { + public RUMConfigType getType() { return type; } - public void setType(RumConfigType type) { + public void setType(RUMConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigData + * @return RUMConfigData */ @JsonAnySetter - public RumConfigData putAdditionalProperty(String key, Object value) { + public RUMConfigData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigData object is equal to o. */ + /** Return true if this RUMConfigData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigData rumConfigData = (RumConfigData) o; + RUMConfigData rumConfigData = (RUMConfigData) o; return Objects.equals(this.attributes, rumConfigData.attributes) && Objects.equals(this.id, rumConfigData.id) && Objects.equals(this.type, rumConfigData.type) @@ -189,7 +189,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigData {\n"); + sb.append("class RUMConfigData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigResponse.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigResponse.java index 360f0b06a00..39cbc221030 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigResponse.java @@ -18,24 +18,24 @@ import java.util.Objects; /** The RUM configuration object. */ -@JsonPropertyOrder({RumConfigResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMConfigResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigResponse { +public class RUMConfigResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumConfigData data; + private RUMConfigData data; - public RumConfigResponse() {} + public RUMConfigResponse() {} @JsonCreator - public RumConfigResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumConfigData data) { + public RUMConfigResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMConfigData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumConfigResponse data(RumConfigData data) { + public RUMConfigResponse data(RUMConfigData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumConfigResponse data(RumConfigData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigData getData() { + public RUMConfigData getData() { return data; } - public void setData(RumConfigData data) { + public void setData(RUMConfigData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumConfigData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigResponse + * @return RUMConfigResponse */ @JsonAnySetter - public RumConfigResponse putAdditionalProperty(String key, Object value) { + public RUMConfigResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigResponse object is equal to o. */ + /** Return true if this RUMConfigResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigResponse rumConfigResponse = (RumConfigResponse) o; + RUMConfigResponse rumConfigResponse = (RUMConfigResponse) o; return Objects.equals(this.data, rumConfigResponse.data) && Objects.equals(this.additionalProperties, rumConfigResponse.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigResponse {\n"); + sb.append("class RUMConfigResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigType.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigType.java similarity index 68% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigType.java index 049a0b7997c..79a4b108d22 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigType.java @@ -19,35 +19,35 @@ import java.util.Set; /** The type of the resource. The value should always be rum_config. */ -@JsonSerialize(using = RumConfigType.RumConfigTypeSerializer.class) -public class RumConfigType extends ModelEnum { +@JsonSerialize(using = RUMConfigType.RUMConfigTypeSerializer.class) +public class RUMConfigType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_config")); - public static final RumConfigType RUM_CONFIG = new RumConfigType("rum_config"); + public static final RUMConfigType RUM_CONFIG = new RUMConfigType("rum_config"); - RumConfigType(String value) { + RUMConfigType(String value) { super(value, allowedValues); } - public static class RumConfigTypeSerializer extends StdSerializer { - public RumConfigTypeSerializer(Class t) { + public static class RUMConfigTypeSerializer extends StdSerializer { + public RUMConfigTypeSerializer(Class t) { super(t); } - public RumConfigTypeSerializer() { + public RUMConfigTypeSerializer() { this(null); } @Override - public void serialize(RumConfigType value, JsonGenerator jgen, SerializerProvider provider) + public void serialize(RUMConfigType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumConfigType fromValue(String value) { - return new RumConfigType(value); + public static RUMConfigType fromValue(String value) { + return new RUMConfigType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateAttributes.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateAttributes.java index 57756e52e82..3aff2d5ba3e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateAttributes.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Attributes of the RUM configuration to update. */ -@JsonPropertyOrder({RumConfigUpdateAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS}) +@JsonPropertyOrder({RUMConfigUpdateAttributes.JSON_PROPERTY_ENFORCED_APPLICATION_TAGS}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigUpdateAttributes { +public class RUMConfigUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENFORCED_APPLICATION_TAGS = "enforced_application_tags"; private Boolean enforcedApplicationTags; - public RumConfigUpdateAttributes() {} + public RUMConfigUpdateAttributes() {} @JsonCreator - public RumConfigUpdateAttributes( + public RUMConfigUpdateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ENFORCED_APPLICATION_TAGS) Boolean enforcedApplicationTags) { this.enforcedApplicationTags = enforcedApplicationTags; } - public RumConfigUpdateAttributes enforcedApplicationTags(Boolean enforcedApplicationTags) { + public RUMConfigUpdateAttributes enforcedApplicationTags(Boolean enforcedApplicationTags) { this.enforcedApplicationTags = enforcedApplicationTags; return this; } @@ -67,10 +67,10 @@ public void setEnforcedApplicationTags(Boolean enforcedApplicationTags) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigUpdateAttributes + * @return RUMConfigUpdateAttributes */ @JsonAnySetter - public RumConfigUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMConfigUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -101,7 +101,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigUpdateAttributes object is equal to o. */ + /** Return true if this RUMConfigUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -110,7 +110,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigUpdateAttributes rumConfigUpdateAttributes = (RumConfigUpdateAttributes) o; + RUMConfigUpdateAttributes rumConfigUpdateAttributes = (RUMConfigUpdateAttributes) o; return Objects.equals( this.enforcedApplicationTags, rumConfigUpdateAttributes.enforcedApplicationTags) && Objects.equals( @@ -125,7 +125,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigUpdateAttributes {\n"); + sb.append("class RUMConfigUpdateAttributes {\n"); sb.append(" enforcedApplicationTags: ") .append(toIndentedString(enforcedApplicationTags)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateData.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateData.java index e9393dccb59..30f9712b9c3 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateData.java @@ -19,33 +19,33 @@ /** Object describing the RUM configuration to update. */ @JsonPropertyOrder({ - RumConfigUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumConfigUpdateData.JSON_PROPERTY_TYPE + RUMConfigUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMConfigUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigUpdateData { +public class RUMConfigUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumConfigUpdateAttributes attributes; + private RUMConfigUpdateAttributes attributes; public static final String JSON_PROPERTY_TYPE = "type"; - private RumConfigType type = RumConfigType.RUM_CONFIG; + private RUMConfigType type = RUMConfigType.RUM_CONFIG; - public RumConfigUpdateData() {} + public RUMConfigUpdateData() {} @JsonCreator - public RumConfigUpdateData( + public RUMConfigUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumConfigUpdateAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumConfigType type) { + RUMConfigUpdateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.type = type; this.unparsed |= !type.isValid(); } - public RumConfigUpdateData attributes(RumConfigUpdateAttributes attributes) { + public RUMConfigUpdateData attributes(RUMConfigUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -58,18 +58,18 @@ public RumConfigUpdateData attributes(RumConfigUpdateAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigUpdateAttributes getAttributes() { + public RUMConfigUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumConfigUpdateAttributes attributes) { + public void setAttributes(RUMConfigUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumConfigUpdateData type(RumConfigType type) { + public RUMConfigUpdateData type(RUMConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -82,11 +82,11 @@ public RumConfigUpdateData type(RumConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigType getType() { + public RUMConfigType getType() { return type; } - public void setType(RumConfigType type) { + public void setType(RUMConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -105,10 +105,10 @@ public void setType(RumConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigUpdateData + * @return RUMConfigUpdateData */ @JsonAnySetter - public RumConfigUpdateData putAdditionalProperty(String key, Object value) { + public RUMConfigUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -139,7 +139,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigUpdateData object is equal to o. */ + /** Return true if this RUMConfigUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -148,7 +148,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigUpdateData rumConfigUpdateData = (RumConfigUpdateData) o; + RUMConfigUpdateData rumConfigUpdateData = (RUMConfigUpdateData) o; return Objects.equals(this.attributes, rumConfigUpdateData.attributes) && Objects.equals(this.type, rumConfigUpdateData.type) && Objects.equals(this.additionalProperties, rumConfigUpdateData.additionalProperties); @@ -162,7 +162,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigUpdateData {\n"); + sb.append("class RUMConfigUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateRequest.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateRequest.java index 64c46fc1385..37d0cbc8e5a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumConfigUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMConfigUpdateRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Request body for updating the RUM configuration. */ -@JsonPropertyOrder({RumConfigUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMConfigUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumConfigUpdateRequest { +public class RUMConfigUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumConfigUpdateData data; + private RUMConfigUpdateData data; - public RumConfigUpdateRequest() {} + public RUMConfigUpdateRequest() {} @JsonCreator - public RumConfigUpdateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumConfigUpdateData data) { + public RUMConfigUpdateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMConfigUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumConfigUpdateRequest data(RumConfigUpdateData data) { + public RUMConfigUpdateRequest data(RUMConfigUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumConfigUpdateRequest data(RumConfigUpdateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumConfigUpdateData getData() { + public RUMConfigUpdateData getData() { return data; } - public void setData(RumConfigUpdateData data) { + public void setData(RUMConfigUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumConfigUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumConfigUpdateRequest + * @return RUMConfigUpdateRequest */ @JsonAnySetter - public RumConfigUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMConfigUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumConfigUpdateRequest object is equal to o. */ + /** Return true if this RUMConfigUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumConfigUpdateRequest rumConfigUpdateRequest = (RumConfigUpdateRequest) o; + RUMConfigUpdateRequest rumConfigUpdateRequest = (RUMConfigUpdateRequest) o; return Objects.equals(this.data, rumConfigUpdateRequest.data) && Objects.equals(this.additionalProperties, rumConfigUpdateRequest.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumConfigUpdateRequest {\n"); + sb.append("class RUMConfigUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumCrossProductSampling.java b/src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSampling.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumCrossProductSampling.java rename to src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSampling.java index 1df33cbb4eb..4a00dc56f9f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumCrossProductSampling.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSampling.java @@ -18,14 +18,14 @@ /** The configuration for cross-product retention filters. */ @JsonPropertyOrder({ - RumCrossProductSampling.JSON_PROPERTY_SESSION_REPLAY_ENABLED, - RumCrossProductSampling.JSON_PROPERTY_SESSION_REPLAY_SAMPLE_RATE, - RumCrossProductSampling.JSON_PROPERTY_TRACE_ENABLED, - RumCrossProductSampling.JSON_PROPERTY_TRACE_SAMPLE_RATE + RUMCrossProductSampling.JSON_PROPERTY_SESSION_REPLAY_ENABLED, + RUMCrossProductSampling.JSON_PROPERTY_SESSION_REPLAY_SAMPLE_RATE, + RUMCrossProductSampling.JSON_PROPERTY_TRACE_ENABLED, + RUMCrossProductSampling.JSON_PROPERTY_TRACE_SAMPLE_RATE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumCrossProductSampling { +public class RUMCrossProductSampling { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_SESSION_REPLAY_ENABLED = "session_replay_enabled"; private Boolean sessionReplayEnabled; @@ -40,7 +40,7 @@ public class RumCrossProductSampling { public static final String JSON_PROPERTY_TRACE_SAMPLE_RATE = "trace_sample_rate"; private Double traceSampleRate; - public RumCrossProductSampling sessionReplayEnabled(Boolean sessionReplayEnabled) { + public RUMCrossProductSampling sessionReplayEnabled(Boolean sessionReplayEnabled) { this.sessionReplayEnabled = sessionReplayEnabled; return this; } @@ -61,7 +61,7 @@ public void setSessionReplayEnabled(Boolean sessionReplayEnabled) { this.sessionReplayEnabled = sessionReplayEnabled; } - public RumCrossProductSampling sessionReplaySampleRate(Double sessionReplaySampleRate) { + public RUMCrossProductSampling sessionReplaySampleRate(Double sessionReplaySampleRate) { this.sessionReplaySampleRate = sessionReplaySampleRate; return this; } @@ -83,7 +83,7 @@ public void setSessionReplaySampleRate(Double sessionReplaySampleRate) { this.sessionReplaySampleRate = sessionReplaySampleRate; } - public RumCrossProductSampling traceEnabled(Boolean traceEnabled) { + public RUMCrossProductSampling traceEnabled(Boolean traceEnabled) { this.traceEnabled = traceEnabled; return this; } @@ -104,7 +104,7 @@ public void setTraceEnabled(Boolean traceEnabled) { this.traceEnabled = traceEnabled; } - public RumCrossProductSampling traceSampleRate(Double traceSampleRate) { + public RUMCrossProductSampling traceSampleRate(Double traceSampleRate) { this.traceSampleRate = traceSampleRate; return this; } @@ -138,10 +138,10 @@ public void setTraceSampleRate(Double traceSampleRate) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumCrossProductSampling + * @return RUMCrossProductSampling */ @JsonAnySetter - public RumCrossProductSampling putAdditionalProperty(String key, Object value) { + public RUMCrossProductSampling putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -172,7 +172,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumCrossProductSampling object is equal to o. */ + /** Return true if this RUMCrossProductSampling object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -181,7 +181,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumCrossProductSampling rumCrossProductSampling = (RumCrossProductSampling) o; + RUMCrossProductSampling rumCrossProductSampling = (RUMCrossProductSampling) o; return Objects.equals(this.sessionReplayEnabled, rumCrossProductSampling.sessionReplayEnabled) && Objects.equals( this.sessionReplaySampleRate, rumCrossProductSampling.sessionReplaySampleRate) @@ -203,7 +203,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumCrossProductSampling {\n"); + sb.append("class RUMCrossProductSampling {\n"); sb.append(" sessionReplayEnabled: ") .append(toIndentedString(sessionReplayEnabled)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumCrossProductSamplingCreate.java b/src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSamplingCreate.java similarity index 87% rename from src/main/java/com/datadog/api/client/v2/model/RumCrossProductSamplingCreate.java rename to src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSamplingCreate.java index fec482c57c8..99af57c9d21 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumCrossProductSamplingCreate.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSamplingCreate.java @@ -19,12 +19,12 @@ /** The configuration for cross-product retention filters. */ @JsonPropertyOrder({ - RumCrossProductSamplingCreate.JSON_PROPERTY_TRACE_ENABLED, - RumCrossProductSamplingCreate.JSON_PROPERTY_TRACE_SAMPLE_RATE + RUMCrossProductSamplingCreate.JSON_PROPERTY_TRACE_ENABLED, + RUMCrossProductSamplingCreate.JSON_PROPERTY_TRACE_SAMPLE_RATE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumCrossProductSamplingCreate { +public class RUMCrossProductSamplingCreate { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_TRACE_ENABLED = "trace_enabled"; private Boolean traceEnabled; @@ -32,16 +32,16 @@ public class RumCrossProductSamplingCreate { public static final String JSON_PROPERTY_TRACE_SAMPLE_RATE = "trace_sample_rate"; private Double traceSampleRate; - public RumCrossProductSamplingCreate() {} + public RUMCrossProductSamplingCreate() {} @JsonCreator - public RumCrossProductSamplingCreate( + public RUMCrossProductSamplingCreate( @JsonProperty(required = true, value = JSON_PROPERTY_TRACE_SAMPLE_RATE) Double traceSampleRate) { this.traceSampleRate = traceSampleRate; } - public RumCrossProductSamplingCreate traceEnabled(Boolean traceEnabled) { + public RUMCrossProductSamplingCreate traceEnabled(Boolean traceEnabled) { this.traceEnabled = traceEnabled; return this; } @@ -62,7 +62,7 @@ public void setTraceEnabled(Boolean traceEnabled) { this.traceEnabled = traceEnabled; } - public RumCrossProductSamplingCreate traceSampleRate(Double traceSampleRate) { + public RUMCrossProductSamplingCreate traceSampleRate(Double traceSampleRate) { this.traceSampleRate = traceSampleRate; return this; } @@ -95,10 +95,10 @@ public void setTraceSampleRate(Double traceSampleRate) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumCrossProductSamplingCreate + * @return RUMCrossProductSamplingCreate */ @JsonAnySetter - public RumCrossProductSamplingCreate putAdditionalProperty(String key, Object value) { + public RUMCrossProductSamplingCreate putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -129,7 +129,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumCrossProductSamplingCreate object is equal to o. */ + /** Return true if this RUMCrossProductSamplingCreate object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -138,7 +138,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumCrossProductSamplingCreate rumCrossProductSamplingCreate = (RumCrossProductSamplingCreate) o; + RUMCrossProductSamplingCreate rumCrossProductSamplingCreate = (RUMCrossProductSamplingCreate) o; return Objects.equals(this.traceEnabled, rumCrossProductSamplingCreate.traceEnabled) && Objects.equals(this.traceSampleRate, rumCrossProductSamplingCreate.traceSampleRate) && Objects.equals( @@ -153,7 +153,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumCrossProductSamplingCreate {\n"); + sb.append("class RUMCrossProductSamplingCreate {\n"); sb.append(" traceEnabled: ").append(toIndentedString(traceEnabled)).append("\n"); sb.append(" traceSampleRate: ").append(toIndentedString(traceSampleRate)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumCrossProductSamplingUpdate.java b/src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSamplingUpdate.java similarity index 88% rename from src/main/java/com/datadog/api/client/v2/model/RumCrossProductSamplingUpdate.java rename to src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSamplingUpdate.java index 3ae05a7777e..381774831b3 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumCrossProductSamplingUpdate.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMCrossProductSamplingUpdate.java @@ -21,12 +21,12 @@ * updates. */ @JsonPropertyOrder({ - RumCrossProductSamplingUpdate.JSON_PROPERTY_TRACE_ENABLED, - RumCrossProductSamplingUpdate.JSON_PROPERTY_TRACE_SAMPLE_RATE + RUMCrossProductSamplingUpdate.JSON_PROPERTY_TRACE_ENABLED, + RUMCrossProductSamplingUpdate.JSON_PROPERTY_TRACE_SAMPLE_RATE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumCrossProductSamplingUpdate { +public class RUMCrossProductSamplingUpdate { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_TRACE_ENABLED = "trace_enabled"; private Boolean traceEnabled; @@ -34,7 +34,7 @@ public class RumCrossProductSamplingUpdate { public static final String JSON_PROPERTY_TRACE_SAMPLE_RATE = "trace_sample_rate"; private Double traceSampleRate; - public RumCrossProductSamplingUpdate traceEnabled(Boolean traceEnabled) { + public RUMCrossProductSamplingUpdate traceEnabled(Boolean traceEnabled) { this.traceEnabled = traceEnabled; return this; } @@ -55,7 +55,7 @@ public void setTraceEnabled(Boolean traceEnabled) { this.traceEnabled = traceEnabled; } - public RumCrossProductSamplingUpdate traceSampleRate(Double traceSampleRate) { + public RUMCrossProductSamplingUpdate traceSampleRate(Double traceSampleRate) { this.traceSampleRate = traceSampleRate; return this; } @@ -89,10 +89,10 @@ public void setTraceSampleRate(Double traceSampleRate) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumCrossProductSamplingUpdate + * @return RUMCrossProductSamplingUpdate */ @JsonAnySetter - public RumCrossProductSamplingUpdate putAdditionalProperty(String key, Object value) { + public RUMCrossProductSamplingUpdate putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -123,7 +123,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumCrossProductSamplingUpdate object is equal to o. */ + /** Return true if this RUMCrossProductSamplingUpdate object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -132,7 +132,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumCrossProductSamplingUpdate rumCrossProductSamplingUpdate = (RumCrossProductSamplingUpdate) o; + RUMCrossProductSamplingUpdate rumCrossProductSamplingUpdate = (RUMCrossProductSamplingUpdate) o; return Objects.equals(this.traceEnabled, rumCrossProductSamplingUpdate.traceEnabled) && Objects.equals(this.traceSampleRate, rumCrossProductSamplingUpdate.traceSampleRate) && Objects.equals( @@ -147,7 +147,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumCrossProductSamplingUpdate {\n"); + sb.append("class RUMCrossProductSamplingUpdate {\n"); sb.append(" traceEnabled: ").append(toIndentedString(traceEnabled)).append("\n"); sb.append(" traceSampleRate: ").append(toIndentedString(traceSampleRate)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterAttributes.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterAttributes.java index 1abe44e1e19..d179f4a2e16 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterAttributes.java @@ -18,20 +18,20 @@ /** The attributes of an exclusion filter. */ @JsonPropertyOrder({ - RumExclusionFilterAttributes.JSON_PROPERTY_ENABLED, - RumExclusionFilterAttributes.JSON_PROPERTY_EVENT_TYPE, - RumExclusionFilterAttributes.JSON_PROPERTY_NAME, - RumExclusionFilterAttributes.JSON_PROPERTY_QUERY + RUMExclusionFilterAttributes.JSON_PROPERTY_ENABLED, + RUMExclusionFilterAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMExclusionFilterAttributes.JSON_PROPERTY_NAME, + RUMExclusionFilterAttributes.JSON_PROPERTY_QUERY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterAttributes { +public class RUMExclusionFilterAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumExclusionFilterEventType eventType; + private RUMExclusionFilterEventType eventType; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -39,7 +39,7 @@ public class RumExclusionFilterAttributes { public static final String JSON_PROPERTY_QUERY = "query"; private String query; - public RumExclusionFilterAttributes enabled(Boolean enabled) { + public RUMExclusionFilterAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -60,7 +60,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumExclusionFilterAttributes eventType(RumExclusionFilterEventType eventType) { + public RUMExclusionFilterAttributes eventType(RUMExclusionFilterEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -74,18 +74,18 @@ public RumExclusionFilterAttributes eventType(RumExclusionFilterEventType eventT @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumExclusionFilterEventType getEventType() { + public RUMExclusionFilterEventType getEventType() { return eventType; } - public void setEventType(RumExclusionFilterEventType eventType) { + public void setEventType(RUMExclusionFilterEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumExclusionFilterAttributes name(String name) { + public RUMExclusionFilterAttributes name(String name) { this.name = name; return this; } @@ -106,7 +106,7 @@ public void setName(String name) { this.name = name; } - public RumExclusionFilterAttributes query(String query) { + public RUMExclusionFilterAttributes query(String query) { this.query = query; return this; } @@ -140,10 +140,10 @@ public void setQuery(String query) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterAttributes + * @return RUMExclusionFilterAttributes */ @JsonAnySetter - public RumExclusionFilterAttributes putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -174,7 +174,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterAttributes object is equal to o. */ + /** Return true if this RUMExclusionFilterAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -183,7 +183,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterAttributes rumExclusionFilterAttributes = (RumExclusionFilterAttributes) o; + RUMExclusionFilterAttributes rumExclusionFilterAttributes = (RUMExclusionFilterAttributes) o; return Objects.equals(this.enabled, rumExclusionFilterAttributes.enabled) && Objects.equals(this.eventType, rumExclusionFilterAttributes.eventType) && Objects.equals(this.name, rumExclusionFilterAttributes.name) @@ -200,7 +200,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterAttributes {\n"); + sb.append("class RUMExclusionFilterAttributes {\n"); sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateAttributes.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateAttributes.java index b333545ea93..c2538800467 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateAttributes.java @@ -19,20 +19,20 @@ /** The attributes of an exclusion filter to create. */ @JsonPropertyOrder({ - RumExclusionFilterCreateAttributes.JSON_PROPERTY_ENABLED, - RumExclusionFilterCreateAttributes.JSON_PROPERTY_EVENT_TYPE, - RumExclusionFilterCreateAttributes.JSON_PROPERTY_NAME, - RumExclusionFilterCreateAttributes.JSON_PROPERTY_QUERY + RUMExclusionFilterCreateAttributes.JSON_PROPERTY_ENABLED, + RUMExclusionFilterCreateAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMExclusionFilterCreateAttributes.JSON_PROPERTY_NAME, + RUMExclusionFilterCreateAttributes.JSON_PROPERTY_QUERY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterCreateAttributes { +public class RUMExclusionFilterCreateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumExclusionFilterEventType eventType; + private RUMExclusionFilterEventType eventType; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -40,15 +40,15 @@ public class RumExclusionFilterCreateAttributes { public static final String JSON_PROPERTY_QUERY = "query"; private String query; - public RumExclusionFilterCreateAttributes() {} + public RUMExclusionFilterCreateAttributes() {} @JsonCreator - public RumExclusionFilterCreateAttributes( + public RUMExclusionFilterCreateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name) { this.name = name; } - public RumExclusionFilterCreateAttributes enabled(Boolean enabled) { + public RUMExclusionFilterCreateAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -69,7 +69,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumExclusionFilterCreateAttributes eventType(RumExclusionFilterEventType eventType) { + public RUMExclusionFilterCreateAttributes eventType(RUMExclusionFilterEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -83,18 +83,18 @@ public RumExclusionFilterCreateAttributes eventType(RumExclusionFilterEventType @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumExclusionFilterEventType getEventType() { + public RUMExclusionFilterEventType getEventType() { return eventType; } - public void setEventType(RumExclusionFilterEventType eventType) { + public void setEventType(RUMExclusionFilterEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumExclusionFilterCreateAttributes name(String name) { + public RUMExclusionFilterCreateAttributes name(String name) { this.name = name; return this; } @@ -114,7 +114,7 @@ public void setName(String name) { this.name = name; } - public RumExclusionFilterCreateAttributes query(String query) { + public RUMExclusionFilterCreateAttributes query(String query) { this.query = query; return this; } @@ -148,10 +148,10 @@ public void setQuery(String query) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterCreateAttributes + * @return RUMExclusionFilterCreateAttributes */ @JsonAnySetter - public RumExclusionFilterCreateAttributes putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterCreateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -182,7 +182,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterCreateAttributes object is equal to o. */ + /** Return true if this RUMExclusionFilterCreateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -191,8 +191,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterCreateAttributes rumExclusionFilterCreateAttributes = - (RumExclusionFilterCreateAttributes) o; + RUMExclusionFilterCreateAttributes rumExclusionFilterCreateAttributes = + (RUMExclusionFilterCreateAttributes) o; return Objects.equals(this.enabled, rumExclusionFilterCreateAttributes.enabled) && Objects.equals(this.eventType, rumExclusionFilterCreateAttributes.eventType) && Objects.equals(this.name, rumExclusionFilterCreateAttributes.name) @@ -209,7 +209,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterCreateAttributes {\n"); + sb.append("class RUMExclusionFilterCreateAttributes {\n"); sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateData.java index cd657961025..adb6febbcce 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateData.java @@ -19,33 +19,33 @@ /** The new exclusion filter properties to create. */ @JsonPropertyOrder({ - RumExclusionFilterCreateData.JSON_PROPERTY_ATTRIBUTES, - RumExclusionFilterCreateData.JSON_PROPERTY_TYPE + RUMExclusionFilterCreateData.JSON_PROPERTY_ATTRIBUTES, + RUMExclusionFilterCreateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterCreateData { +public class RUMExclusionFilterCreateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumExclusionFilterCreateAttributes attributes; + private RUMExclusionFilterCreateAttributes attributes; public static final String JSON_PROPERTY_TYPE = "type"; - private RumExclusionFilterType type = RumExclusionFilterType.EXCLUSION_FILTERS; + private RUMExclusionFilterType type = RUMExclusionFilterType.EXCLUSION_FILTERS; - public RumExclusionFilterCreateData() {} + public RUMExclusionFilterCreateData() {} @JsonCreator - public RumExclusionFilterCreateData( + public RUMExclusionFilterCreateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumExclusionFilterCreateAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumExclusionFilterType type) { + RUMExclusionFilterCreateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMExclusionFilterType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.type = type; this.unparsed |= !type.isValid(); } - public RumExclusionFilterCreateData attributes(RumExclusionFilterCreateAttributes attributes) { + public RUMExclusionFilterCreateData attributes(RUMExclusionFilterCreateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -58,18 +58,18 @@ public RumExclusionFilterCreateData attributes(RumExclusionFilterCreateAttribute */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterCreateAttributes getAttributes() { + public RUMExclusionFilterCreateAttributes getAttributes() { return attributes; } - public void setAttributes(RumExclusionFilterCreateAttributes attributes) { + public void setAttributes(RUMExclusionFilterCreateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumExclusionFilterCreateData type(RumExclusionFilterType type) { + public RUMExclusionFilterCreateData type(RUMExclusionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -82,11 +82,11 @@ public RumExclusionFilterCreateData type(RumExclusionFilterType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterType getType() { + public RUMExclusionFilterType getType() { return type; } - public void setType(RumExclusionFilterType type) { + public void setType(RUMExclusionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -105,10 +105,10 @@ public void setType(RumExclusionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterCreateData + * @return RUMExclusionFilterCreateData */ @JsonAnySetter - public RumExclusionFilterCreateData putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterCreateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -139,7 +139,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterCreateData object is equal to o. */ + /** Return true if this RUMExclusionFilterCreateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -148,7 +148,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterCreateData rumExclusionFilterCreateData = (RumExclusionFilterCreateData) o; + RUMExclusionFilterCreateData rumExclusionFilterCreateData = (RUMExclusionFilterCreateData) o; return Objects.equals(this.attributes, rumExclusionFilterCreateData.attributes) && Objects.equals(this.type, rumExclusionFilterCreateData.type) && Objects.equals( @@ -163,7 +163,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterCreateData {\n"); + sb.append("class RUMExclusionFilterCreateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateRequest.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateRequest.java index 5e66b02d7ed..1bef01d3efe 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterCreateRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** The exclusion filter body to create. */ -@JsonPropertyOrder({RumExclusionFilterCreateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMExclusionFilterCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterCreateRequest { +public class RUMExclusionFilterCreateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumExclusionFilterCreateData data; + private RUMExclusionFilterCreateData data; - public RumExclusionFilterCreateRequest() {} + public RUMExclusionFilterCreateRequest() {} @JsonCreator - public RumExclusionFilterCreateRequest( + public RUMExclusionFilterCreateRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumExclusionFilterCreateData data) { + RUMExclusionFilterCreateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumExclusionFilterCreateRequest data(RumExclusionFilterCreateData data) { + public RUMExclusionFilterCreateRequest data(RUMExclusionFilterCreateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumExclusionFilterCreateRequest data(RumExclusionFilterCreateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterCreateData getData() { + public RUMExclusionFilterCreateData getData() { return data; } - public void setData(RumExclusionFilterCreateData data) { + public void setData(RUMExclusionFilterCreateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumExclusionFilterCreateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterCreateRequest + * @return RUMExclusionFilterCreateRequest */ @JsonAnySetter - public RumExclusionFilterCreateRequest putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterCreateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterCreateRequest object is equal to o. */ + /** Return true if this RUMExclusionFilterCreateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterCreateRequest rumExclusionFilterCreateRequest = - (RumExclusionFilterCreateRequest) o; + RUMExclusionFilterCreateRequest rumExclusionFilterCreateRequest = + (RUMExclusionFilterCreateRequest) o; return Objects.equals(this.data, rumExclusionFilterCreateRequest.data) && Objects.equals( this.additionalProperties, rumExclusionFilterCreateRequest.additionalProperties); @@ -130,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterCreateRequest {\n"); + sb.append("class RUMExclusionFilterCreateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterData.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterData.java index 36d9c4e34f3..8d85cbd2fc6 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterData.java @@ -19,39 +19,39 @@ /** An exclusion filter. */ @JsonPropertyOrder({ - RumExclusionFilterData.JSON_PROPERTY_ATTRIBUTES, - RumExclusionFilterData.JSON_PROPERTY_ID, - RumExclusionFilterData.JSON_PROPERTY_META, - RumExclusionFilterData.JSON_PROPERTY_TYPE + RUMExclusionFilterData.JSON_PROPERTY_ATTRIBUTES, + RUMExclusionFilterData.JSON_PROPERTY_ID, + RUMExclusionFilterData.JSON_PROPERTY_META, + RUMExclusionFilterData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterData { +public class RUMExclusionFilterData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumExclusionFilterAttributes attributes; + private RUMExclusionFilterAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_META = "meta"; - private RumExclusionFilterMeta meta; + private RUMExclusionFilterMeta meta; public static final String JSON_PROPERTY_TYPE = "type"; - private RumExclusionFilterType type = RumExclusionFilterType.EXCLUSION_FILTERS; + private RUMExclusionFilterType type = RUMExclusionFilterType.EXCLUSION_FILTERS; - public RumExclusionFilterData() {} + public RUMExclusionFilterData() {} @JsonCreator - public RumExclusionFilterData( + public RUMExclusionFilterData( @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumExclusionFilterType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMExclusionFilterType type) { this.id = id; this.type = type; this.unparsed |= !type.isValid(); } - public RumExclusionFilterData attributes(RumExclusionFilterAttributes attributes) { + public RUMExclusionFilterData attributes(RUMExclusionFilterAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumExclusionFilterData attributes(RumExclusionFilterAttributes attributes @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumExclusionFilterAttributes getAttributes() { + public RUMExclusionFilterAttributes getAttributes() { return attributes; } - public void setAttributes(RumExclusionFilterAttributes attributes) { + public void setAttributes(RUMExclusionFilterAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumExclusionFilterData id(String id) { + public RUMExclusionFilterData id(String id) { this.id = id; return this; } @@ -96,7 +96,7 @@ public void setId(String id) { this.id = id; } - public RumExclusionFilterData meta(RumExclusionFilterMeta meta) { + public RUMExclusionFilterData meta(RUMExclusionFilterMeta meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -110,18 +110,18 @@ public RumExclusionFilterData meta(RumExclusionFilterMeta meta) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumExclusionFilterMeta getMeta() { + public RUMExclusionFilterMeta getMeta() { return meta; } - public void setMeta(RumExclusionFilterMeta meta) { + public void setMeta(RUMExclusionFilterMeta meta) { this.meta = meta; if (meta != null) { this.unparsed |= meta.unparsed; } } - public RumExclusionFilterData type(RumExclusionFilterType type) { + public RUMExclusionFilterData type(RUMExclusionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -134,11 +134,11 @@ public RumExclusionFilterData type(RumExclusionFilterType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterType getType() { + public RUMExclusionFilterType getType() { return type; } - public void setType(RumExclusionFilterType type) { + public void setType(RUMExclusionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -157,10 +157,10 @@ public void setType(RumExclusionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterData + * @return RUMExclusionFilterData */ @JsonAnySetter - public RumExclusionFilterData putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -191,7 +191,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterData object is equal to o. */ + /** Return true if this RUMExclusionFilterData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -200,7 +200,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterData rumExclusionFilterData = (RumExclusionFilterData) o; + RUMExclusionFilterData rumExclusionFilterData = (RUMExclusionFilterData) o; return Objects.equals(this.attributes, rumExclusionFilterData.attributes) && Objects.equals(this.id, rumExclusionFilterData.id) && Objects.equals(this.meta, rumExclusionFilterData.meta) @@ -216,7 +216,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterData {\n"); + sb.append("class RUMExclusionFilterData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterEventType.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterEventType.java similarity index 51% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterEventType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterEventType.java index d2d4e173413..2c66ad1cf80 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterEventType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterEventType.java @@ -19,49 +19,49 @@ import java.util.Set; /** The type of RUM events to filter on. */ -@JsonSerialize(using = RumExclusionFilterEventType.RumExclusionFilterEventTypeSerializer.class) -public class RumExclusionFilterEventType extends ModelEnum { +@JsonSerialize(using = RUMExclusionFilterEventType.RUMExclusionFilterEventTypeSerializer.class) +public class RUMExclusionFilterEventType extends ModelEnum { private static final Set allowedValues = new HashSet( Arrays.asList("session", "view", "action", "error", "resource", "long_task", "vital")); - public static final RumExclusionFilterEventType SESSION = - new RumExclusionFilterEventType("session"); - public static final RumExclusionFilterEventType VIEW = new RumExclusionFilterEventType("view"); - public static final RumExclusionFilterEventType ACTION = - new RumExclusionFilterEventType("action"); - public static final RumExclusionFilterEventType ERROR = new RumExclusionFilterEventType("error"); - public static final RumExclusionFilterEventType RESOURCE = - new RumExclusionFilterEventType("resource"); - public static final RumExclusionFilterEventType LONG_TASK = - new RumExclusionFilterEventType("long_task"); - public static final RumExclusionFilterEventType VITAL = new RumExclusionFilterEventType("vital"); + public static final RUMExclusionFilterEventType SESSION = + new RUMExclusionFilterEventType("session"); + public static final RUMExclusionFilterEventType VIEW = new RUMExclusionFilterEventType("view"); + public static final RUMExclusionFilterEventType ACTION = + new RUMExclusionFilterEventType("action"); + public static final RUMExclusionFilterEventType ERROR = new RUMExclusionFilterEventType("error"); + public static final RUMExclusionFilterEventType RESOURCE = + new RUMExclusionFilterEventType("resource"); + public static final RUMExclusionFilterEventType LONG_TASK = + new RUMExclusionFilterEventType("long_task"); + public static final RUMExclusionFilterEventType VITAL = new RUMExclusionFilterEventType("vital"); - RumExclusionFilterEventType(String value) { + RUMExclusionFilterEventType(String value) { super(value, allowedValues); } - public static class RumExclusionFilterEventTypeSerializer - extends StdSerializer { - public RumExclusionFilterEventTypeSerializer(Class t) { + public static class RUMExclusionFilterEventTypeSerializer + extends StdSerializer { + public RUMExclusionFilterEventTypeSerializer(Class t) { super(t); } - public RumExclusionFilterEventTypeSerializer() { + public RUMExclusionFilterEventTypeSerializer() { this(null); } @Override public void serialize( - RumExclusionFilterEventType value, JsonGenerator jgen, SerializerProvider provider) + RUMExclusionFilterEventType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumExclusionFilterEventType fromValue(String value) { - return new RumExclusionFilterEventType(value); + public static RUMExclusionFilterEventType fromValue(String value) { + return new RUMExclusionFilterEventType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterMeta.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterMeta.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterMeta.java index 1dd74e05c07..8d5e9dbc2cd 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterMeta.java @@ -18,13 +18,13 @@ /** Metadata about the exclusion filter. */ @JsonPropertyOrder({ - RumExclusionFilterMeta.JSON_PROPERTY_ENABLED_AT, - RumExclusionFilterMeta.JSON_PROPERTY_UPDATED_AT, - RumExclusionFilterMeta.JSON_PROPERTY_UPDATED_BY_HANDLE + RUMExclusionFilterMeta.JSON_PROPERTY_ENABLED_AT, + RUMExclusionFilterMeta.JSON_PROPERTY_UPDATED_AT, + RUMExclusionFilterMeta.JSON_PROPERTY_UPDATED_BY_HANDLE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterMeta { +public class RUMExclusionFilterMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENABLED_AT = "enabled_at"; private Long enabledAt; @@ -35,7 +35,7 @@ public class RumExclusionFilterMeta { public static final String JSON_PROPERTY_UPDATED_BY_HANDLE = "updated_by_handle"; private String updatedByHandle; - public RumExclusionFilterMeta enabledAt(Long enabledAt) { + public RUMExclusionFilterMeta enabledAt(Long enabledAt) { this.enabledAt = enabledAt; return this; } @@ -56,7 +56,7 @@ public void setEnabledAt(Long enabledAt) { this.enabledAt = enabledAt; } - public RumExclusionFilterMeta updatedAt(Long updatedAt) { + public RUMExclusionFilterMeta updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -77,7 +77,7 @@ public void setUpdatedAt(Long updatedAt) { this.updatedAt = updatedAt; } - public RumExclusionFilterMeta updatedByHandle(String updatedByHandle) { + public RUMExclusionFilterMeta updatedByHandle(String updatedByHandle) { this.updatedByHandle = updatedByHandle; return this; } @@ -110,10 +110,10 @@ public void setUpdatedByHandle(String updatedByHandle) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterMeta + * @return RUMExclusionFilterMeta */ @JsonAnySetter - public RumExclusionFilterMeta putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -144,7 +144,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterMeta object is equal to o. */ + /** Return true if this RUMExclusionFilterMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -153,7 +153,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterMeta rumExclusionFilterMeta = (RumExclusionFilterMeta) o; + RUMExclusionFilterMeta rumExclusionFilterMeta = (RUMExclusionFilterMeta) o; return Objects.equals(this.enabledAt, rumExclusionFilterMeta.enabledAt) && Objects.equals(this.updatedAt, rumExclusionFilterMeta.updatedAt) && Objects.equals(this.updatedByHandle, rumExclusionFilterMeta.updatedByHandle) @@ -168,7 +168,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterMeta {\n"); + sb.append("class RUMExclusionFilterMeta {\n"); sb.append(" enabledAt: ").append(toIndentedString(enabledAt)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" updatedByHandle: ").append(toIndentedString(updatedByHandle)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterResponse.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterResponse.java index d4ca4655bb1..d3e0fadc411 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterResponse.java @@ -17,15 +17,15 @@ import java.util.Objects; /** An exclusion filter response body. */ -@JsonPropertyOrder({RumExclusionFilterResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMExclusionFilterResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterResponse { +public class RUMExclusionFilterResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumExclusionFilterData data; + private RUMExclusionFilterData data; - public RumExclusionFilterResponse data(RumExclusionFilterData data) { + public RUMExclusionFilterResponse data(RUMExclusionFilterData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -39,11 +39,11 @@ public RumExclusionFilterResponse data(RumExclusionFilterData data) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumExclusionFilterData getData() { + public RUMExclusionFilterData getData() { return data; } - public void setData(RumExclusionFilterData data) { + public void setData(RUMExclusionFilterData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -62,10 +62,10 @@ public void setData(RumExclusionFilterData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterResponse + * @return RUMExclusionFilterResponse */ @JsonAnySetter - public RumExclusionFilterResponse putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -96,7 +96,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterResponse object is equal to o. */ + /** Return true if this RUMExclusionFilterResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -105,7 +105,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterResponse rumExclusionFilterResponse = (RumExclusionFilterResponse) o; + RUMExclusionFilterResponse rumExclusionFilterResponse = (RUMExclusionFilterResponse) o; return Objects.equals(this.data, rumExclusionFilterResponse.data) && Objects.equals( this.additionalProperties, rumExclusionFilterResponse.additionalProperties); @@ -119,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterResponse {\n"); + sb.append("class RUMExclusionFilterResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterType.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterType.java similarity index 65% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterType.java index 4158fc9ddfc..1f2e5224f68 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterType.java @@ -19,39 +19,39 @@ import java.util.Set; /** The resource type. The value must be exclusion_filters. */ -@JsonSerialize(using = RumExclusionFilterType.RumExclusionFilterTypeSerializer.class) -public class RumExclusionFilterType extends ModelEnum { +@JsonSerialize(using = RUMExclusionFilterType.RUMExclusionFilterTypeSerializer.class) +public class RUMExclusionFilterType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("exclusion_filters")); - public static final RumExclusionFilterType EXCLUSION_FILTERS = - new RumExclusionFilterType("exclusion_filters"); + public static final RUMExclusionFilterType EXCLUSION_FILTERS = + new RUMExclusionFilterType("exclusion_filters"); - RumExclusionFilterType(String value) { + RUMExclusionFilterType(String value) { super(value, allowedValues); } - public static class RumExclusionFilterTypeSerializer - extends StdSerializer { - public RumExclusionFilterTypeSerializer(Class t) { + public static class RUMExclusionFilterTypeSerializer + extends StdSerializer { + public RUMExclusionFilterTypeSerializer(Class t) { super(t); } - public RumExclusionFilterTypeSerializer() { + public RUMExclusionFilterTypeSerializer() { this(null); } @Override public void serialize( - RumExclusionFilterType value, JsonGenerator jgen, SerializerProvider provider) + RUMExclusionFilterType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumExclusionFilterType fromValue(String value) { - return new RumExclusionFilterType(value); + public static RUMExclusionFilterType fromValue(String value) { + return new RUMExclusionFilterType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateAttributes.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateAttributes.java index dd23b606732..4a9a2fc96c3 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateAttributes.java @@ -22,20 +22,20 @@ * , and query must be omitted. */ @JsonPropertyOrder({ - RumExclusionFilterUpdateAttributes.JSON_PROPERTY_ENABLED, - RumExclusionFilterUpdateAttributes.JSON_PROPERTY_EVENT_TYPE, - RumExclusionFilterUpdateAttributes.JSON_PROPERTY_NAME, - RumExclusionFilterUpdateAttributes.JSON_PROPERTY_QUERY + RUMExclusionFilterUpdateAttributes.JSON_PROPERTY_ENABLED, + RUMExclusionFilterUpdateAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMExclusionFilterUpdateAttributes.JSON_PROPERTY_NAME, + RUMExclusionFilterUpdateAttributes.JSON_PROPERTY_QUERY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterUpdateAttributes { +public class RUMExclusionFilterUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumExclusionFilterEventType eventType; + private RUMExclusionFilterEventType eventType; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -43,7 +43,7 @@ public class RumExclusionFilterUpdateAttributes { public static final String JSON_PROPERTY_QUERY = "query"; private String query; - public RumExclusionFilterUpdateAttributes enabled(Boolean enabled) { + public RUMExclusionFilterUpdateAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -64,7 +64,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumExclusionFilterUpdateAttributes eventType(RumExclusionFilterEventType eventType) { + public RUMExclusionFilterUpdateAttributes eventType(RUMExclusionFilterEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -78,18 +78,18 @@ public RumExclusionFilterUpdateAttributes eventType(RumExclusionFilterEventType @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumExclusionFilterEventType getEventType() { + public RUMExclusionFilterEventType getEventType() { return eventType; } - public void setEventType(RumExclusionFilterEventType eventType) { + public void setEventType(RUMExclusionFilterEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumExclusionFilterUpdateAttributes name(String name) { + public RUMExclusionFilterUpdateAttributes name(String name) { this.name = name; return this; } @@ -110,7 +110,7 @@ public void setName(String name) { this.name = name; } - public RumExclusionFilterUpdateAttributes query(String query) { + public RUMExclusionFilterUpdateAttributes query(String query) { this.query = query; return this; } @@ -144,10 +144,10 @@ public void setQuery(String query) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterUpdateAttributes + * @return RUMExclusionFilterUpdateAttributes */ @JsonAnySetter - public RumExclusionFilterUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -178,7 +178,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterUpdateAttributes object is equal to o. */ + /** Return true if this RUMExclusionFilterUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -187,8 +187,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterUpdateAttributes rumExclusionFilterUpdateAttributes = - (RumExclusionFilterUpdateAttributes) o; + RUMExclusionFilterUpdateAttributes rumExclusionFilterUpdateAttributes = + (RUMExclusionFilterUpdateAttributes) o; return Objects.equals(this.enabled, rumExclusionFilterUpdateAttributes.enabled) && Objects.equals(this.eventType, rumExclusionFilterUpdateAttributes.eventType) && Objects.equals(this.name, rumExclusionFilterUpdateAttributes.name) @@ -205,7 +205,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterUpdateAttributes {\n"); + sb.append("class RUMExclusionFilterUpdateAttributes {\n"); sb.append(" enabled: ").append(toIndentedString(enabled)).append("\n"); sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateData.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateData.java index 1cc8cd3ca19..e4f7338116c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateData.java @@ -19,31 +19,31 @@ /** The exclusion filter properties to update. */ @JsonPropertyOrder({ - RumExclusionFilterUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumExclusionFilterUpdateData.JSON_PROPERTY_ID, - RumExclusionFilterUpdateData.JSON_PROPERTY_TYPE + RUMExclusionFilterUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMExclusionFilterUpdateData.JSON_PROPERTY_ID, + RUMExclusionFilterUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterUpdateData { +public class RUMExclusionFilterUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumExclusionFilterUpdateAttributes attributes; + private RUMExclusionFilterUpdateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumExclusionFilterType type = RumExclusionFilterType.EXCLUSION_FILTERS; + private RUMExclusionFilterType type = RUMExclusionFilterType.EXCLUSION_FILTERS; - public RumExclusionFilterUpdateData() {} + public RUMExclusionFilterUpdateData() {} @JsonCreator - public RumExclusionFilterUpdateData( + public RUMExclusionFilterUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumExclusionFilterUpdateAttributes attributes, + RUMExclusionFilterUpdateAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumExclusionFilterType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMExclusionFilterType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumExclusionFilterUpdateData( this.unparsed |= !type.isValid(); } - public RumExclusionFilterUpdateData attributes(RumExclusionFilterUpdateAttributes attributes) { + public RUMExclusionFilterUpdateData attributes(RUMExclusionFilterUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -66,18 +66,18 @@ public RumExclusionFilterUpdateData attributes(RumExclusionFilterUpdateAttribute */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterUpdateAttributes getAttributes() { + public RUMExclusionFilterUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumExclusionFilterUpdateAttributes attributes) { + public void setAttributes(RUMExclusionFilterUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumExclusionFilterUpdateData id(String id) { + public RUMExclusionFilterUpdateData id(String id) { this.id = id; return this; } @@ -97,7 +97,7 @@ public void setId(String id) { this.id = id; } - public RumExclusionFilterUpdateData type(RumExclusionFilterType type) { + public RUMExclusionFilterUpdateData type(RUMExclusionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -110,11 +110,11 @@ public RumExclusionFilterUpdateData type(RumExclusionFilterType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterType getType() { + public RUMExclusionFilterType getType() { return type; } - public void setType(RumExclusionFilterType type) { + public void setType(RUMExclusionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -133,10 +133,10 @@ public void setType(RumExclusionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterUpdateData + * @return RUMExclusionFilterUpdateData */ @JsonAnySetter - public RumExclusionFilterUpdateData putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -167,7 +167,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterUpdateData object is equal to o. */ + /** Return true if this RUMExclusionFilterUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -176,7 +176,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterUpdateData rumExclusionFilterUpdateData = (RumExclusionFilterUpdateData) o; + RUMExclusionFilterUpdateData rumExclusionFilterUpdateData = (RUMExclusionFilterUpdateData) o; return Objects.equals(this.attributes, rumExclusionFilterUpdateData.attributes) && Objects.equals(this.id, rumExclusionFilterUpdateData.id) && Objects.equals(this.type, rumExclusionFilterUpdateData.type) @@ -192,7 +192,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterUpdateData {\n"); + sb.append("class RUMExclusionFilterUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateRequest.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateRequest.java index 6cf26a3e756..963f736ee95 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFilterUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFilterUpdateRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** The exclusion filter body to update. */ -@JsonPropertyOrder({RumExclusionFilterUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMExclusionFilterUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFilterUpdateRequest { +public class RUMExclusionFilterUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumExclusionFilterUpdateData data; + private RUMExclusionFilterUpdateData data; - public RumExclusionFilterUpdateRequest() {} + public RUMExclusionFilterUpdateRequest() {} @JsonCreator - public RumExclusionFilterUpdateRequest( + public RUMExclusionFilterUpdateRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumExclusionFilterUpdateData data) { + RUMExclusionFilterUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumExclusionFilterUpdateRequest data(RumExclusionFilterUpdateData data) { + public RUMExclusionFilterUpdateRequest data(RUMExclusionFilterUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumExclusionFilterUpdateRequest data(RumExclusionFilterUpdateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumExclusionFilterUpdateData getData() { + public RUMExclusionFilterUpdateData getData() { return data; } - public void setData(RumExclusionFilterUpdateData data) { + public void setData(RUMExclusionFilterUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumExclusionFilterUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFilterUpdateRequest + * @return RUMExclusionFilterUpdateRequest */ @JsonAnySetter - public RumExclusionFilterUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMExclusionFilterUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFilterUpdateRequest object is equal to o. */ + /** Return true if this RUMExclusionFilterUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFilterUpdateRequest rumExclusionFilterUpdateRequest = - (RumExclusionFilterUpdateRequest) o; + RUMExclusionFilterUpdateRequest rumExclusionFilterUpdateRequest = + (RUMExclusionFilterUpdateRequest) o; return Objects.equals(this.data, rumExclusionFilterUpdateRequest.data) && Objects.equals( this.additionalProperties, rumExclusionFilterUpdateRequest.additionalProperties); @@ -130,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFilterUpdateRequest {\n"); + sb.append("class RUMExclusionFilterUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFiltersResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFiltersResponse.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumExclusionFiltersResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMExclusionFiltersResponse.java index 95f8a266961..3eca406853e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumExclusionFiltersResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMExclusionFiltersResponse.java @@ -19,25 +19,25 @@ import java.util.Objects; /** All exclusion filters for a RUM application. */ -@JsonPropertyOrder({RumExclusionFiltersResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMExclusionFiltersResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumExclusionFiltersResponse { +public class RUMExclusionFiltersResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = null; + private List data = null; - public RumExclusionFiltersResponse data(List data) { + public RUMExclusionFiltersResponse data(List data) { this.data = data; if (data != null) { - for (RumExclusionFilterData item : data) { + for (RUMExclusionFilterData item : data) { this.unparsed |= item.unparsed; } } return this; } - public RumExclusionFiltersResponse addDataItem(RumExclusionFilterData dataItem) { + public RUMExclusionFiltersResponse addDataItem(RUMExclusionFilterData dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -54,14 +54,14 @@ public RumExclusionFiltersResponse addDataItem(RumExclusionFilterData dataItem) @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumExclusionFilterData item : data) { + for (RUMExclusionFilterData item : data) { this.unparsed |= item.unparsed; } } @@ -79,10 +79,10 @@ public void setData(List data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumExclusionFiltersResponse + * @return RUMExclusionFiltersResponse */ @JsonAnySetter - public RumExclusionFiltersResponse putAdditionalProperty(String key, Object value) { + public RUMExclusionFiltersResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -113,7 +113,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumExclusionFiltersResponse object is equal to o. */ + /** Return true if this RUMExclusionFiltersResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -122,7 +122,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumExclusionFiltersResponse rumExclusionFiltersResponse = (RumExclusionFiltersResponse) o; + RUMExclusionFiltersResponse rumExclusionFiltersResponse = (RUMExclusionFiltersResponse) o; return Objects.equals(this.data, rumExclusionFiltersResponse.data) && Objects.equals( this.additionalProperties, rumExclusionFiltersResponse.additionalProperties); @@ -136,7 +136,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumExclusionFiltersResponse {\n"); + sb.append("class RUMExclusionFiltersResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumManagedArchiveErrorResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMManagedArchiveErrorResponse.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumManagedArchiveErrorResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMManagedArchiveErrorResponse.java index 245c8b81e23..18b53ddde85 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumManagedArchiveErrorResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMManagedArchiveErrorResponse.java @@ -20,28 +20,28 @@ import java.util.Objects; /** API error response. */ -@JsonPropertyOrder({RumManagedArchiveErrorResponse.JSON_PROPERTY_ERRORS}) +@JsonPropertyOrder({RUMManagedArchiveErrorResponse.JSON_PROPERTY_ERRORS}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumManagedArchiveErrorResponse { +public class RUMManagedArchiveErrorResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ERRORS = "errors"; private List errors = new ArrayList<>(); - public RumManagedArchiveErrorResponse() {} + public RUMManagedArchiveErrorResponse() {} @JsonCreator - public RumManagedArchiveErrorResponse( + public RUMManagedArchiveErrorResponse( @JsonProperty(required = true, value = JSON_PROPERTY_ERRORS) List errors) { this.errors = errors; } - public RumManagedArchiveErrorResponse errors(List errors) { + public RUMManagedArchiveErrorResponse errors(List errors) { this.errors = errors; return this; } - public RumManagedArchiveErrorResponse addErrorsItem(Object errorsItem) { + public RUMManagedArchiveErrorResponse addErrorsItem(Object errorsItem) { this.errors.add(errorsItem); return this; } @@ -73,10 +73,10 @@ public void setErrors(List errors) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumManagedArchiveErrorResponse + * @return RUMManagedArchiveErrorResponse */ @JsonAnySetter - public RumManagedArchiveErrorResponse putAdditionalProperty(String key, Object value) { + public RUMManagedArchiveErrorResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -107,7 +107,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumManagedArchiveErrorResponse object is equal to o. */ + /** Return true if this RUMManagedArchiveErrorResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -116,8 +116,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumManagedArchiveErrorResponse rumManagedArchiveErrorResponse = - (RumManagedArchiveErrorResponse) o; + RUMManagedArchiveErrorResponse rumManagedArchiveErrorResponse = + (RUMManagedArchiveErrorResponse) o; return Objects.equals(this.errors, rumManagedArchiveErrorResponse.errors) && Objects.equals( this.additionalProperties, rumManagedArchiveErrorResponse.additionalProperties); @@ -131,7 +131,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumManagedArchiveErrorResponse {\n"); + sb.append("class RUMManagedArchiveErrorResponse {\n"); sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricCompute.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCompute.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricCompute.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricCompute.java index ba926aff2bc..9a18423ba75 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricCompute.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCompute.java @@ -22,16 +22,16 @@ * include_percentiles can be updated afterward. */ @JsonPropertyOrder({ - RumMetricCompute.JSON_PROPERTY_AGGREGATION_TYPE, - RumMetricCompute.JSON_PROPERTY_INCLUDE_PERCENTILES, - RumMetricCompute.JSON_PROPERTY_PATH + RUMMetricCompute.JSON_PROPERTY_AGGREGATION_TYPE, + RUMMetricCompute.JSON_PROPERTY_INCLUDE_PERCENTILES, + RUMMetricCompute.JSON_PROPERTY_PATH }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricCompute { +public class RUMMetricCompute { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_AGGREGATION_TYPE = "aggregation_type"; - private RumMetricComputeAggregationType aggregationType; + private RUMMetricComputeAggregationType aggregationType; public static final String JSON_PROPERTY_INCLUDE_PERCENTILES = "include_percentiles"; private Boolean includePercentiles; @@ -39,17 +39,17 @@ public class RumMetricCompute { public static final String JSON_PROPERTY_PATH = "path"; private String path; - public RumMetricCompute() {} + public RUMMetricCompute() {} @JsonCreator - public RumMetricCompute( + public RUMMetricCompute( @JsonProperty(required = true, value = JSON_PROPERTY_AGGREGATION_TYPE) - RumMetricComputeAggregationType aggregationType) { + RUMMetricComputeAggregationType aggregationType) { this.aggregationType = aggregationType; this.unparsed |= !aggregationType.isValid(); } - public RumMetricCompute aggregationType(RumMetricComputeAggregationType aggregationType) { + public RUMMetricCompute aggregationType(RUMMetricComputeAggregationType aggregationType) { this.aggregationType = aggregationType; this.unparsed |= !aggregationType.isValid(); return this; @@ -63,18 +63,18 @@ public RumMetricCompute aggregationType(RumMetricComputeAggregationType aggregat */ @JsonProperty(JSON_PROPERTY_AGGREGATION_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricComputeAggregationType getAggregationType() { + public RUMMetricComputeAggregationType getAggregationType() { return aggregationType; } - public void setAggregationType(RumMetricComputeAggregationType aggregationType) { + public void setAggregationType(RUMMetricComputeAggregationType aggregationType) { if (!aggregationType.isValid()) { this.unparsed = true; } this.aggregationType = aggregationType; } - public RumMetricCompute includePercentiles(Boolean includePercentiles) { + public RUMMetricCompute includePercentiles(Boolean includePercentiles) { this.includePercentiles = includePercentiles; return this; } @@ -97,7 +97,7 @@ public void setIncludePercentiles(Boolean includePercentiles) { this.includePercentiles = includePercentiles; } - public RumMetricCompute path(String path) { + public RUMMetricCompute path(String path) { this.path = path; return this; } @@ -131,10 +131,10 @@ public void setPath(String path) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricCompute + * @return RUMMetricCompute */ @JsonAnySetter - public RumMetricCompute putAdditionalProperty(String key, Object value) { + public RUMMetricCompute putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricCompute object is equal to o. */ + /** Return true if this RUMMetricCompute object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricCompute rumMetricCompute = (RumMetricCompute) o; + RUMMetricCompute rumMetricCompute = (RUMMetricCompute) o; return Objects.equals(this.aggregationType, rumMetricCompute.aggregationType) && Objects.equals(this.includePercentiles, rumMetricCompute.includePercentiles) && Objects.equals(this.path, rumMetricCompute.path) @@ -189,7 +189,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricCompute {\n"); + sb.append("class RUMMetricCompute {\n"); sb.append(" aggregationType: ").append(toIndentedString(aggregationType)).append("\n"); sb.append(" includePercentiles: ").append(toIndentedString(includePercentiles)).append("\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricComputeAggregationType.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricComputeAggregationType.java similarity index 63% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricComputeAggregationType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricComputeAggregationType.java index 8c1a9130617..9f11af8d13e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricComputeAggregationType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricComputeAggregationType.java @@ -23,41 +23,41 @@ * aggregates the values found at path. */ @JsonSerialize( - using = RumMetricComputeAggregationType.RumMetricComputeAggregationTypeSerializer.class) -public class RumMetricComputeAggregationType extends ModelEnum { + using = RUMMetricComputeAggregationType.RUMMetricComputeAggregationTypeSerializer.class) +public class RUMMetricComputeAggregationType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("count", "distribution")); - public static final RumMetricComputeAggregationType COUNT = - new RumMetricComputeAggregationType("count"); - public static final RumMetricComputeAggregationType DISTRIBUTION = - new RumMetricComputeAggregationType("distribution"); + public static final RUMMetricComputeAggregationType COUNT = + new RUMMetricComputeAggregationType("count"); + public static final RUMMetricComputeAggregationType DISTRIBUTION = + new RUMMetricComputeAggregationType("distribution"); - RumMetricComputeAggregationType(String value) { + RUMMetricComputeAggregationType(String value) { super(value, allowedValues); } - public static class RumMetricComputeAggregationTypeSerializer - extends StdSerializer { - public RumMetricComputeAggregationTypeSerializer(Class t) { + public static class RUMMetricComputeAggregationTypeSerializer + extends StdSerializer { + public RUMMetricComputeAggregationTypeSerializer(Class t) { super(t); } - public RumMetricComputeAggregationTypeSerializer() { + public RUMMetricComputeAggregationTypeSerializer() { this(null); } @Override public void serialize( - RumMetricComputeAggregationType value, JsonGenerator jgen, SerializerProvider provider) + RUMMetricComputeAggregationType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumMetricComputeAggregationType fromValue(String value) { - return new RumMetricComputeAggregationType(value); + public static RUMMetricComputeAggregationType fromValue(String value) { + return new RUMMetricComputeAggregationType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateAttributes.java similarity index 80% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateAttributes.java index 192a1a9de0d..19c3ffdec43 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateAttributes.java @@ -21,45 +21,45 @@ /** The object describing the Datadog RUM-based metric to create. */ @JsonPropertyOrder({ - RumMetricCreateAttributes.JSON_PROPERTY_COMPUTE, - RumMetricCreateAttributes.JSON_PROPERTY_EVENT_TYPE, - RumMetricCreateAttributes.JSON_PROPERTY_FILTER, - RumMetricCreateAttributes.JSON_PROPERTY_GROUP_BY, - RumMetricCreateAttributes.JSON_PROPERTY_UNIQUENESS + RUMMetricCreateAttributes.JSON_PROPERTY_COMPUTE, + RUMMetricCreateAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMMetricCreateAttributes.JSON_PROPERTY_FILTER, + RUMMetricCreateAttributes.JSON_PROPERTY_GROUP_BY, + RUMMetricCreateAttributes.JSON_PROPERTY_UNIQUENESS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricCreateAttributes { +public class RUMMetricCreateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_COMPUTE = "compute"; - private RumMetricCompute compute; + private RUMMetricCompute compute; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumMetricEventType eventType; + private RUMMetricEventType eventType; public static final String JSON_PROPERTY_FILTER = "filter"; - private RumMetricFilter filter; + private RUMMetricFilter filter; public static final String JSON_PROPERTY_GROUP_BY = "group_by"; - private List groupBy = null; + private List groupBy = null; public static final String JSON_PROPERTY_UNIQUENESS = "uniqueness"; - private RumMetricUniqueness uniqueness; + private RUMMetricUniqueness uniqueness; - public RumMetricCreateAttributes() {} + public RUMMetricCreateAttributes() {} @JsonCreator - public RumMetricCreateAttributes( - @JsonProperty(required = true, value = JSON_PROPERTY_COMPUTE) RumMetricCompute compute, + public RUMMetricCreateAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_COMPUTE) RUMMetricCompute compute, @JsonProperty(required = true, value = JSON_PROPERTY_EVENT_TYPE) - RumMetricEventType eventType) { + RUMMetricEventType eventType) { this.compute = compute; this.unparsed |= compute.unparsed; this.eventType = eventType; this.unparsed |= !eventType.isValid(); } - public RumMetricCreateAttributes compute(RumMetricCompute compute) { + public RUMMetricCreateAttributes compute(RUMMetricCompute compute) { this.compute = compute; this.unparsed |= compute.unparsed; return this; @@ -73,18 +73,18 @@ public RumMetricCreateAttributes compute(RumMetricCompute compute) { */ @JsonProperty(JSON_PROPERTY_COMPUTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricCompute getCompute() { + public RUMMetricCompute getCompute() { return compute; } - public void setCompute(RumMetricCompute compute) { + public void setCompute(RUMMetricCompute compute) { this.compute = compute; if (compute != null) { this.unparsed |= compute.unparsed; } } - public RumMetricCreateAttributes eventType(RumMetricEventType eventType) { + public RUMMetricCreateAttributes eventType(RUMMetricEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -98,18 +98,18 @@ public RumMetricCreateAttributes eventType(RumMetricEventType eventType) { */ @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricEventType getEventType() { + public RUMMetricEventType getEventType() { return eventType; } - public void setEventType(RumMetricEventType eventType) { + public void setEventType(RUMMetricEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumMetricCreateAttributes filter(RumMetricFilter filter) { + public RUMMetricCreateAttributes filter(RUMMetricFilter filter) { this.filter = filter; this.unparsed |= filter.unparsed; return this; @@ -124,28 +124,28 @@ public RumMetricCreateAttributes filter(RumMetricFilter filter) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricFilter getFilter() { + public RUMMetricFilter getFilter() { return filter; } - public void setFilter(RumMetricFilter filter) { + public void setFilter(RUMMetricFilter filter) { this.filter = filter; if (filter != null) { this.unparsed |= filter.unparsed; } } - public RumMetricCreateAttributes groupBy(List groupBy) { + public RUMMetricCreateAttributes groupBy(List groupBy) { this.groupBy = groupBy; if (groupBy != null) { - for (RumMetricGroupBy item : groupBy) { + for (RUMMetricGroupBy item : groupBy) { this.unparsed |= item.unparsed; } } return this; } - public RumMetricCreateAttributes addGroupByItem(RumMetricGroupBy groupByItem) { + public RUMMetricCreateAttributes addGroupByItem(RUMMetricGroupBy groupByItem) { if (this.groupBy == null) { this.groupBy = new ArrayList<>(); } @@ -163,20 +163,20 @@ public RumMetricCreateAttributes addGroupByItem(RumMetricGroupBy groupByItem) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGroupBy() { + public List getGroupBy() { return groupBy; } - public void setGroupBy(List groupBy) { + public void setGroupBy(List groupBy) { this.groupBy = groupBy; if (groupBy != null) { - for (RumMetricGroupBy item : groupBy) { + for (RUMMetricGroupBy item : groupBy) { this.unparsed |= item.unparsed; } } } - public RumMetricCreateAttributes uniqueness(RumMetricUniqueness uniqueness) { + public RUMMetricCreateAttributes uniqueness(RUMMetricUniqueness uniqueness) { this.uniqueness = uniqueness; this.unparsed |= uniqueness.unparsed; return this; @@ -192,11 +192,11 @@ public RumMetricCreateAttributes uniqueness(RumMetricUniqueness uniqueness) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UNIQUENESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricUniqueness getUniqueness() { + public RUMMetricUniqueness getUniqueness() { return uniqueness; } - public void setUniqueness(RumMetricUniqueness uniqueness) { + public void setUniqueness(RUMMetricUniqueness uniqueness) { this.uniqueness = uniqueness; if (uniqueness != null) { this.unparsed |= uniqueness.unparsed; @@ -215,10 +215,10 @@ public void setUniqueness(RumMetricUniqueness uniqueness) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricCreateAttributes + * @return RUMMetricCreateAttributes */ @JsonAnySetter - public RumMetricCreateAttributes putAdditionalProperty(String key, Object value) { + public RUMMetricCreateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -249,7 +249,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricCreateAttributes object is equal to o. */ + /** Return true if this RUMMetricCreateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -258,7 +258,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricCreateAttributes rumMetricCreateAttributes = (RumMetricCreateAttributes) o; + RUMMetricCreateAttributes rumMetricCreateAttributes = (RUMMetricCreateAttributes) o; return Objects.equals(this.compute, rumMetricCreateAttributes.compute) && Objects.equals(this.eventType, rumMetricCreateAttributes.eventType) && Objects.equals(this.filter, rumMetricCreateAttributes.filter) @@ -276,7 +276,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricCreateAttributes {\n"); + sb.append("class RUMMetricCreateAttributes {\n"); sb.append(" compute: ").append(toIndentedString(compute)).append("\n"); sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricCreateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateData.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricCreateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateData.java index 666527cdd29..802f3417a58 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricCreateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateData.java @@ -19,31 +19,31 @@ /** The new RUM-based metric properties. */ @JsonPropertyOrder({ - RumMetricCreateData.JSON_PROPERTY_ATTRIBUTES, - RumMetricCreateData.JSON_PROPERTY_ID, - RumMetricCreateData.JSON_PROPERTY_TYPE + RUMMetricCreateData.JSON_PROPERTY_ATTRIBUTES, + RUMMetricCreateData.JSON_PROPERTY_ID, + RUMMetricCreateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricCreateData { +public class RUMMetricCreateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumMetricCreateAttributes attributes; + private RUMMetricCreateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumMetricType type = RumMetricType.RUM_METRICS; + private RUMMetricType type = RUMMetricType.RUM_METRICS; - public RumMetricCreateData() {} + public RUMMetricCreateData() {} @JsonCreator - public RumMetricCreateData( + public RUMMetricCreateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumMetricCreateAttributes attributes, + RUMMetricCreateAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumMetricType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMMetricType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumMetricCreateData( this.unparsed |= !type.isValid(); } - public RumMetricCreateData attributes(RumMetricCreateAttributes attributes) { + public RUMMetricCreateData attributes(RUMMetricCreateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumMetricCreateData attributes(RumMetricCreateAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricCreateAttributes getAttributes() { + public RUMMetricCreateAttributes getAttributes() { return attributes; } - public void setAttributes(RumMetricCreateAttributes attributes) { + public void setAttributes(RUMMetricCreateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumMetricCreateData id(String id) { + public RUMMetricCreateData id(String id) { this.id = id; return this; } @@ -97,7 +97,7 @@ public void setId(String id) { this.id = id; } - public RumMetricCreateData type(RumMetricType type) { + public RUMMetricCreateData type(RUMMetricType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -110,11 +110,11 @@ public RumMetricCreateData type(RumMetricType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricType getType() { + public RUMMetricType getType() { return type; } - public void setType(RumMetricType type) { + public void setType(RUMMetricType type) { if (!type.isValid()) { this.unparsed = true; } @@ -133,10 +133,10 @@ public void setType(RumMetricType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricCreateData + * @return RUMMetricCreateData */ @JsonAnySetter - public RumMetricCreateData putAdditionalProperty(String key, Object value) { + public RUMMetricCreateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -167,7 +167,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricCreateData object is equal to o. */ + /** Return true if this RUMMetricCreateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -176,7 +176,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricCreateData rumMetricCreateData = (RumMetricCreateData) o; + RUMMetricCreateData rumMetricCreateData = (RUMMetricCreateData) o; return Objects.equals(this.attributes, rumMetricCreateData.attributes) && Objects.equals(this.id, rumMetricCreateData.id) && Objects.equals(this.type, rumMetricCreateData.type) @@ -191,7 +191,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricCreateData {\n"); + sb.append("class RUMMetricCreateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateRequest.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricCreateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateRequest.java index 03ad9f72a9d..f722b9ff048 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricCreateRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** The new RUM-based metric body. */ -@JsonPropertyOrder({RumMetricCreateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMMetricCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricCreateRequest { +public class RUMMetricCreateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumMetricCreateData data; + private RUMMetricCreateData data; - public RumMetricCreateRequest() {} + public RUMMetricCreateRequest() {} @JsonCreator - public RumMetricCreateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumMetricCreateData data) { + public RUMMetricCreateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMMetricCreateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumMetricCreateRequest data(RumMetricCreateData data) { + public RUMMetricCreateRequest data(RUMMetricCreateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumMetricCreateRequest data(RumMetricCreateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricCreateData getData() { + public RUMMetricCreateData getData() { return data; } - public void setData(RumMetricCreateData data) { + public void setData(RUMMetricCreateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumMetricCreateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricCreateRequest + * @return RUMMetricCreateRequest */ @JsonAnySetter - public RumMetricCreateRequest putAdditionalProperty(String key, Object value) { + public RUMMetricCreateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricCreateRequest object is equal to o. */ + /** Return true if this RUMMetricCreateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricCreateRequest rumMetricCreateRequest = (RumMetricCreateRequest) o; + RUMMetricCreateRequest rumMetricCreateRequest = (RUMMetricCreateRequest) o; return Objects.equals(this.data, rumMetricCreateRequest.data) && Objects.equals(this.additionalProperties, rumMetricCreateRequest.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricCreateRequest {\n"); + sb.append("class RUMMetricCreateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricEventType.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricEventType.java similarity index 60% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricEventType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricEventType.java index 4f43560c69a..facab8bf390 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricEventType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricEventType.java @@ -21,43 +21,43 @@ /** * The type of RUM events the metric is generated from. It is set at creation and cannot be changed. */ -@JsonSerialize(using = RumMetricEventType.RumMetricEventTypeSerializer.class) -public class RumMetricEventType extends ModelEnum { +@JsonSerialize(using = RUMMetricEventType.RUMMetricEventTypeSerializer.class) +public class RUMMetricEventType extends ModelEnum { private static final Set allowedValues = new HashSet( Arrays.asList("session", "view", "action", "error", "resource", "long_task", "vital")); - public static final RumMetricEventType SESSION = new RumMetricEventType("session"); - public static final RumMetricEventType VIEW = new RumMetricEventType("view"); - public static final RumMetricEventType ACTION = new RumMetricEventType("action"); - public static final RumMetricEventType ERROR = new RumMetricEventType("error"); - public static final RumMetricEventType RESOURCE = new RumMetricEventType("resource"); - public static final RumMetricEventType LONG_TASK = new RumMetricEventType("long_task"); - public static final RumMetricEventType VITAL = new RumMetricEventType("vital"); + public static final RUMMetricEventType SESSION = new RUMMetricEventType("session"); + public static final RUMMetricEventType VIEW = new RUMMetricEventType("view"); + public static final RUMMetricEventType ACTION = new RUMMetricEventType("action"); + public static final RUMMetricEventType ERROR = new RUMMetricEventType("error"); + public static final RUMMetricEventType RESOURCE = new RUMMetricEventType("resource"); + public static final RUMMetricEventType LONG_TASK = new RUMMetricEventType("long_task"); + public static final RUMMetricEventType VITAL = new RUMMetricEventType("vital"); - RumMetricEventType(String value) { + RUMMetricEventType(String value) { super(value, allowedValues); } - public static class RumMetricEventTypeSerializer extends StdSerializer { - public RumMetricEventTypeSerializer(Class t) { + public static class RUMMetricEventTypeSerializer extends StdSerializer { + public RUMMetricEventTypeSerializer(Class t) { super(t); } - public RumMetricEventTypeSerializer() { + public RUMMetricEventTypeSerializer() { this(null); } @Override - public void serialize(RumMetricEventType value, JsonGenerator jgen, SerializerProvider provider) + public void serialize(RUMMetricEventType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumMetricEventType fromValue(String value) { - return new RumMetricEventType(value); + public static RUMMetricEventType fromValue(String value) { + return new RUMMetricEventType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricFilter.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricFilter.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricFilter.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricFilter.java index 6b63693ec61..0b92618a541 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricFilter.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricFilter.java @@ -21,22 +21,22 @@ * The RUM-based metric filter. Events matching this filter are aggregated in this metric. The * event_type filter is added automatically. */ -@JsonPropertyOrder({RumMetricFilter.JSON_PROPERTY_QUERY}) +@JsonPropertyOrder({RUMMetricFilter.JSON_PROPERTY_QUERY}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricFilter { +public class RUMMetricFilter { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_QUERY = "query"; private String query = "*"; - public RumMetricFilter() {} + public RUMMetricFilter() {} @JsonCreator - public RumMetricFilter(@JsonProperty(required = true, value = JSON_PROPERTY_QUERY) String query) { + public RUMMetricFilter(@JsonProperty(required = true, value = JSON_PROPERTY_QUERY) String query) { this.query = query; } - public RumMetricFilter query(String query) { + public RUMMetricFilter query(String query) { this.query = query; return this; } @@ -72,10 +72,10 @@ public void setQuery(String query) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricFilter + * @return RUMMetricFilter */ @JsonAnySetter - public RumMetricFilter putAdditionalProperty(String key, Object value) { + public RUMMetricFilter putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricFilter object is equal to o. */ + /** Return true if this RUMMetricFilter object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,7 +115,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricFilter rumMetricFilter = (RumMetricFilter) o; + RUMMetricFilter rumMetricFilter = (RUMMetricFilter) o; return Objects.equals(this.query, rumMetricFilter.query) && Objects.equals(this.additionalProperties, rumMetricFilter.additionalProperties); } @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricFilter {\n"); + sb.append("class RUMMetricFilter {\n"); sb.append(" query: ").append(toIndentedString(query)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricGroupBy.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricGroupBy.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricGroupBy.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricGroupBy.java index 9f736b95e37..7e37058e7db 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricGroupBy.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricGroupBy.java @@ -18,10 +18,10 @@ import java.util.Objects; /** A group by rule. */ -@JsonPropertyOrder({RumMetricGroupBy.JSON_PROPERTY_PATH, RumMetricGroupBy.JSON_PROPERTY_TAG_NAME}) +@JsonPropertyOrder({RUMMetricGroupBy.JSON_PROPERTY_PATH, RUMMetricGroupBy.JSON_PROPERTY_TAG_NAME}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricGroupBy { +public class RUMMetricGroupBy { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_PATH = "path"; private String path; @@ -29,14 +29,14 @@ public class RumMetricGroupBy { public static final String JSON_PROPERTY_TAG_NAME = "tag_name"; private String tagName; - public RumMetricGroupBy() {} + public RUMMetricGroupBy() {} @JsonCreator - public RumMetricGroupBy(@JsonProperty(required = true, value = JSON_PROPERTY_PATH) String path) { + public RUMMetricGroupBy(@JsonProperty(required = true, value = JSON_PROPERTY_PATH) String path) { this.path = path; } - public RumMetricGroupBy path(String path) { + public RUMMetricGroupBy path(String path) { this.path = path; return this; } @@ -56,7 +56,7 @@ public void setPath(String path) { this.path = path; } - public RumMetricGroupBy tagName(String tagName) { + public RUMMetricGroupBy tagName(String tagName) { this.tagName = tagName; return this; } @@ -91,10 +91,10 @@ public void setTagName(String tagName) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricGroupBy + * @return RUMMetricGroupBy */ @JsonAnySetter - public RumMetricGroupBy putAdditionalProperty(String key, Object value) { + public RUMMetricGroupBy putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -125,7 +125,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricGroupBy object is equal to o. */ + /** Return true if this RUMMetricGroupBy object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -134,7 +134,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricGroupBy rumMetricGroupBy = (RumMetricGroupBy) o; + RUMMetricGroupBy rumMetricGroupBy = (RUMMetricGroupBy) o; return Objects.equals(this.path, rumMetricGroupBy.path) && Objects.equals(this.tagName, rumMetricGroupBy.tagName) && Objects.equals(this.additionalProperties, rumMetricGroupBy.additionalProperties); @@ -148,7 +148,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricGroupBy {\n"); + sb.append("class RUMMetricGroupBy {\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); sb.append(" tagName: ").append(toIndentedString(tagName)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponse.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponse.java index 8c4fb60ad55..f8179a51e2e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponse.java @@ -17,15 +17,15 @@ import java.util.Objects; /** The RUM-based metric object. */ -@JsonPropertyOrder({RumMetricResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMMetricResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponse { +public class RUMMetricResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumMetricResponseData data; + private RUMMetricResponseData data; - public RumMetricResponse data(RumMetricResponseData data) { + public RUMMetricResponse data(RUMMetricResponseData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -39,11 +39,11 @@ public RumMetricResponse data(RumMetricResponseData data) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricResponseData getData() { + public RUMMetricResponseData getData() { return data; } - public void setData(RumMetricResponseData data) { + public void setData(RUMMetricResponseData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -62,10 +62,10 @@ public void setData(RumMetricResponseData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponse + * @return RUMMetricResponse */ @JsonAnySetter - public RumMetricResponse putAdditionalProperty(String key, Object value) { + public RUMMetricResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -96,7 +96,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponse object is equal to o. */ + /** Return true if this RUMMetricResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -105,7 +105,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponse rumMetricResponse = (RumMetricResponse) o; + RUMMetricResponse rumMetricResponse = (RUMMetricResponse) o; return Objects.equals(this.data, rumMetricResponse.data) && Objects.equals(this.additionalProperties, rumMetricResponse.additionalProperties); } @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponse {\n"); + sb.append("class RUMMetricResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseAttributes.java similarity index 79% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponseAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseAttributes.java index da61845013a..d38f01c3707 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseAttributes.java @@ -20,32 +20,32 @@ /** The object describing a Datadog RUM-based metric. */ @JsonPropertyOrder({ - RumMetricResponseAttributes.JSON_PROPERTY_COMPUTE, - RumMetricResponseAttributes.JSON_PROPERTY_EVENT_TYPE, - RumMetricResponseAttributes.JSON_PROPERTY_FILTER, - RumMetricResponseAttributes.JSON_PROPERTY_GROUP_BY, - RumMetricResponseAttributes.JSON_PROPERTY_UNIQUENESS + RUMMetricResponseAttributes.JSON_PROPERTY_COMPUTE, + RUMMetricResponseAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMMetricResponseAttributes.JSON_PROPERTY_FILTER, + RUMMetricResponseAttributes.JSON_PROPERTY_GROUP_BY, + RUMMetricResponseAttributes.JSON_PROPERTY_UNIQUENESS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponseAttributes { +public class RUMMetricResponseAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_COMPUTE = "compute"; - private RumMetricResponseCompute compute; + private RUMMetricResponseCompute compute; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumMetricEventType eventType; + private RUMMetricEventType eventType; public static final String JSON_PROPERTY_FILTER = "filter"; - private RumMetricResponseFilter filter; + private RUMMetricResponseFilter filter; public static final String JSON_PROPERTY_GROUP_BY = "group_by"; - private List groupBy = null; + private List groupBy = null; public static final String JSON_PROPERTY_UNIQUENESS = "uniqueness"; - private RumMetricResponseUniqueness uniqueness; + private RUMMetricResponseUniqueness uniqueness; - public RumMetricResponseAttributes compute(RumMetricResponseCompute compute) { + public RUMMetricResponseAttributes compute(RUMMetricResponseCompute compute) { this.compute = compute; this.unparsed |= compute.unparsed; return this; @@ -59,18 +59,18 @@ public RumMetricResponseAttributes compute(RumMetricResponseCompute compute) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricResponseCompute getCompute() { + public RUMMetricResponseCompute getCompute() { return compute; } - public void setCompute(RumMetricResponseCompute compute) { + public void setCompute(RUMMetricResponseCompute compute) { this.compute = compute; if (compute != null) { this.unparsed |= compute.unparsed; } } - public RumMetricResponseAttributes eventType(RumMetricEventType eventType) { + public RUMMetricResponseAttributes eventType(RUMMetricEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -85,18 +85,18 @@ public RumMetricResponseAttributes eventType(RumMetricEventType eventType) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricEventType getEventType() { + public RUMMetricEventType getEventType() { return eventType; } - public void setEventType(RumMetricEventType eventType) { + public void setEventType(RUMMetricEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumMetricResponseAttributes filter(RumMetricResponseFilter filter) { + public RUMMetricResponseAttributes filter(RUMMetricResponseFilter filter) { this.filter = filter; this.unparsed |= filter.unparsed; return this; @@ -111,28 +111,28 @@ public RumMetricResponseAttributes filter(RumMetricResponseFilter filter) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricResponseFilter getFilter() { + public RUMMetricResponseFilter getFilter() { return filter; } - public void setFilter(RumMetricResponseFilter filter) { + public void setFilter(RUMMetricResponseFilter filter) { this.filter = filter; if (filter != null) { this.unparsed |= filter.unparsed; } } - public RumMetricResponseAttributes groupBy(List groupBy) { + public RUMMetricResponseAttributes groupBy(List groupBy) { this.groupBy = groupBy; if (groupBy != null) { - for (RumMetricResponseGroupBy item : groupBy) { + for (RUMMetricResponseGroupBy item : groupBy) { this.unparsed |= item.unparsed; } } return this; } - public RumMetricResponseAttributes addGroupByItem(RumMetricResponseGroupBy groupByItem) { + public RUMMetricResponseAttributes addGroupByItem(RUMMetricResponseGroupBy groupByItem) { if (this.groupBy == null) { this.groupBy = new ArrayList<>(); } @@ -149,20 +149,20 @@ public RumMetricResponseAttributes addGroupByItem(RumMetricResponseGroupBy group @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGroupBy() { + public List getGroupBy() { return groupBy; } - public void setGroupBy(List groupBy) { + public void setGroupBy(List groupBy) { this.groupBy = groupBy; if (groupBy != null) { - for (RumMetricResponseGroupBy item : groupBy) { + for (RUMMetricResponseGroupBy item : groupBy) { this.unparsed |= item.unparsed; } } } - public RumMetricResponseAttributes uniqueness(RumMetricResponseUniqueness uniqueness) { + public RUMMetricResponseAttributes uniqueness(RUMMetricResponseUniqueness uniqueness) { this.uniqueness = uniqueness; this.unparsed |= uniqueness.unparsed; return this; @@ -177,11 +177,11 @@ public RumMetricResponseAttributes uniqueness(RumMetricResponseUniqueness unique @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_UNIQUENESS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricResponseUniqueness getUniqueness() { + public RUMMetricResponseUniqueness getUniqueness() { return uniqueness; } - public void setUniqueness(RumMetricResponseUniqueness uniqueness) { + public void setUniqueness(RUMMetricResponseUniqueness uniqueness) { this.uniqueness = uniqueness; if (uniqueness != null) { this.unparsed |= uniqueness.unparsed; @@ -200,10 +200,10 @@ public void setUniqueness(RumMetricResponseUniqueness uniqueness) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponseAttributes + * @return RUMMetricResponseAttributes */ @JsonAnySetter - public RumMetricResponseAttributes putAdditionalProperty(String key, Object value) { + public RUMMetricResponseAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -234,7 +234,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponseAttributes object is equal to o. */ + /** Return true if this RUMMetricResponseAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -243,7 +243,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponseAttributes rumMetricResponseAttributes = (RumMetricResponseAttributes) o; + RUMMetricResponseAttributes rumMetricResponseAttributes = (RUMMetricResponseAttributes) o; return Objects.equals(this.compute, rumMetricResponseAttributes.compute) && Objects.equals(this.eventType, rumMetricResponseAttributes.eventType) && Objects.equals(this.filter, rumMetricResponseAttributes.filter) @@ -261,7 +261,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponseAttributes {\n"); + sb.append("class RUMMetricResponseAttributes {\n"); sb.append(" compute: ").append(toIndentedString(compute)).append("\n"); sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseCompute.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseCompute.java similarity index 87% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponseCompute.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseCompute.java index 5a8778fb44f..606044a2123 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseCompute.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseCompute.java @@ -18,16 +18,16 @@ /** The compute rule of the RUM-based metric. */ @JsonPropertyOrder({ - RumMetricResponseCompute.JSON_PROPERTY_AGGREGATION_TYPE, - RumMetricResponseCompute.JSON_PROPERTY_INCLUDE_PERCENTILES, - RumMetricResponseCompute.JSON_PROPERTY_PATH + RUMMetricResponseCompute.JSON_PROPERTY_AGGREGATION_TYPE, + RUMMetricResponseCompute.JSON_PROPERTY_INCLUDE_PERCENTILES, + RUMMetricResponseCompute.JSON_PROPERTY_PATH }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponseCompute { +public class RUMMetricResponseCompute { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_AGGREGATION_TYPE = "aggregation_type"; - private RumMetricComputeAggregationType aggregationType; + private RUMMetricComputeAggregationType aggregationType; public static final String JSON_PROPERTY_INCLUDE_PERCENTILES = "include_percentiles"; private Boolean includePercentiles; @@ -35,7 +35,7 @@ public class RumMetricResponseCompute { public static final String JSON_PROPERTY_PATH = "path"; private String path; - public RumMetricResponseCompute aggregationType(RumMetricComputeAggregationType aggregationType) { + public RUMMetricResponseCompute aggregationType(RUMMetricComputeAggregationType aggregationType) { this.aggregationType = aggregationType; this.unparsed |= !aggregationType.isValid(); return this; @@ -50,18 +50,18 @@ public RumMetricResponseCompute aggregationType(RumMetricComputeAggregationType @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_AGGREGATION_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricComputeAggregationType getAggregationType() { + public RUMMetricComputeAggregationType getAggregationType() { return aggregationType; } - public void setAggregationType(RumMetricComputeAggregationType aggregationType) { + public void setAggregationType(RUMMetricComputeAggregationType aggregationType) { if (!aggregationType.isValid()) { this.unparsed = true; } this.aggregationType = aggregationType; } - public RumMetricResponseCompute includePercentiles(Boolean includePercentiles) { + public RUMMetricResponseCompute includePercentiles(Boolean includePercentiles) { this.includePercentiles = includePercentiles; return this; } @@ -84,7 +84,7 @@ public void setIncludePercentiles(Boolean includePercentiles) { this.includePercentiles = includePercentiles; } - public RumMetricResponseCompute path(String path) { + public RUMMetricResponseCompute path(String path) { this.path = path; return this; } @@ -118,10 +118,10 @@ public void setPath(String path) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponseCompute + * @return RUMMetricResponseCompute */ @JsonAnySetter - public RumMetricResponseCompute putAdditionalProperty(String key, Object value) { + public RUMMetricResponseCompute putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -152,7 +152,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponseCompute object is equal to o. */ + /** Return true if this RUMMetricResponseCompute object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -161,7 +161,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponseCompute rumMetricResponseCompute = (RumMetricResponseCompute) o; + RUMMetricResponseCompute rumMetricResponseCompute = (RUMMetricResponseCompute) o; return Objects.equals(this.aggregationType, rumMetricResponseCompute.aggregationType) && Objects.equals(this.includePercentiles, rumMetricResponseCompute.includePercentiles) && Objects.equals(this.path, rumMetricResponseCompute.path) @@ -176,7 +176,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponseCompute {\n"); + sb.append("class RUMMetricResponseCompute {\n"); sb.append(" aggregationType: ").append(toIndentedString(aggregationType)).append("\n"); sb.append(" includePercentiles: ").append(toIndentedString(includePercentiles)).append("\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseData.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseData.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponseData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseData.java index f68aaa3b87f..5f2cc5ae1f8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseData.java @@ -18,24 +18,24 @@ /** The RUM-based metric properties. */ @JsonPropertyOrder({ - RumMetricResponseData.JSON_PROPERTY_ATTRIBUTES, - RumMetricResponseData.JSON_PROPERTY_ID, - RumMetricResponseData.JSON_PROPERTY_TYPE + RUMMetricResponseData.JSON_PROPERTY_ATTRIBUTES, + RUMMetricResponseData.JSON_PROPERTY_ID, + RUMMetricResponseData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponseData { +public class RUMMetricResponseData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumMetricResponseAttributes attributes; + private RUMMetricResponseAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumMetricType type = RumMetricType.RUM_METRICS; + private RUMMetricType type = RUMMetricType.RUM_METRICS; - public RumMetricResponseData attributes(RumMetricResponseAttributes attributes) { + public RUMMetricResponseData attributes(RUMMetricResponseAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -49,18 +49,18 @@ public RumMetricResponseData attributes(RumMetricResponseAttributes attributes) @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricResponseAttributes getAttributes() { + public RUMMetricResponseAttributes getAttributes() { return attributes; } - public void setAttributes(RumMetricResponseAttributes attributes) { + public void setAttributes(RUMMetricResponseAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumMetricResponseData id(String id) { + public RUMMetricResponseData id(String id) { this.id = id; return this; } @@ -83,7 +83,7 @@ public void setId(String id) { this.id = id; } - public RumMetricResponseData type(RumMetricType type) { + public RUMMetricResponseData type(RUMMetricType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -97,11 +97,11 @@ public RumMetricResponseData type(RumMetricType type) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricType getType() { + public RUMMetricType getType() { return type; } - public void setType(RumMetricType type) { + public void setType(RUMMetricType type) { if (!type.isValid()) { this.unparsed = true; } @@ -120,10 +120,10 @@ public void setType(RumMetricType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponseData + * @return RUMMetricResponseData */ @JsonAnySetter - public RumMetricResponseData putAdditionalProperty(String key, Object value) { + public RUMMetricResponseData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -154,7 +154,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponseData object is equal to o. */ + /** Return true if this RUMMetricResponseData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -163,7 +163,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponseData rumMetricResponseData = (RumMetricResponseData) o; + RUMMetricResponseData rumMetricResponseData = (RUMMetricResponseData) o; return Objects.equals(this.attributes, rumMetricResponseData.attributes) && Objects.equals(this.id, rumMetricResponseData.id) && Objects.equals(this.type, rumMetricResponseData.type) @@ -178,7 +178,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponseData {\n"); + sb.append("class RUMMetricResponseData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseFilter.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseFilter.java similarity index 90% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponseFilter.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseFilter.java index c99ac0e5386..3458531e3c7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseFilter.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseFilter.java @@ -20,15 +20,15 @@ * The RUM-based metric filter. RUM events matching this filter are aggregated in this metric. * Omitted if the metric only filters on the event type. */ -@JsonPropertyOrder({RumMetricResponseFilter.JSON_PROPERTY_QUERY}) +@JsonPropertyOrder({RUMMetricResponseFilter.JSON_PROPERTY_QUERY}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponseFilter { +public class RUMMetricResponseFilter { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_QUERY = "query"; private String query; - public RumMetricResponseFilter query(String query) { + public RUMMetricResponseFilter query(String query) { this.query = query; return this; } @@ -63,10 +63,10 @@ public void setQuery(String query) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponseFilter + * @return RUMMetricResponseFilter */ @JsonAnySetter - public RumMetricResponseFilter putAdditionalProperty(String key, Object value) { + public RUMMetricResponseFilter putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -97,7 +97,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponseFilter object is equal to o. */ + /** Return true if this RUMMetricResponseFilter object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -106,7 +106,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponseFilter rumMetricResponseFilter = (RumMetricResponseFilter) o; + RUMMetricResponseFilter rumMetricResponseFilter = (RUMMetricResponseFilter) o; return Objects.equals(this.query, rumMetricResponseFilter.query) && Objects.equals(this.additionalProperties, rumMetricResponseFilter.additionalProperties); } @@ -119,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponseFilter {\n"); + sb.append("class RUMMetricResponseFilter {\n"); sb.append(" query: ").append(toIndentedString(query)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseGroupBy.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseGroupBy.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponseGroupBy.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseGroupBy.java index 6774a8a25aa..1c22825c447 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseGroupBy.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseGroupBy.java @@ -18,12 +18,12 @@ /** A group by rule. */ @JsonPropertyOrder({ - RumMetricResponseGroupBy.JSON_PROPERTY_PATH, - RumMetricResponseGroupBy.JSON_PROPERTY_TAG_NAME + RUMMetricResponseGroupBy.JSON_PROPERTY_PATH, + RUMMetricResponseGroupBy.JSON_PROPERTY_TAG_NAME }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponseGroupBy { +public class RUMMetricResponseGroupBy { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_PATH = "path"; private String path; @@ -31,7 +31,7 @@ public class RumMetricResponseGroupBy { public static final String JSON_PROPERTY_TAG_NAME = "tag_name"; private String tagName; - public RumMetricResponseGroupBy path(String path) { + public RUMMetricResponseGroupBy path(String path) { this.path = path; return this; } @@ -52,7 +52,7 @@ public void setPath(String path) { this.path = path; } - public RumMetricResponseGroupBy tagName(String tagName) { + public RUMMetricResponseGroupBy tagName(String tagName) { this.tagName = tagName; return this; } @@ -85,10 +85,10 @@ public void setTagName(String tagName) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponseGroupBy + * @return RUMMetricResponseGroupBy */ @JsonAnySetter - public RumMetricResponseGroupBy putAdditionalProperty(String key, Object value) { + public RUMMetricResponseGroupBy putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -119,7 +119,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponseGroupBy object is equal to o. */ + /** Return true if this RUMMetricResponseGroupBy object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -128,7 +128,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponseGroupBy rumMetricResponseGroupBy = (RumMetricResponseGroupBy) o; + RUMMetricResponseGroupBy rumMetricResponseGroupBy = (RUMMetricResponseGroupBy) o; return Objects.equals(this.path, rumMetricResponseGroupBy.path) && Objects.equals(this.tagName, rumMetricResponseGroupBy.tagName) && Objects.equals(this.additionalProperties, rumMetricResponseGroupBy.additionalProperties); @@ -142,7 +142,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponseGroupBy {\n"); + sb.append("class RUMMetricResponseGroupBy {\n"); sb.append(" path: ").append(toIndentedString(path)).append("\n"); sb.append(" tagName: ").append(toIndentedString(tagName)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseUniqueness.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseUniqueness.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricResponseUniqueness.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseUniqueness.java index e0bdd168723..c4efcf6c9fc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricResponseUniqueness.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricResponseUniqueness.java @@ -20,15 +20,15 @@ * The rule to count updatable events. Only present if event_type is session * or view, and absent on older metrics created before this setting existed. */ -@JsonPropertyOrder({RumMetricResponseUniqueness.JSON_PROPERTY_WHEN}) +@JsonPropertyOrder({RUMMetricResponseUniqueness.JSON_PROPERTY_WHEN}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricResponseUniqueness { +public class RUMMetricResponseUniqueness { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_WHEN = "when"; - private RumMetricUniquenessWhen when; + private RUMMetricUniquenessWhen when; - public RumMetricResponseUniqueness when(RumMetricUniquenessWhen when) { + public RUMMetricResponseUniqueness when(RUMMetricUniquenessWhen when) { this.when = when; this.unparsed |= !when.isValid(); return this; @@ -44,11 +44,11 @@ public RumMetricResponseUniqueness when(RumMetricUniquenessWhen when) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_WHEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricUniquenessWhen getWhen() { + public RUMMetricUniquenessWhen getWhen() { return when; } - public void setWhen(RumMetricUniquenessWhen when) { + public void setWhen(RUMMetricUniquenessWhen when) { if (!when.isValid()) { this.unparsed = true; } @@ -67,10 +67,10 @@ public void setWhen(RumMetricUniquenessWhen when) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricResponseUniqueness + * @return RUMMetricResponseUniqueness */ @JsonAnySetter - public RumMetricResponseUniqueness putAdditionalProperty(String key, Object value) { + public RUMMetricResponseUniqueness putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -101,7 +101,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricResponseUniqueness object is equal to o. */ + /** Return true if this RUMMetricResponseUniqueness object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -110,7 +110,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricResponseUniqueness rumMetricResponseUniqueness = (RumMetricResponseUniqueness) o; + RUMMetricResponseUniqueness rumMetricResponseUniqueness = (RUMMetricResponseUniqueness) o; return Objects.equals(this.when, rumMetricResponseUniqueness.when) && Objects.equals( this.additionalProperties, rumMetricResponseUniqueness.additionalProperties); @@ -124,7 +124,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricResponseUniqueness {\n"); + sb.append("class RUMMetricResponseUniqueness {\n"); sb.append(" when: ").append(toIndentedString(when)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricType.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricType.java similarity index 68% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricType.java index 636cf95223d..f45d9871999 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricType.java @@ -19,36 +19,36 @@ import java.util.Set; /** The type of the resource. The value must be rum_metrics. */ -@JsonSerialize(using = RumMetricType.RumMetricTypeSerializer.class) -public class RumMetricType extends ModelEnum { +@JsonSerialize(using = RUMMetricType.RUMMetricTypeSerializer.class) +public class RUMMetricType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_metrics")); - public static final RumMetricType RUM_METRICS = new RumMetricType("rum_metrics"); + public static final RUMMetricType RUM_METRICS = new RUMMetricType("rum_metrics"); - RumMetricType(String value) { + RUMMetricType(String value) { super(value, allowedValues); } - public static class RumMetricTypeSerializer extends StdSerializer { - public RumMetricTypeSerializer(Class t) { + public static class RUMMetricTypeSerializer extends StdSerializer { + public RUMMetricTypeSerializer(Class t) { super(t); } - public RumMetricTypeSerializer() { + public RUMMetricTypeSerializer() { this(null); } @Override - public void serialize(RumMetricType value, JsonGenerator jgen, SerializerProvider provider) + public void serialize(RUMMetricType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumMetricType fromValue(String value) { - return new RumMetricType(value); + public static RUMMetricType fromValue(String value) { + return new RUMMetricType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricUniqueness.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUniqueness.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricUniqueness.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricUniqueness.java index 56cf2871a7f..3cb8167c651 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricUniqueness.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUniqueness.java @@ -22,24 +22,24 @@ * or view, and must be omitted for other event types. It cannot be changed after * creation. */ -@JsonPropertyOrder({RumMetricUniqueness.JSON_PROPERTY_WHEN}) +@JsonPropertyOrder({RUMMetricUniqueness.JSON_PROPERTY_WHEN}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricUniqueness { +public class RUMMetricUniqueness { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_WHEN = "when"; - private RumMetricUniquenessWhen when; + private RUMMetricUniquenessWhen when; - public RumMetricUniqueness() {} + public RUMMetricUniqueness() {} @JsonCreator - public RumMetricUniqueness( - @JsonProperty(required = true, value = JSON_PROPERTY_WHEN) RumMetricUniquenessWhen when) { + public RUMMetricUniqueness( + @JsonProperty(required = true, value = JSON_PROPERTY_WHEN) RUMMetricUniquenessWhen when) { this.when = when; this.unparsed |= !when.isValid(); } - public RumMetricUniqueness when(RumMetricUniquenessWhen when) { + public RUMMetricUniqueness when(RUMMetricUniquenessWhen when) { this.when = when; this.unparsed |= !when.isValid(); return this; @@ -54,11 +54,11 @@ public RumMetricUniqueness when(RumMetricUniquenessWhen when) { */ @JsonProperty(JSON_PROPERTY_WHEN) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricUniquenessWhen getWhen() { + public RUMMetricUniquenessWhen getWhen() { return when; } - public void setWhen(RumMetricUniquenessWhen when) { + public void setWhen(RUMMetricUniquenessWhen when) { if (!when.isValid()) { this.unparsed = true; } @@ -77,10 +77,10 @@ public void setWhen(RumMetricUniquenessWhen when) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricUniqueness + * @return RUMMetricUniqueness */ @JsonAnySetter - public RumMetricUniqueness putAdditionalProperty(String key, Object value) { + public RUMMetricUniqueness putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -111,7 +111,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricUniqueness object is equal to o. */ + /** Return true if this RUMMetricUniqueness object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -120,7 +120,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricUniqueness rumMetricUniqueness = (RumMetricUniqueness) o; + RUMMetricUniqueness rumMetricUniqueness = (RUMMetricUniqueness) o; return Objects.equals(this.when, rumMetricUniqueness.when) && Objects.equals(this.additionalProperties, rumMetricUniqueness.additionalProperties); } @@ -133,7 +133,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricUniqueness {\n"); + sb.append("class RUMMetricUniqueness {\n"); sb.append(" when: ").append(toIndentedString(when)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricUniquenessWhen.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUniquenessWhen.java similarity index 66% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricUniquenessWhen.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricUniquenessWhen.java index 47bef7d8184..2ff2976147d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricUniquenessWhen.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUniquenessWhen.java @@ -23,39 +23,39 @@ * when the event is complete. Sessions and views are updated over time, and each one is * counted once. */ -@JsonSerialize(using = RumMetricUniquenessWhen.RumMetricUniquenessWhenSerializer.class) -public class RumMetricUniquenessWhen extends ModelEnum { +@JsonSerialize(using = RUMMetricUniquenessWhen.RUMMetricUniquenessWhenSerializer.class) +public class RUMMetricUniquenessWhen extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("match", "end")); - public static final RumMetricUniquenessWhen WHEN_MATCH = new RumMetricUniquenessWhen("match"); - public static final RumMetricUniquenessWhen WHEN_END = new RumMetricUniquenessWhen("end"); + public static final RUMMetricUniquenessWhen WHEN_MATCH = new RUMMetricUniquenessWhen("match"); + public static final RUMMetricUniquenessWhen WHEN_END = new RUMMetricUniquenessWhen("end"); - RumMetricUniquenessWhen(String value) { + RUMMetricUniquenessWhen(String value) { super(value, allowedValues); } - public static class RumMetricUniquenessWhenSerializer - extends StdSerializer { - public RumMetricUniquenessWhenSerializer(Class t) { + public static class RUMMetricUniquenessWhenSerializer + extends StdSerializer { + public RUMMetricUniquenessWhenSerializer(Class t) { super(t); } - public RumMetricUniquenessWhenSerializer() { + public RUMMetricUniquenessWhenSerializer() { this(null); } @Override public void serialize( - RumMetricUniquenessWhen value, JsonGenerator jgen, SerializerProvider provider) + RUMMetricUniquenessWhen value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumMetricUniquenessWhen fromValue(String value) { - return new RumMetricUniquenessWhen(value); + public static RUMMetricUniquenessWhen fromValue(String value) { + return new RUMMetricUniquenessWhen(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateAttributes.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateAttributes.java index 59c67ea227a..575b8843f5e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateAttributes.java @@ -20,24 +20,24 @@ /** The RUM-based metric properties to update. Omitted properties keep their current value. */ @JsonPropertyOrder({ - RumMetricUpdateAttributes.JSON_PROPERTY_COMPUTE, - RumMetricUpdateAttributes.JSON_PROPERTY_FILTER, - RumMetricUpdateAttributes.JSON_PROPERTY_GROUP_BY + RUMMetricUpdateAttributes.JSON_PROPERTY_COMPUTE, + RUMMetricUpdateAttributes.JSON_PROPERTY_FILTER, + RUMMetricUpdateAttributes.JSON_PROPERTY_GROUP_BY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricUpdateAttributes { +public class RUMMetricUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_COMPUTE = "compute"; - private RumMetricUpdateCompute compute; + private RUMMetricUpdateCompute compute; public static final String JSON_PROPERTY_FILTER = "filter"; - private RumMetricFilter filter; + private RUMMetricFilter filter; public static final String JSON_PROPERTY_GROUP_BY = "group_by"; - private List groupBy = null; + private List groupBy = null; - public RumMetricUpdateAttributes compute(RumMetricUpdateCompute compute) { + public RUMMetricUpdateAttributes compute(RUMMetricUpdateCompute compute) { this.compute = compute; this.unparsed |= compute.unparsed; return this; @@ -52,18 +52,18 @@ public RumMetricUpdateAttributes compute(RumMetricUpdateCompute compute) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_COMPUTE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricUpdateCompute getCompute() { + public RUMMetricUpdateCompute getCompute() { return compute; } - public void setCompute(RumMetricUpdateCompute compute) { + public void setCompute(RUMMetricUpdateCompute compute) { this.compute = compute; if (compute != null) { this.unparsed |= compute.unparsed; } } - public RumMetricUpdateAttributes filter(RumMetricFilter filter) { + public RUMMetricUpdateAttributes filter(RUMMetricFilter filter) { this.filter = filter; this.unparsed |= filter.unparsed; return this; @@ -78,28 +78,28 @@ public RumMetricUpdateAttributes filter(RumMetricFilter filter) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_FILTER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumMetricFilter getFilter() { + public RUMMetricFilter getFilter() { return filter; } - public void setFilter(RumMetricFilter filter) { + public void setFilter(RUMMetricFilter filter) { this.filter = filter; if (filter != null) { this.unparsed |= filter.unparsed; } } - public RumMetricUpdateAttributes groupBy(List groupBy) { + public RUMMetricUpdateAttributes groupBy(List groupBy) { this.groupBy = groupBy; if (groupBy != null) { - for (RumMetricGroupBy item : groupBy) { + for (RUMMetricGroupBy item : groupBy) { this.unparsed |= item.unparsed; } } return this; } - public RumMetricUpdateAttributes addGroupByItem(RumMetricGroupBy groupByItem) { + public RUMMetricUpdateAttributes addGroupByItem(RUMMetricGroupBy groupByItem) { if (this.groupBy == null) { this.groupBy = new ArrayList<>(); } @@ -116,14 +116,14 @@ public RumMetricUpdateAttributes addGroupByItem(RumMetricGroupBy groupByItem) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_GROUP_BY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getGroupBy() { + public List getGroupBy() { return groupBy; } - public void setGroupBy(List groupBy) { + public void setGroupBy(List groupBy) { this.groupBy = groupBy; if (groupBy != null) { - for (RumMetricGroupBy item : groupBy) { + for (RUMMetricGroupBy item : groupBy) { this.unparsed |= item.unparsed; } } @@ -141,10 +141,10 @@ public void setGroupBy(List groupBy) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricUpdateAttributes + * @return RUMMetricUpdateAttributes */ @JsonAnySetter - public RumMetricUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMMetricUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -175,7 +175,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricUpdateAttributes object is equal to o. */ + /** Return true if this RUMMetricUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -184,7 +184,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricUpdateAttributes rumMetricUpdateAttributes = (RumMetricUpdateAttributes) o; + RUMMetricUpdateAttributes rumMetricUpdateAttributes = (RUMMetricUpdateAttributes) o; return Objects.equals(this.compute, rumMetricUpdateAttributes.compute) && Objects.equals(this.filter, rumMetricUpdateAttributes.filter) && Objects.equals(this.groupBy, rumMetricUpdateAttributes.groupBy) @@ -200,7 +200,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricUpdateAttributes {\n"); + sb.append("class RUMMetricUpdateAttributes {\n"); sb.append(" compute: ").append(toIndentedString(compute)).append("\n"); sb.append(" filter: ").append(toIndentedString(filter)).append("\n"); sb.append(" groupBy: ").append(toIndentedString(groupBy)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateCompute.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateCompute.java similarity index 90% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateCompute.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateCompute.java index c540b56f1d4..8c638751bcc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateCompute.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateCompute.java @@ -20,15 +20,15 @@ * The compute rule properties that can be updated. Only valid for metrics whose * aggregation_type is distribution. */ -@JsonPropertyOrder({RumMetricUpdateCompute.JSON_PROPERTY_INCLUDE_PERCENTILES}) +@JsonPropertyOrder({RUMMetricUpdateCompute.JSON_PROPERTY_INCLUDE_PERCENTILES}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricUpdateCompute { +public class RUMMetricUpdateCompute { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_INCLUDE_PERCENTILES = "include_percentiles"; private Boolean includePercentiles; - public RumMetricUpdateCompute includePercentiles(Boolean includePercentiles) { + public RUMMetricUpdateCompute includePercentiles(Boolean includePercentiles) { this.includePercentiles = includePercentiles; return this; } @@ -63,10 +63,10 @@ public void setIncludePercentiles(Boolean includePercentiles) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricUpdateCompute + * @return RUMMetricUpdateCompute */ @JsonAnySetter - public RumMetricUpdateCompute putAdditionalProperty(String key, Object value) { + public RUMMetricUpdateCompute putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -97,7 +97,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricUpdateCompute object is equal to o. */ + /** Return true if this RUMMetricUpdateCompute object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -106,7 +106,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricUpdateCompute rumMetricUpdateCompute = (RumMetricUpdateCompute) o; + RUMMetricUpdateCompute rumMetricUpdateCompute = (RUMMetricUpdateCompute) o; return Objects.equals(this.includePercentiles, rumMetricUpdateCompute.includePercentiles) && Objects.equals(this.additionalProperties, rumMetricUpdateCompute.additionalProperties); } @@ -119,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricUpdateCompute {\n"); + sb.append("class RUMMetricUpdateCompute {\n"); sb.append(" includePercentiles: ").append(toIndentedString(includePercentiles)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateData.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateData.java index 2b66b611624..c2a5da5eebc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateData.java @@ -22,37 +22,37 @@ * the metric_id path parameter. */ @JsonPropertyOrder({ - RumMetricUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumMetricUpdateData.JSON_PROPERTY_ID, - RumMetricUpdateData.JSON_PROPERTY_TYPE + RUMMetricUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMMetricUpdateData.JSON_PROPERTY_ID, + RUMMetricUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricUpdateData { +public class RUMMetricUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumMetricUpdateAttributes attributes; + private RUMMetricUpdateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumMetricType type = RumMetricType.RUM_METRICS; + private RUMMetricType type = RUMMetricType.RUM_METRICS; - public RumMetricUpdateData() {} + public RUMMetricUpdateData() {} @JsonCreator - public RumMetricUpdateData( + public RUMMetricUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumMetricUpdateAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumMetricType type) { + RUMMetricUpdateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMMetricType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.type = type; this.unparsed |= !type.isValid(); } - public RumMetricUpdateData attributes(RumMetricUpdateAttributes attributes) { + public RUMMetricUpdateData attributes(RUMMetricUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumMetricUpdateData attributes(RumMetricUpdateAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricUpdateAttributes getAttributes() { + public RUMMetricUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumMetricUpdateAttributes attributes) { + public void setAttributes(RUMMetricUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumMetricUpdateData id(String id) { + public RUMMetricUpdateData id(String id) { this.id = id; return this; } @@ -99,7 +99,7 @@ public void setId(String id) { this.id = id; } - public RumMetricUpdateData type(RumMetricType type) { + public RUMMetricUpdateData type(RUMMetricType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -112,11 +112,11 @@ public RumMetricUpdateData type(RumMetricType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricType getType() { + public RUMMetricType getType() { return type; } - public void setType(RumMetricType type) { + public void setType(RUMMetricType type) { if (!type.isValid()) { this.unparsed = true; } @@ -135,10 +135,10 @@ public void setType(RumMetricType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricUpdateData + * @return RUMMetricUpdateData */ @JsonAnySetter - public RumMetricUpdateData putAdditionalProperty(String key, Object value) { + public RUMMetricUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -169,7 +169,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricUpdateData object is equal to o. */ + /** Return true if this RUMMetricUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -178,7 +178,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricUpdateData rumMetricUpdateData = (RumMetricUpdateData) o; + RUMMetricUpdateData rumMetricUpdateData = (RUMMetricUpdateData) o; return Objects.equals(this.attributes, rumMetricUpdateData.attributes) && Objects.equals(this.id, rumMetricUpdateData.id) && Objects.equals(this.type, rumMetricUpdateData.type) @@ -193,7 +193,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricUpdateData {\n"); + sb.append("class RUMMetricUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateRequest.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateRequest.java index 05ecc399778..214354e67f8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricUpdateRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** The RUM-based metric update body. */ -@JsonPropertyOrder({RumMetricUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMMetricUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricUpdateRequest { +public class RUMMetricUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumMetricUpdateData data; + private RUMMetricUpdateData data; - public RumMetricUpdateRequest() {} + public RUMMetricUpdateRequest() {} @JsonCreator - public RumMetricUpdateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumMetricUpdateData data) { + public RUMMetricUpdateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMMetricUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumMetricUpdateRequest data(RumMetricUpdateData data) { + public RUMMetricUpdateRequest data(RUMMetricUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumMetricUpdateRequest data(RumMetricUpdateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumMetricUpdateData getData() { + public RUMMetricUpdateData getData() { return data; } - public void setData(RumMetricUpdateData data) { + public void setData(RUMMetricUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumMetricUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricUpdateRequest + * @return RUMMetricUpdateRequest */ @JsonAnySetter - public RumMetricUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMMetricUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricUpdateRequest object is equal to o. */ + /** Return true if this RUMMetricUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,7 +115,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricUpdateRequest rumMetricUpdateRequest = (RumMetricUpdateRequest) o; + RUMMetricUpdateRequest rumMetricUpdateRequest = (RUMMetricUpdateRequest) o; return Objects.equals(this.data, rumMetricUpdateRequest.data) && Objects.equals(this.additionalProperties, rumMetricUpdateRequest.additionalProperties); } @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricUpdateRequest {\n"); + sb.append("class RUMMetricUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumMetricsResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMMetricsResponse.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumMetricsResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMMetricsResponse.java index 075bbe535f9..6ea1520a342 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumMetricsResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMMetricsResponse.java @@ -19,25 +19,25 @@ import java.util.Objects; /** All the available RUM-based metric objects. */ -@JsonPropertyOrder({RumMetricsResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMMetricsResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumMetricsResponse { +public class RUMMetricsResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = null; + private List data = null; - public RumMetricsResponse data(List data) { + public RUMMetricsResponse data(List data) { this.data = data; if (data != null) { - for (RumMetricResponseData item : data) { + for (RUMMetricResponseData item : data) { this.unparsed |= item.unparsed; } } return this; } - public RumMetricsResponse addDataItem(RumMetricResponseData dataItem) { + public RUMMetricsResponse addDataItem(RUMMetricResponseData dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -54,14 +54,14 @@ public RumMetricsResponse addDataItem(RumMetricResponseData dataItem) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumMetricResponseData item : data) { + for (RUMMetricResponseData item : data) { this.unparsed |= item.unparsed; } } @@ -79,10 +79,10 @@ public void setData(List data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumMetricsResponse + * @return RUMMetricsResponse */ @JsonAnySetter - public RumMetricsResponse putAdditionalProperty(String key, Object value) { + public RUMMetricsResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -113,7 +113,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumMetricsResponse object is equal to o. */ + /** Return true if this RUMMetricsResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -122,7 +122,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumMetricsResponse rumMetricsResponse = (RumMetricsResponse) o; + RUMMetricsResponse rumMetricsResponse = (RUMMetricsResponse) o; return Objects.equals(this.data, rumMetricsResponse.data) && Objects.equals(this.additionalProperties, rumMetricsResponse.additionalProperties); } @@ -135,7 +135,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumMetricsResponse {\n"); + sb.append("class RUMMetricsResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationJourneyRum.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationJourneyRUM.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RUMOperationJourneyRum.java rename to src/main/java/com/datadog/api/client/v2/model/RUMOperationJourneyRUM.java index 047917f665d..c368ee12222 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationJourneyRum.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationJourneyRUM.java @@ -20,18 +20,18 @@ import java.util.Objects; /** The definition of a RUM operation's journey, used to detect it from RUM events. */ -@JsonPropertyOrder({RUMOperationJourneyRum.JSON_PROPERTY_RUM_STEPS}) +@JsonPropertyOrder({RUMOperationJourneyRUM.JSON_PROPERTY_RUM_STEPS}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RUMOperationJourneyRum { +public class RUMOperationJourneyRUM { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_RUM_STEPS = "rum_steps"; private List rumSteps = new ArrayList<>(); - public RUMOperationJourneyRum() {} + public RUMOperationJourneyRUM() {} @JsonCreator - public RUMOperationJourneyRum( + public RUMOperationJourneyRUM( @JsonProperty(required = true, value = JSON_PROPERTY_RUM_STEPS) List rumSteps) { this.rumSteps = rumSteps; @@ -42,7 +42,7 @@ public RUMOperationJourneyRum( } } - public RUMOperationJourneyRum rumSteps(List rumSteps) { + public RUMOperationJourneyRUM rumSteps(List rumSteps) { this.rumSteps = rumSteps; for (RUMOperationJourneyStep item : rumSteps) { this.unparsed |= item.unparsed; @@ -50,7 +50,7 @@ public RUMOperationJourneyRum rumSteps(List rumSteps) { return this; } - public RUMOperationJourneyRum addRumStepsItem(RUMOperationJourneyStep rumStepsItem) { + public RUMOperationJourneyRUM addRumStepsItem(RUMOperationJourneyStep rumStepsItem) { this.rumSteps.add(rumStepsItem); this.unparsed |= rumStepsItem.unparsed; return this; @@ -90,10 +90,10 @@ public void setRumSteps(List rumSteps) { * * @param key The arbitrary key to set * @param value The associated value - * @return RUMOperationJourneyRum + * @return RUMOperationJourneyRUM */ @JsonAnySetter - public RUMOperationJourneyRum putAdditionalProperty(String key, Object value) { + public RUMOperationJourneyRUM putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -124,7 +124,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RUMOperationJourneyRum object is equal to o. */ + /** Return true if this RUMOperationJourneyRUM object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -133,7 +133,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RUMOperationJourneyRum rumOperationJourneyRum = (RUMOperationJourneyRum) o; + RUMOperationJourneyRUM rumOperationJourneyRum = (RUMOperationJourneyRUM) o; return Objects.equals(this.rumSteps, rumOperationJourneyRum.rumSteps) && Objects.equals(this.additionalProperties, rumOperationJourneyRum.additionalProperties); } @@ -146,7 +146,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RUMOperationJourneyRum {\n"); + sb.append("class RUMOperationJourneyRUM {\n"); sb.append(" rumSteps: ").append(toIndentedString(rumSteps)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java index df68b94614d..f064c6fd456 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java @@ -52,7 +52,7 @@ public class RUMOperationRequestAttributes { private List featureIds = null; public static final String JSON_PROPERTY_JOURNEY_RUM = "journey_rum"; - private RUMOperationJourneyRum journeyRum; + private RUMOperationJourneyRUM journeyRum; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -65,7 +65,7 @@ public RUMOperationRequestAttributes() {} @JsonCreator public RUMOperationRequestAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_JOURNEY_RUM) - RUMOperationJourneyRum journeyRum, + RUMOperationJourneyRUM journeyRum, @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name, @JsonProperty(required = true, value = JSON_PROPERTY_TAGS) List tags) { this.journeyRum = journeyRum; @@ -207,7 +207,7 @@ public void setFeatureIds(List featureIds) { this.featureIds = featureIds; } - public RUMOperationRequestAttributes journeyRum(RUMOperationJourneyRum journeyRum) { + public RUMOperationRequestAttributes journeyRum(RUMOperationJourneyRUM journeyRum) { this.journeyRum = journeyRum; this.unparsed |= journeyRum.unparsed; return this; @@ -220,11 +220,11 @@ public RUMOperationRequestAttributes journeyRum(RUMOperationJourneyRum journeyRu */ @JsonProperty(JSON_PROPERTY_JOURNEY_RUM) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RUMOperationJourneyRum getJourneyRum() { + public RUMOperationJourneyRUM getJourneyRum() { return journeyRum; } - public void setJourneyRum(RUMOperationJourneyRum journeyRum) { + public void setJourneyRum(RUMOperationJourneyRUM journeyRum) { this.journeyRum = journeyRum; if (journeyRum != null) { this.unparsed |= journeyRum.unparsed; diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java index 41af2108c8b..248e772862f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java @@ -64,7 +64,7 @@ public class RUMOperationResponseAttributes { private JsonNullable> featureIds = JsonNullable.>undefined(); public static final String JSON_PROPERTY_JOURNEY_RUM = "journey_rum"; - private RUMOperationJourneyRum journeyRum; + private RUMOperationJourneyRUM journeyRum; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -86,7 +86,7 @@ public RUMOperationResponseAttributes() {} @JsonCreator public RUMOperationResponseAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_JOURNEY_RUM) - RUMOperationJourneyRum journeyRum, + RUMOperationJourneyRUM journeyRum, @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name, @JsonProperty(required = true, value = JSON_PROPERTY_TAGS) List tags) { this.journeyRum = journeyRum; @@ -297,7 +297,7 @@ public void setFeatureIds(List featureIds) { this.featureIds = JsonNullable.>of(featureIds); } - public RUMOperationResponseAttributes journeyRum(RUMOperationJourneyRum journeyRum) { + public RUMOperationResponseAttributes journeyRum(RUMOperationJourneyRUM journeyRum) { this.journeyRum = journeyRum; this.unparsed |= journeyRum.unparsed; return this; @@ -310,11 +310,11 @@ public RUMOperationResponseAttributes journeyRum(RUMOperationJourneyRum journeyR */ @JsonProperty(JSON_PROPERTY_JOURNEY_RUM) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RUMOperationJourneyRum getJourneyRum() { + public RUMOperationJourneyRUM getJourneyRum() { return journeyRum; } - public void setJourneyRum(RUMOperationJourneyRum journeyRum) { + public void setJourneyRum(RUMOperationJourneyRUM journeyRum) { this.journeyRum = journeyRum; if (journeyRum != null) { this.unparsed |= journeyRum.unparsed; diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterAttributes.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterAttributes.java index a917ba19f4c..a84668e87bb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterAttributes.java @@ -18,29 +18,29 @@ /** The attributes of a permanent RUM retention filter. */ @JsonPropertyOrder({ - RumPermanentRetentionFilterAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, - RumPermanentRetentionFilterAttributes.JSON_PROPERTY_DESCRIPTION, - RumPermanentRetentionFilterAttributes.JSON_PROPERTY_EDITABILITY, - RumPermanentRetentionFilterAttributes.JSON_PROPERTY_NAME + RUMPermanentRetentionFilterAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, + RUMPermanentRetentionFilterAttributes.JSON_PROPERTY_DESCRIPTION, + RUMPermanentRetentionFilterAttributes.JSON_PROPERTY_EDITABILITY, + RUMPermanentRetentionFilterAttributes.JSON_PROPERTY_NAME }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterAttributes { +public class RUMPermanentRetentionFilterAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CROSS_PRODUCT_SAMPLING = "cross_product_sampling"; - private RumCrossProductSampling crossProductSampling; + private RUMCrossProductSampling crossProductSampling; public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; public static final String JSON_PROPERTY_EDITABILITY = "editability"; - private RumPermanentRetentionFilterEditability editability; + private RUMPermanentRetentionFilterEditability editability; public static final String JSON_PROPERTY_NAME = "name"; private String name; - public RumPermanentRetentionFilterAttributes crossProductSampling( - RumCrossProductSampling crossProductSampling) { + public RUMPermanentRetentionFilterAttributes crossProductSampling( + RUMCrossProductSampling crossProductSampling) { this.crossProductSampling = crossProductSampling; this.unparsed |= crossProductSampling.unparsed; return this; @@ -54,18 +54,18 @@ public RumPermanentRetentionFilterAttributes crossProductSampling( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CROSS_PRODUCT_SAMPLING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumCrossProductSampling getCrossProductSampling() { + public RUMCrossProductSampling getCrossProductSampling() { return crossProductSampling; } - public void setCrossProductSampling(RumCrossProductSampling crossProductSampling) { + public void setCrossProductSampling(RUMCrossProductSampling crossProductSampling) { this.crossProductSampling = crossProductSampling; if (crossProductSampling != null) { this.unparsed |= crossProductSampling.unparsed; } } - public RumPermanentRetentionFilterAttributes description(String description) { + public RUMPermanentRetentionFilterAttributes description(String description) { this.description = description; return this; } @@ -86,8 +86,8 @@ public void setDescription(String description) { this.description = description; } - public RumPermanentRetentionFilterAttributes editability( - RumPermanentRetentionFilterEditability editability) { + public RUMPermanentRetentionFilterAttributes editability( + RUMPermanentRetentionFilterEditability editability) { this.editability = editability; this.unparsed |= editability.unparsed; return this; @@ -101,18 +101,18 @@ public RumPermanentRetentionFilterAttributes editability( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EDITABILITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumPermanentRetentionFilterEditability getEditability() { + public RUMPermanentRetentionFilterEditability getEditability() { return editability; } - public void setEditability(RumPermanentRetentionFilterEditability editability) { + public void setEditability(RUMPermanentRetentionFilterEditability editability) { this.editability = editability; if (editability != null) { this.unparsed |= editability.unparsed; } } - public RumPermanentRetentionFilterAttributes name(String name) { + public RUMPermanentRetentionFilterAttributes name(String name) { this.name = name; return this; } @@ -145,10 +145,10 @@ public void setName(String name) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterAttributes + * @return RUMPermanentRetentionFilterAttributes */ @JsonAnySetter - public RumPermanentRetentionFilterAttributes putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFilterAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -179,7 +179,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterAttributes object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -188,8 +188,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterAttributes rumPermanentRetentionFilterAttributes = - (RumPermanentRetentionFilterAttributes) o; + RUMPermanentRetentionFilterAttributes rumPermanentRetentionFilterAttributes = + (RUMPermanentRetentionFilterAttributes) o; return Objects.equals( this.crossProductSampling, rumPermanentRetentionFilterAttributes.crossProductSampling) && Objects.equals(this.description, rumPermanentRetentionFilterAttributes.description) @@ -207,7 +207,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterAttributes {\n"); + sb.append("class RUMPermanentRetentionFilterAttributes {\n"); sb.append(" crossProductSampling: ") .append(toIndentedString(crossProductSampling)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterData.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterData.java similarity index 79% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterData.java index 182a3600149..29f043ad8d4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterData.java @@ -18,26 +18,26 @@ /** A permanent RUM retention filter. */ @JsonPropertyOrder({ - RumPermanentRetentionFilterData.JSON_PROPERTY_ATTRIBUTES, - RumPermanentRetentionFilterData.JSON_PROPERTY_ID, - RumPermanentRetentionFilterData.JSON_PROPERTY_TYPE + RUMPermanentRetentionFilterData.JSON_PROPERTY_ATTRIBUTES, + RUMPermanentRetentionFilterData.JSON_PROPERTY_ID, + RUMPermanentRetentionFilterData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterData { +public class RUMPermanentRetentionFilterData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumPermanentRetentionFilterAttributes attributes; + private RUMPermanentRetentionFilterAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; - private RumPermanentRetentionFilterID id; + private RUMPermanentRetentionFilterID id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumPermanentRetentionFilterType type = - RumPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS; + private RUMPermanentRetentionFilterType type = + RUMPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS; - public RumPermanentRetentionFilterData attributes( - RumPermanentRetentionFilterAttributes attributes) { + public RUMPermanentRetentionFilterData attributes( + RUMPermanentRetentionFilterAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -51,18 +51,18 @@ public RumPermanentRetentionFilterData attributes( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumPermanentRetentionFilterAttributes getAttributes() { + public RUMPermanentRetentionFilterAttributes getAttributes() { return attributes; } - public void setAttributes(RumPermanentRetentionFilterAttributes attributes) { + public void setAttributes(RUMPermanentRetentionFilterAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumPermanentRetentionFilterData id(RumPermanentRetentionFilterID id) { + public RUMPermanentRetentionFilterData id(RUMPermanentRetentionFilterID id) { this.id = id; this.unparsed |= !id.isValid(); return this; @@ -76,18 +76,18 @@ public RumPermanentRetentionFilterData id(RumPermanentRetentionFilterID id) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumPermanentRetentionFilterID getId() { + public RUMPermanentRetentionFilterID getId() { return id; } - public void setId(RumPermanentRetentionFilterID id) { + public void setId(RUMPermanentRetentionFilterID id) { if (!id.isValid()) { this.unparsed = true; } this.id = id; } - public RumPermanentRetentionFilterData type(RumPermanentRetentionFilterType type) { + public RUMPermanentRetentionFilterData type(RUMPermanentRetentionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -101,11 +101,11 @@ public RumPermanentRetentionFilterData type(RumPermanentRetentionFilterType type @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumPermanentRetentionFilterType getType() { + public RUMPermanentRetentionFilterType getType() { return type; } - public void setType(RumPermanentRetentionFilterType type) { + public void setType(RUMPermanentRetentionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -124,10 +124,10 @@ public void setType(RumPermanentRetentionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterData + * @return RUMPermanentRetentionFilterData */ @JsonAnySetter - public RumPermanentRetentionFilterData putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFilterData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -158,7 +158,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterData object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -167,8 +167,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterData rumPermanentRetentionFilterData = - (RumPermanentRetentionFilterData) o; + RUMPermanentRetentionFilterData rumPermanentRetentionFilterData = + (RUMPermanentRetentionFilterData) o; return Objects.equals(this.attributes, rumPermanentRetentionFilterData.attributes) && Objects.equals(this.id, rumPermanentRetentionFilterData.id) && Objects.equals(this.type, rumPermanentRetentionFilterData.type) @@ -184,7 +184,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterData {\n"); + sb.append("class RUMPermanentRetentionFilterData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterEditability.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterEditability.java similarity index 88% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterEditability.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterEditability.java index ed7b8ad430c..2535506a3f5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterEditability.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterEditability.java @@ -17,15 +17,15 @@ import java.util.Objects; /** Indicates which cross-product fields of a permanent RUM retention filter can be updated. */ -@JsonPropertyOrder({RumPermanentRetentionFilterEditability.JSON_PROPERTY_TRACE_EDITABLE}) +@JsonPropertyOrder({RUMPermanentRetentionFilterEditability.JSON_PROPERTY_TRACE_EDITABLE}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterEditability { +public class RUMPermanentRetentionFilterEditability { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_TRACE_EDITABLE = "trace_editable"; private Boolean traceEditable; - public RumPermanentRetentionFilterEditability traceEditable(Boolean traceEditable) { + public RUMPermanentRetentionFilterEditability traceEditable(Boolean traceEditable) { this.traceEditable = traceEditable; return this; } @@ -58,10 +58,10 @@ public void setTraceEditable(Boolean traceEditable) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterEditability + * @return RUMPermanentRetentionFilterEditability */ @JsonAnySetter - public RumPermanentRetentionFilterEditability putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFilterEditability putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -92,7 +92,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterEditability object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterEditability object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -101,8 +101,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterEditability rumPermanentRetentionFilterEditability = - (RumPermanentRetentionFilterEditability) o; + RUMPermanentRetentionFilterEditability rumPermanentRetentionFilterEditability = + (RUMPermanentRetentionFilterEditability) o; return Objects.equals(this.traceEditable, rumPermanentRetentionFilterEditability.traceEditable) && Objects.equals( this.additionalProperties, rumPermanentRetentionFilterEditability.additionalProperties); @@ -116,7 +116,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterEditability {\n"); + sb.append("class RUMPermanentRetentionFilterEditability {\n"); sb.append(" traceEditable: ").append(toIndentedString(traceEditable)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterID.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterID.java similarity index 58% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterID.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterID.java index 376c708c385..025b145e6fd 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterID.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterID.java @@ -19,44 +19,44 @@ import java.util.Set; /** The identifier of a permanent RUM retention filter. */ -@JsonSerialize(using = RumPermanentRetentionFilterID.RumPermanentRetentionFilterIDSerializer.class) -public class RumPermanentRetentionFilterID extends ModelEnum { +@JsonSerialize(using = RUMPermanentRetentionFilterID.RUMPermanentRetentionFilterIDSerializer.class) +public class RUMPermanentRetentionFilterID extends ModelEnum { private static final Set allowedValues = new HashSet( Arrays.asList("rum_apm_flat_sampling", "synthetics_sessions", "forced_replay_sessions")); - public static final RumPermanentRetentionFilterID RUM_APM_FLAT_SAMPLING = - new RumPermanentRetentionFilterID("rum_apm_flat_sampling"); - public static final RumPermanentRetentionFilterID SYNTHETICS_SESSIONS = - new RumPermanentRetentionFilterID("synthetics_sessions"); - public static final RumPermanentRetentionFilterID FORCED_REPLAY_SESSIONS = - new RumPermanentRetentionFilterID("forced_replay_sessions"); + public static final RUMPermanentRetentionFilterID RUM_APM_FLAT_SAMPLING = + new RUMPermanentRetentionFilterID("rum_apm_flat_sampling"); + public static final RUMPermanentRetentionFilterID SYNTHETICS_SESSIONS = + new RUMPermanentRetentionFilterID("synthetics_sessions"); + public static final RUMPermanentRetentionFilterID FORCED_REPLAY_SESSIONS = + new RUMPermanentRetentionFilterID("forced_replay_sessions"); - RumPermanentRetentionFilterID(String value) { + RUMPermanentRetentionFilterID(String value) { super(value, allowedValues); } - public static class RumPermanentRetentionFilterIDSerializer - extends StdSerializer { - public RumPermanentRetentionFilterIDSerializer(Class t) { + public static class RUMPermanentRetentionFilterIDSerializer + extends StdSerializer { + public RUMPermanentRetentionFilterIDSerializer(Class t) { super(t); } - public RumPermanentRetentionFilterIDSerializer() { + public RUMPermanentRetentionFilterIDSerializer() { this(null); } @Override public void serialize( - RumPermanentRetentionFilterID value, JsonGenerator jgen, SerializerProvider provider) + RUMPermanentRetentionFilterID value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumPermanentRetentionFilterID fromValue(String value) { - return new RumPermanentRetentionFilterID(value); + public static RUMPermanentRetentionFilterID fromValue(String value) { + return new RUMPermanentRetentionFilterID(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterResponse.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterResponse.java index ee54939bb21..8b9cea9e34b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterResponse.java @@ -17,15 +17,15 @@ import java.util.Objects; /** A permanent RUM retention filter object. */ -@JsonPropertyOrder({RumPermanentRetentionFilterResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMPermanentRetentionFilterResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterResponse { +public class RUMPermanentRetentionFilterResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumPermanentRetentionFilterData data; + private RUMPermanentRetentionFilterData data; - public RumPermanentRetentionFilterResponse data(RumPermanentRetentionFilterData data) { + public RUMPermanentRetentionFilterResponse data(RUMPermanentRetentionFilterData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -39,11 +39,11 @@ public RumPermanentRetentionFilterResponse data(RumPermanentRetentionFilterData @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumPermanentRetentionFilterData getData() { + public RUMPermanentRetentionFilterData getData() { return data; } - public void setData(RumPermanentRetentionFilterData data) { + public void setData(RUMPermanentRetentionFilterData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -62,10 +62,10 @@ public void setData(RumPermanentRetentionFilterData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterResponse + * @return RUMPermanentRetentionFilterResponse */ @JsonAnySetter - public RumPermanentRetentionFilterResponse putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFilterResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -96,7 +96,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterResponse object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -105,8 +105,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterResponse rumPermanentRetentionFilterResponse = - (RumPermanentRetentionFilterResponse) o; + RUMPermanentRetentionFilterResponse rumPermanentRetentionFilterResponse = + (RUMPermanentRetentionFilterResponse) o; return Objects.equals(this.data, rumPermanentRetentionFilterResponse.data) && Objects.equals( this.additionalProperties, rumPermanentRetentionFilterResponse.additionalProperties); @@ -120,7 +120,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterResponse {\n"); + sb.append("class RUMPermanentRetentionFilterResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterType.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterType.java similarity index 65% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterType.java index 8d5ec27d681..18e0667a8fb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterType.java @@ -22,39 +22,39 @@ * The type of the resource. The value should always be permanent_retention_filters. */ @JsonSerialize( - using = RumPermanentRetentionFilterType.RumPermanentRetentionFilterTypeSerializer.class) -public class RumPermanentRetentionFilterType extends ModelEnum { + using = RUMPermanentRetentionFilterType.RUMPermanentRetentionFilterTypeSerializer.class) +public class RUMPermanentRetentionFilterType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("permanent_retention_filters")); - public static final RumPermanentRetentionFilterType PERMANENT_RETENTION_FILTERS = - new RumPermanentRetentionFilterType("permanent_retention_filters"); + public static final RUMPermanentRetentionFilterType PERMANENT_RETENTION_FILTERS = + new RUMPermanentRetentionFilterType("permanent_retention_filters"); - RumPermanentRetentionFilterType(String value) { + RUMPermanentRetentionFilterType(String value) { super(value, allowedValues); } - public static class RumPermanentRetentionFilterTypeSerializer - extends StdSerializer { - public RumPermanentRetentionFilterTypeSerializer(Class t) { + public static class RUMPermanentRetentionFilterTypeSerializer + extends StdSerializer { + public RUMPermanentRetentionFilterTypeSerializer(Class t) { super(t); } - public RumPermanentRetentionFilterTypeSerializer() { + public RUMPermanentRetentionFilterTypeSerializer() { this(null); } @Override public void serialize( - RumPermanentRetentionFilterType value, JsonGenerator jgen, SerializerProvider provider) + RUMPermanentRetentionFilterType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumPermanentRetentionFilterType fromValue(String value) { - return new RumPermanentRetentionFilterType(value); + public static RUMPermanentRetentionFilterType fromValue(String value) { + return new RUMPermanentRetentionFilterType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateAttributes.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateAttributes.java index d3d2fe72e4c..5f878d36671 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateAttributes.java @@ -18,17 +18,17 @@ /** The configuration to update on a permanent RUM retention filter. */ @JsonPropertyOrder({ - RumPermanentRetentionFilterUpdateAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING + RUMPermanentRetentionFilterUpdateAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterUpdateAttributes { +public class RUMPermanentRetentionFilterUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CROSS_PRODUCT_SAMPLING = "cross_product_sampling"; - private RumCrossProductSamplingUpdate crossProductSampling; + private RUMCrossProductSamplingUpdate crossProductSampling; - public RumPermanentRetentionFilterUpdateAttributes crossProductSampling( - RumCrossProductSamplingUpdate crossProductSampling) { + public RUMPermanentRetentionFilterUpdateAttributes crossProductSampling( + RUMCrossProductSamplingUpdate crossProductSampling) { this.crossProductSampling = crossProductSampling; this.unparsed |= crossProductSampling.unparsed; return this; @@ -43,11 +43,11 @@ public RumPermanentRetentionFilterUpdateAttributes crossProductSampling( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CROSS_PRODUCT_SAMPLING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumCrossProductSamplingUpdate getCrossProductSampling() { + public RUMCrossProductSamplingUpdate getCrossProductSampling() { return crossProductSampling; } - public void setCrossProductSampling(RumCrossProductSamplingUpdate crossProductSampling) { + public void setCrossProductSampling(RUMCrossProductSamplingUpdate crossProductSampling) { this.crossProductSampling = crossProductSampling; if (crossProductSampling != null) { this.unparsed |= crossProductSampling.unparsed; @@ -66,10 +66,10 @@ public void setCrossProductSampling(RumCrossProductSamplingUpdate crossProductSa * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterUpdateAttributes + * @return RUMPermanentRetentionFilterUpdateAttributes */ @JsonAnySetter - public RumPermanentRetentionFilterUpdateAttributes putAdditionalProperty( + public RUMPermanentRetentionFilterUpdateAttributes putAdditionalProperty( String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); @@ -101,7 +101,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterUpdateAttributes object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -110,8 +110,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterUpdateAttributes rumPermanentRetentionFilterUpdateAttributes = - (RumPermanentRetentionFilterUpdateAttributes) o; + RUMPermanentRetentionFilterUpdateAttributes rumPermanentRetentionFilterUpdateAttributes = + (RUMPermanentRetentionFilterUpdateAttributes) o; return Objects.equals( this.crossProductSampling, rumPermanentRetentionFilterUpdateAttributes.crossProductSampling) @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterUpdateAttributes {\n"); + sb.append("class RUMPermanentRetentionFilterUpdateAttributes {\n"); sb.append(" crossProductSampling: ") .append(toIndentedString(crossProductSampling)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateData.java similarity index 77% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateData.java index 7b8433f7226..33cbfec92d7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateData.java @@ -19,33 +19,33 @@ /** The new permanent RUM retention filter configuration to update. */ @JsonPropertyOrder({ - RumPermanentRetentionFilterUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumPermanentRetentionFilterUpdateData.JSON_PROPERTY_ID, - RumPermanentRetentionFilterUpdateData.JSON_PROPERTY_TYPE + RUMPermanentRetentionFilterUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMPermanentRetentionFilterUpdateData.JSON_PROPERTY_ID, + RUMPermanentRetentionFilterUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterUpdateData { +public class RUMPermanentRetentionFilterUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumPermanentRetentionFilterUpdateAttributes attributes; + private RUMPermanentRetentionFilterUpdateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; - private RumPermanentRetentionFilterID id; + private RUMPermanentRetentionFilterID id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumPermanentRetentionFilterType type = - RumPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS; + private RUMPermanentRetentionFilterType type = + RUMPermanentRetentionFilterType.PERMANENT_RETENTION_FILTERS; - public RumPermanentRetentionFilterUpdateData() {} + public RUMPermanentRetentionFilterUpdateData() {} @JsonCreator - public RumPermanentRetentionFilterUpdateData( + public RUMPermanentRetentionFilterUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumPermanentRetentionFilterUpdateAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_ID) RumPermanentRetentionFilterID id, + RUMPermanentRetentionFilterUpdateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_ID) RUMPermanentRetentionFilterID id, @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) - RumPermanentRetentionFilterType type) { + RUMPermanentRetentionFilterType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -54,8 +54,8 @@ public RumPermanentRetentionFilterUpdateData( this.unparsed |= !type.isValid(); } - public RumPermanentRetentionFilterUpdateData attributes( - RumPermanentRetentionFilterUpdateAttributes attributes) { + public RUMPermanentRetentionFilterUpdateData attributes( + RUMPermanentRetentionFilterUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -68,18 +68,18 @@ public RumPermanentRetentionFilterUpdateData attributes( */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumPermanentRetentionFilterUpdateAttributes getAttributes() { + public RUMPermanentRetentionFilterUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumPermanentRetentionFilterUpdateAttributes attributes) { + public void setAttributes(RUMPermanentRetentionFilterUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumPermanentRetentionFilterUpdateData id(RumPermanentRetentionFilterID id) { + public RUMPermanentRetentionFilterUpdateData id(RUMPermanentRetentionFilterID id) { this.id = id; this.unparsed |= !id.isValid(); return this; @@ -92,18 +92,18 @@ public RumPermanentRetentionFilterUpdateData id(RumPermanentRetentionFilterID id */ @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumPermanentRetentionFilterID getId() { + public RUMPermanentRetentionFilterID getId() { return id; } - public void setId(RumPermanentRetentionFilterID id) { + public void setId(RUMPermanentRetentionFilterID id) { if (!id.isValid()) { this.unparsed = true; } this.id = id; } - public RumPermanentRetentionFilterUpdateData type(RumPermanentRetentionFilterType type) { + public RUMPermanentRetentionFilterUpdateData type(RUMPermanentRetentionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -116,11 +116,11 @@ public RumPermanentRetentionFilterUpdateData type(RumPermanentRetentionFilterTyp */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumPermanentRetentionFilterType getType() { + public RUMPermanentRetentionFilterType getType() { return type; } - public void setType(RumPermanentRetentionFilterType type) { + public void setType(RUMPermanentRetentionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -139,10 +139,10 @@ public void setType(RumPermanentRetentionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterUpdateData + * @return RUMPermanentRetentionFilterUpdateData */ @JsonAnySetter - public RumPermanentRetentionFilterUpdateData putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFilterUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -173,7 +173,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterUpdateData object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -182,8 +182,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterUpdateData rumPermanentRetentionFilterUpdateData = - (RumPermanentRetentionFilterUpdateData) o; + RUMPermanentRetentionFilterUpdateData rumPermanentRetentionFilterUpdateData = + (RUMPermanentRetentionFilterUpdateData) o; return Objects.equals(this.attributes, rumPermanentRetentionFilterUpdateData.attributes) && Objects.equals(this.id, rumPermanentRetentionFilterUpdateData.id) && Objects.equals(this.type, rumPermanentRetentionFilterUpdateData.type) @@ -199,7 +199,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterUpdateData {\n"); + sb.append("class RUMPermanentRetentionFilterUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateRequest.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateRequest.java index 99fafc221f0..b4c963186cf 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFilterUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFilterUpdateRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** The permanent RUM retention filter body to update. */ -@JsonPropertyOrder({RumPermanentRetentionFilterUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMPermanentRetentionFilterUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFilterUpdateRequest { +public class RUMPermanentRetentionFilterUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumPermanentRetentionFilterUpdateData data; + private RUMPermanentRetentionFilterUpdateData data; - public RumPermanentRetentionFilterUpdateRequest() {} + public RUMPermanentRetentionFilterUpdateRequest() {} @JsonCreator - public RumPermanentRetentionFilterUpdateRequest( + public RUMPermanentRetentionFilterUpdateRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumPermanentRetentionFilterUpdateData data) { + RUMPermanentRetentionFilterUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumPermanentRetentionFilterUpdateRequest data(RumPermanentRetentionFilterUpdateData data) { + public RUMPermanentRetentionFilterUpdateRequest data(RUMPermanentRetentionFilterUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumPermanentRetentionFilterUpdateRequest data(RumPermanentRetentionFilter */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumPermanentRetentionFilterUpdateData getData() { + public RUMPermanentRetentionFilterUpdateData getData() { return data; } - public void setData(RumPermanentRetentionFilterUpdateData data) { + public void setData(RUMPermanentRetentionFilterUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumPermanentRetentionFilterUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFilterUpdateRequest + * @return RUMPermanentRetentionFilterUpdateRequest */ @JsonAnySetter - public RumPermanentRetentionFilterUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFilterUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFilterUpdateRequest object is equal to o. */ + /** Return true if this RUMPermanentRetentionFilterUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFilterUpdateRequest rumPermanentRetentionFilterUpdateRequest = - (RumPermanentRetentionFilterUpdateRequest) o; + RUMPermanentRetentionFilterUpdateRequest rumPermanentRetentionFilterUpdateRequest = + (RUMPermanentRetentionFilterUpdateRequest) o; return Objects.equals(this.data, rumPermanentRetentionFilterUpdateRequest.data) && Objects.equals( this.additionalProperties, @@ -131,7 +131,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFilterUpdateRequest {\n"); + sb.append("class RUMPermanentRetentionFilterUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFiltersResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFiltersResponse.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFiltersResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFiltersResponse.java index a7745b5a67a..2a4fe821181 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumPermanentRetentionFiltersResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMPermanentRetentionFiltersResponse.java @@ -19,26 +19,26 @@ import java.util.Objects; /** All permanent RUM retention filters for a RUM application. */ -@JsonPropertyOrder({RumPermanentRetentionFiltersResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMPermanentRetentionFiltersResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumPermanentRetentionFiltersResponse { +public class RUMPermanentRetentionFiltersResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = null; + private List data = null; - public RumPermanentRetentionFiltersResponse data(List data) { + public RUMPermanentRetentionFiltersResponse data(List data) { this.data = data; if (data != null) { - for (RumPermanentRetentionFilterData item : data) { + for (RUMPermanentRetentionFilterData item : data) { this.unparsed |= item.unparsed; } } return this; } - public RumPermanentRetentionFiltersResponse addDataItem( - RumPermanentRetentionFilterData dataItem) { + public RUMPermanentRetentionFiltersResponse addDataItem( + RUMPermanentRetentionFilterData dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -55,14 +55,14 @@ public RumPermanentRetentionFiltersResponse addDataItem( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumPermanentRetentionFilterData item : data) { + for (RUMPermanentRetentionFilterData item : data) { this.unparsed |= item.unparsed; } } @@ -80,10 +80,10 @@ public void setData(List data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumPermanentRetentionFiltersResponse + * @return RUMPermanentRetentionFiltersResponse */ @JsonAnySetter - public RumPermanentRetentionFiltersResponse putAdditionalProperty(String key, Object value) { + public RUMPermanentRetentionFiltersResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -114,7 +114,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumPermanentRetentionFiltersResponse object is equal to o. */ + /** Return true if this RUMPermanentRetentionFiltersResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -123,8 +123,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumPermanentRetentionFiltersResponse rumPermanentRetentionFiltersResponse = - (RumPermanentRetentionFiltersResponse) o; + RUMPermanentRetentionFiltersResponse rumPermanentRetentionFiltersResponse = + (RUMPermanentRetentionFiltersResponse) o; return Objects.equals(this.data, rumPermanentRetentionFiltersResponse.data) && Objects.equals( this.additionalProperties, rumPermanentRetentionFiltersResponse.additionalProperties); @@ -138,7 +138,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumPermanentRetentionFiltersResponse {\n"); + sb.append("class RUMPermanentRetentionFiltersResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveredSession.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveredSession.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveredSession.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveredSession.java index 386809dd5c8..42fc2be7b00 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveredSession.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveredSession.java @@ -20,15 +20,15 @@ /** Progress for one targeted session. */ @JsonPropertyOrder({ - RumRecoveredSession.JSON_PROPERTY_APPLICATION_ID, - RumRecoveredSession.JSON_PROPERTY_ERROR_MESSAGE, - RumRecoveredSession.JSON_PROPERTY_EVENTS_RECOVERED, - RumRecoveredSession.JSON_PROPERTY_SESSION_ID, - RumRecoveredSession.JSON_PROPERTY_STATUS + RUMRecoveredSession.JSON_PROPERTY_APPLICATION_ID, + RUMRecoveredSession.JSON_PROPERTY_ERROR_MESSAGE, + RUMRecoveredSession.JSON_PROPERTY_EVENTS_RECOVERED, + RUMRecoveredSession.JSON_PROPERTY_SESSION_ID, + RUMRecoveredSession.JSON_PROPERTY_STATUS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveredSession { +public class RUMRecoveredSession { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_APPLICATION_ID = "application_id"; private UUID applicationId; @@ -43,17 +43,17 @@ public class RumRecoveredSession { private UUID sessionId; public static final String JSON_PROPERTY_STATUS = "status"; - private RumRecoverySessionStatus status; + private RUMRecoverySessionStatus status; - public RumRecoveredSession() {} + public RUMRecoveredSession() {} @JsonCreator - public RumRecoveredSession( + public RUMRecoveredSession( @JsonProperty(required = true, value = JSON_PROPERTY_APPLICATION_ID) UUID applicationId, @JsonProperty(required = true, value = JSON_PROPERTY_EVENTS_RECOVERED) Long eventsRecovered, @JsonProperty(required = true, value = JSON_PROPERTY_SESSION_ID) UUID sessionId, @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) - RumRecoverySessionStatus status) { + RUMRecoverySessionStatus status) { this.applicationId = applicationId; this.eventsRecovered = eventsRecovered; this.sessionId = sessionId; @@ -61,7 +61,7 @@ public RumRecoveredSession( this.unparsed |= !status.isValid(); } - public RumRecoveredSession applicationId(UUID applicationId) { + public RUMRecoveredSession applicationId(UUID applicationId) { this.applicationId = applicationId; return this; } @@ -81,7 +81,7 @@ public void setApplicationId(UUID applicationId) { this.applicationId = applicationId; } - public RumRecoveredSession errorMessage(String errorMessage) { + public RUMRecoveredSession errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -102,7 +102,7 @@ public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public RumRecoveredSession eventsRecovered(Long eventsRecovered) { + public RUMRecoveredSession eventsRecovered(Long eventsRecovered) { this.eventsRecovered = eventsRecovered; return this; } @@ -122,7 +122,7 @@ public void setEventsRecovered(Long eventsRecovered) { this.eventsRecovered = eventsRecovered; } - public RumRecoveredSession sessionId(UUID sessionId) { + public RUMRecoveredSession sessionId(UUID sessionId) { this.sessionId = sessionId; return this; } @@ -142,7 +142,7 @@ public void setSessionId(UUID sessionId) { this.sessionId = sessionId; } - public RumRecoveredSession status(RumRecoverySessionStatus status) { + public RUMRecoveredSession status(RUMRecoverySessionStatus status) { this.status = status; this.unparsed |= !status.isValid(); return this; @@ -156,11 +156,11 @@ public RumRecoveredSession status(RumRecoverySessionStatus status) { */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoverySessionStatus getStatus() { + public RUMRecoverySessionStatus getStatus() { return status; } - public void setStatus(RumRecoverySessionStatus status) { + public void setStatus(RUMRecoverySessionStatus status) { if (!status.isValid()) { this.unparsed = true; } @@ -179,10 +179,10 @@ public void setStatus(RumRecoverySessionStatus status) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveredSession + * @return RUMRecoveredSession */ @JsonAnySetter - public RumRecoveredSession putAdditionalProperty(String key, Object value) { + public RUMRecoveredSession putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -213,7 +213,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveredSession object is equal to o. */ + /** Return true if this RUMRecoveredSession object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -222,7 +222,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveredSession rumRecoveredSession = (RumRecoveredSession) o; + RUMRecoveredSession rumRecoveredSession = (RUMRecoveredSession) o; return Objects.equals(this.applicationId, rumRecoveredSession.applicationId) && Objects.equals(this.errorMessage, rumRecoveredSession.errorMessage) && Objects.equals(this.eventsRecovered, rumRecoveredSession.eventsRecovered) @@ -240,7 +240,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveredSession {\n"); + sb.append("class RUMRecoveredSession {\n"); sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n"); sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n"); sb.append(" eventsRecovered: ").append(toIndentedString(eventsRecovered)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchCreateAttributes.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchCreateAttributes.java index 6d2554f645c..e61285f0988 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchCreateAttributes.java @@ -23,15 +23,15 @@ * configured archive retention. */ @JsonPropertyOrder({ - RumRecoveryBatchCreateAttributes.JSON_PROPERTY_ESTIMATED_COUNT, - RumRecoveryBatchCreateAttributes.JSON_PROPERTY_FROM, - RumRecoveryBatchCreateAttributes.JSON_PROPERTY_QUERY, - RumRecoveryBatchCreateAttributes.JSON_PROPERTY_REQUEST_TYPE, - RumRecoveryBatchCreateAttributes.JSON_PROPERTY_TO + RUMRecoveryBatchCreateAttributes.JSON_PROPERTY_ESTIMATED_COUNT, + RUMRecoveryBatchCreateAttributes.JSON_PROPERTY_FROM, + RUMRecoveryBatchCreateAttributes.JSON_PROPERTY_QUERY, + RUMRecoveryBatchCreateAttributes.JSON_PROPERTY_REQUEST_TYPE, + RUMRecoveryBatchCreateAttributes.JSON_PROPERTY_TO }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryBatchCreateAttributes { +public class RUMRecoveryBatchCreateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ESTIMATED_COUNT = "estimated_count"; private Long estimatedCount; @@ -43,19 +43,19 @@ public class RumRecoveryBatchCreateAttributes { private String query; public static final String JSON_PROPERTY_REQUEST_TYPE = "request_type"; - private RumRecoveryBatchRequestType requestType; + private RUMRecoveryBatchRequestType requestType; public static final String JSON_PROPERTY_TO = "to"; private Long to; - public RumRecoveryBatchCreateAttributes() {} + public RUMRecoveryBatchCreateAttributes() {} @JsonCreator - public RumRecoveryBatchCreateAttributes( + public RUMRecoveryBatchCreateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_FROM) Long from, @JsonProperty(required = true, value = JSON_PROPERTY_QUERY) String query, @JsonProperty(required = true, value = JSON_PROPERTY_REQUEST_TYPE) - RumRecoveryBatchRequestType requestType, + RUMRecoveryBatchRequestType requestType, @JsonProperty(required = true, value = JSON_PROPERTY_TO) Long to) { this.from = from; this.query = query; @@ -64,7 +64,7 @@ public RumRecoveryBatchCreateAttributes( this.to = to; } - public RumRecoveryBatchCreateAttributes estimatedCount(Long estimatedCount) { + public RUMRecoveryBatchCreateAttributes estimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; return this; } @@ -86,7 +86,7 @@ public void setEstimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; } - public RumRecoveryBatchCreateAttributes from(Long from) { + public RUMRecoveryBatchCreateAttributes from(Long from) { this.from = from; return this; } @@ -106,7 +106,7 @@ public void setFrom(Long from) { this.from = from; } - public RumRecoveryBatchCreateAttributes query(String query) { + public RUMRecoveryBatchCreateAttributes query(String query) { this.query = query; return this; } @@ -126,7 +126,7 @@ public void setQuery(String query) { this.query = query; } - public RumRecoveryBatchCreateAttributes requestType(RumRecoveryBatchRequestType requestType) { + public RUMRecoveryBatchCreateAttributes requestType(RUMRecoveryBatchRequestType requestType) { this.requestType = requestType; this.unparsed |= !requestType.isValid(); return this; @@ -139,18 +139,18 @@ public RumRecoveryBatchCreateAttributes requestType(RumRecoveryBatchRequestType */ @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryBatchRequestType getRequestType() { + public RUMRecoveryBatchRequestType getRequestType() { return requestType; } - public void setRequestType(RumRecoveryBatchRequestType requestType) { + public void setRequestType(RUMRecoveryBatchRequestType requestType) { if (!requestType.isValid()) { this.unparsed = true; } this.requestType = requestType; } - public RumRecoveryBatchCreateAttributes to(Long to) { + public RUMRecoveryBatchCreateAttributes to(Long to) { this.to = to; return this; } @@ -182,10 +182,10 @@ public void setTo(Long to) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryBatchCreateAttributes + * @return RUMRecoveryBatchCreateAttributes */ @JsonAnySetter - public RumRecoveryBatchCreateAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryBatchCreateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -216,7 +216,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryBatchCreateAttributes object is equal to o. */ + /** Return true if this RUMRecoveryBatchCreateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -225,8 +225,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryBatchCreateAttributes rumRecoveryBatchCreateAttributes = - (RumRecoveryBatchCreateAttributes) o; + RUMRecoveryBatchCreateAttributes rumRecoveryBatchCreateAttributes = + (RUMRecoveryBatchCreateAttributes) o; return Objects.equals(this.estimatedCount, rumRecoveryBatchCreateAttributes.estimatedCount) && Objects.equals(this.from, rumRecoveryBatchCreateAttributes.from) && Objects.equals(this.query, rumRecoveryBatchCreateAttributes.query) @@ -244,7 +244,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryBatchCreateAttributes {\n"); + sb.append("class RUMRecoveryBatchCreateAttributes {\n"); sb.append(" estimatedCount: ").append(toIndentedString(estimatedCount)).append("\n"); sb.append(" from: ").append(toIndentedString(from)).append("\n"); sb.append(" query: ").append(toIndentedString(query)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListAttributes.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListAttributes.java index eff823d2894..7814e29db77 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListAttributes.java @@ -22,30 +22,30 @@ * Batch recovery progress. Status updates can appear here before they appear in request details. */ @JsonPropertyOrder({ - RumRecoveryBatchListAttributes.JSON_PROPERTY_CREATED_AT, - RumRecoveryBatchListAttributes.JSON_PROPERTY_DISCOVERY_STATUS, - RumRecoveryBatchListAttributes.JSON_PROPERTY_ESTIMATED_COUNT, - RumRecoveryBatchListAttributes.JSON_PROPERTY_FROM, - RumRecoveryBatchListAttributes.JSON_PROPERTY_QUERY, - RumRecoveryBatchListAttributes.JSON_PROPERTY_SESSIONS_DISCOVERED, - RumRecoveryBatchListAttributes.JSON_PROPERTY_SESSIONS_FAILED, - RumRecoveryBatchListAttributes.JSON_PROPERTY_SESSIONS_PROCESSED, - RumRecoveryBatchListAttributes.JSON_PROPERTY_SLICES_COMPLETED, - RumRecoveryBatchListAttributes.JSON_PROPERTY_SLICES_FAILED, - RumRecoveryBatchListAttributes.JSON_PROPERTY_STATUS, - RumRecoveryBatchListAttributes.JSON_PROPERTY_TO, - RumRecoveryBatchListAttributes.JSON_PROPERTY_TOTAL_SLICES, - RumRecoveryBatchListAttributes.JSON_PROPERTY_UPDATED_AT + RUMRecoveryBatchListAttributes.JSON_PROPERTY_CREATED_AT, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_DISCOVERY_STATUS, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_ESTIMATED_COUNT, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_FROM, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_QUERY, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_SESSIONS_DISCOVERED, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_SESSIONS_FAILED, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_SESSIONS_PROCESSED, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_SLICES_COMPLETED, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_SLICES_FAILED, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_STATUS, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_TO, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_TOTAL_SLICES, + RUMRecoveryBatchListAttributes.JSON_PROPERTY_UPDATED_AT }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryBatchListAttributes { +public class RUMRecoveryBatchListAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CREATED_AT = "created_at"; private OffsetDateTime createdAt; public static final String JSON_PROPERTY_DISCOVERY_STATUS = "discovery_status"; - private RumRecoveryDiscoveryStatus discoveryStatus; + private RUMRecoveryDiscoveryStatus discoveryStatus; public static final String JSON_PROPERTY_ESTIMATED_COUNT = "estimated_count"; private Long estimatedCount; @@ -72,7 +72,7 @@ public class RumRecoveryBatchListAttributes { private Long slicesFailed; public static final String JSON_PROPERTY_STATUS = "status"; - private RumRecoveryRequestStatus status; + private RUMRecoveryRequestStatus status; public static final String JSON_PROPERTY_TO = "to"; private Long to; @@ -83,13 +83,13 @@ public class RumRecoveryBatchListAttributes { public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; private OffsetDateTime updatedAt; - public RumRecoveryBatchListAttributes() {} + public RUMRecoveryBatchListAttributes() {} @JsonCreator - public RumRecoveryBatchListAttributes( + public RUMRecoveryBatchListAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, @JsonProperty(required = true, value = JSON_PROPERTY_DISCOVERY_STATUS) - RumRecoveryDiscoveryStatus discoveryStatus, + RUMRecoveryDiscoveryStatus discoveryStatus, @JsonProperty(required = true, value = JSON_PROPERTY_FROM) Long from, @JsonProperty(required = true, value = JSON_PROPERTY_QUERY) String query, @JsonProperty(required = true, value = JSON_PROPERTY_SESSIONS_DISCOVERED) @@ -99,7 +99,7 @@ public RumRecoveryBatchListAttributes( Long sessionsProcessed, @JsonProperty(required = true, value = JSON_PROPERTY_SLICES_COMPLETED) Long slicesCompleted, @JsonProperty(required = true, value = JSON_PROPERTY_SLICES_FAILED) Long slicesFailed, - @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) RumRecoveryRequestStatus status, + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) RUMRecoveryRequestStatus status, @JsonProperty(required = true, value = JSON_PROPERTY_TO) Long to, @JsonProperty(required = true, value = JSON_PROPERTY_TOTAL_SLICES) Long totalSlices, @JsonProperty(required = true, value = JSON_PROPERTY_UPDATED_AT) OffsetDateTime updatedAt) { @@ -120,7 +120,7 @@ public RumRecoveryBatchListAttributes( this.updatedAt = updatedAt; } - public RumRecoveryBatchListAttributes createdAt(OffsetDateTime createdAt) { + public RUMRecoveryBatchListAttributes createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } @@ -140,8 +140,8 @@ public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - public RumRecoveryBatchListAttributes discoveryStatus( - RumRecoveryDiscoveryStatus discoveryStatus) { + public RUMRecoveryBatchListAttributes discoveryStatus( + RUMRecoveryDiscoveryStatus discoveryStatus) { this.discoveryStatus = discoveryStatus; this.unparsed |= !discoveryStatus.isValid(); return this; @@ -154,18 +154,18 @@ public RumRecoveryBatchListAttributes discoveryStatus( */ @JsonProperty(JSON_PROPERTY_DISCOVERY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryDiscoveryStatus getDiscoveryStatus() { + public RUMRecoveryDiscoveryStatus getDiscoveryStatus() { return discoveryStatus; } - public void setDiscoveryStatus(RumRecoveryDiscoveryStatus discoveryStatus) { + public void setDiscoveryStatus(RUMRecoveryDiscoveryStatus discoveryStatus) { if (!discoveryStatus.isValid()) { this.unparsed = true; } this.discoveryStatus = discoveryStatus; } - public RumRecoveryBatchListAttributes estimatedCount(Long estimatedCount) { + public RUMRecoveryBatchListAttributes estimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; return this; } @@ -187,7 +187,7 @@ public void setEstimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; } - public RumRecoveryBatchListAttributes from(Long from) { + public RUMRecoveryBatchListAttributes from(Long from) { this.from = from; return this; } @@ -207,7 +207,7 @@ public void setFrom(Long from) { this.from = from; } - public RumRecoveryBatchListAttributes query(String query) { + public RUMRecoveryBatchListAttributes query(String query) { this.query = query; return this; } @@ -227,7 +227,7 @@ public void setQuery(String query) { this.query = query; } - public RumRecoveryBatchListAttributes sessionsDiscovered(Long sessionsDiscovered) { + public RUMRecoveryBatchListAttributes sessionsDiscovered(Long sessionsDiscovered) { this.sessionsDiscovered = sessionsDiscovered; return this; } @@ -247,7 +247,7 @@ public void setSessionsDiscovered(Long sessionsDiscovered) { this.sessionsDiscovered = sessionsDiscovered; } - public RumRecoveryBatchListAttributes sessionsFailed(Long sessionsFailed) { + public RUMRecoveryBatchListAttributes sessionsFailed(Long sessionsFailed) { this.sessionsFailed = sessionsFailed; return this; } @@ -267,7 +267,7 @@ public void setSessionsFailed(Long sessionsFailed) { this.sessionsFailed = sessionsFailed; } - public RumRecoveryBatchListAttributes sessionsProcessed(Long sessionsProcessed) { + public RUMRecoveryBatchListAttributes sessionsProcessed(Long sessionsProcessed) { this.sessionsProcessed = sessionsProcessed; return this; } @@ -287,7 +287,7 @@ public void setSessionsProcessed(Long sessionsProcessed) { this.sessionsProcessed = sessionsProcessed; } - public RumRecoveryBatchListAttributes slicesCompleted(Long slicesCompleted) { + public RUMRecoveryBatchListAttributes slicesCompleted(Long slicesCompleted) { this.slicesCompleted = slicesCompleted; return this; } @@ -307,7 +307,7 @@ public void setSlicesCompleted(Long slicesCompleted) { this.slicesCompleted = slicesCompleted; } - public RumRecoveryBatchListAttributes slicesFailed(Long slicesFailed) { + public RUMRecoveryBatchListAttributes slicesFailed(Long slicesFailed) { this.slicesFailed = slicesFailed; return this; } @@ -327,7 +327,7 @@ public void setSlicesFailed(Long slicesFailed) { this.slicesFailed = slicesFailed; } - public RumRecoveryBatchListAttributes status(RumRecoveryRequestStatus status) { + public RUMRecoveryBatchListAttributes status(RUMRecoveryRequestStatus status) { this.status = status; this.unparsed |= !status.isValid(); return this; @@ -340,18 +340,18 @@ public RumRecoveryBatchListAttributes status(RumRecoveryRequestStatus status) { */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestStatus getStatus() { + public RUMRecoveryRequestStatus getStatus() { return status; } - public void setStatus(RumRecoveryRequestStatus status) { + public void setStatus(RUMRecoveryRequestStatus status) { if (!status.isValid()) { this.unparsed = true; } this.status = status; } - public RumRecoveryBatchListAttributes to(Long to) { + public RUMRecoveryBatchListAttributes to(Long to) { this.to = to; return this; } @@ -371,7 +371,7 @@ public void setTo(Long to) { this.to = to; } - public RumRecoveryBatchListAttributes totalSlices(Long totalSlices) { + public RUMRecoveryBatchListAttributes totalSlices(Long totalSlices) { this.totalSlices = totalSlices; return this; } @@ -391,7 +391,7 @@ public void setTotalSlices(Long totalSlices) { this.totalSlices = totalSlices; } - public RumRecoveryBatchListAttributes updatedAt(OffsetDateTime updatedAt) { + public RUMRecoveryBatchListAttributes updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } @@ -423,10 +423,10 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryBatchListAttributes + * @return RUMRecoveryBatchListAttributes */ @JsonAnySetter - public RumRecoveryBatchListAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryBatchListAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -457,7 +457,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryBatchListAttributes object is equal to o. */ + /** Return true if this RUMRecoveryBatchListAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -466,8 +466,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryBatchListAttributes rumRecoveryBatchListAttributes = - (RumRecoveryBatchListAttributes) o; + RUMRecoveryBatchListAttributes rumRecoveryBatchListAttributes = + (RUMRecoveryBatchListAttributes) o; return Objects.equals(this.createdAt, rumRecoveryBatchListAttributes.createdAt) && Objects.equals(this.discoveryStatus, rumRecoveryBatchListAttributes.discoveryStatus) && Objects.equals(this.estimatedCount, rumRecoveryBatchListAttributes.estimatedCount) @@ -510,7 +510,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryBatchListAttributes {\n"); + sb.append("class RUMRecoveryBatchListAttributes {\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" discoveryStatus: ").append(toIndentedString(discoveryStatus)).append("\n"); sb.append(" estimatedCount: ").append(toIndentedString(estimatedCount)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListData.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListData.java index 635f3ac0af4..eff3822aa46 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListData.java @@ -19,32 +19,32 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryBatchListData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryBatchListData.JSON_PROPERTY_ID, - RumRecoveryBatchListData.JSON_PROPERTY_TYPE + RUMRecoveryBatchListData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryBatchListData.JSON_PROPERTY_ID, + RUMRecoveryBatchListData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryBatchListData { +public class RUMRecoveryBatchListData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryBatchListAttributes attributes; + private RUMRecoveryBatchListAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRecoveryBatchListDataType type; + private RUMRecoveryBatchListDataType type; - public RumRecoveryBatchListData() {} + public RUMRecoveryBatchListData() {} @JsonCreator - public RumRecoveryBatchListData( + public RUMRecoveryBatchListData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryBatchListAttributes attributes, + RUMRecoveryBatchListAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) - RumRecoveryBatchListDataType type) { + RUMRecoveryBatchListDataType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -52,7 +52,7 @@ public RumRecoveryBatchListData( this.unparsed |= !type.isValid(); } - public RumRecoveryBatchListData attributes(RumRecoveryBatchListAttributes attributes) { + public RUMRecoveryBatchListData attributes(RUMRecoveryBatchListAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumRecoveryBatchListData attributes(RumRecoveryBatchListAttributes attrib */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryBatchListAttributes getAttributes() { + public RUMRecoveryBatchListAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryBatchListAttributes attributes) { + public void setAttributes(RUMRecoveryBatchListAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryBatchListData id(String id) { + public RUMRecoveryBatchListData id(String id) { this.id = id; return this; } @@ -96,7 +96,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryBatchListData type(RumRecoveryBatchListDataType type) { + public RUMRecoveryBatchListData type(RUMRecoveryBatchListDataType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -109,11 +109,11 @@ public RumRecoveryBatchListData type(RumRecoveryBatchListDataType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryBatchListDataType getType() { + public RUMRecoveryBatchListDataType getType() { return type; } - public void setType(RumRecoveryBatchListDataType type) { + public void setType(RUMRecoveryBatchListDataType type) { if (!type.isValid()) { this.unparsed = true; } @@ -132,10 +132,10 @@ public void setType(RumRecoveryBatchListDataType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryBatchListData + * @return RUMRecoveryBatchListData */ @JsonAnySetter - public RumRecoveryBatchListData putAdditionalProperty(String key, Object value) { + public RUMRecoveryBatchListData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -166,7 +166,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryBatchListData object is equal to o. */ + /** Return true if this RUMRecoveryBatchListData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -175,7 +175,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryBatchListData rumRecoveryBatchListData = (RumRecoveryBatchListData) o; + RUMRecoveryBatchListData rumRecoveryBatchListData = (RUMRecoveryBatchListData) o; return Objects.equals(this.attributes, rumRecoveryBatchListData.attributes) && Objects.equals(this.id, rumRecoveryBatchListData.id) && Objects.equals(this.type, rumRecoveryBatchListData.type) @@ -190,7 +190,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryBatchListData {\n"); + sb.append("class RUMRecoveryBatchListData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListDataType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListDataType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListDataType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListDataType.java index a9ce095f565..f16b4939152 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListDataType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListDataType.java @@ -19,39 +19,39 @@ import java.util.Set; /** JSON:API resource type. */ -@JsonSerialize(using = RumRecoveryBatchListDataType.RumRecoveryBatchListDataTypeSerializer.class) -public class RumRecoveryBatchListDataType extends ModelEnum { +@JsonSerialize(using = RUMRecoveryBatchListDataType.RUMRecoveryBatchListDataTypeSerializer.class) +public class RUMRecoveryBatchListDataType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_batch_recovery_request")); - public static final RumRecoveryBatchListDataType RUM_BATCH_RECOVERY_REQUEST = - new RumRecoveryBatchListDataType("rum_batch_recovery_request"); + public static final RUMRecoveryBatchListDataType RUM_BATCH_RECOVERY_REQUEST = + new RUMRecoveryBatchListDataType("rum_batch_recovery_request"); - RumRecoveryBatchListDataType(String value) { + RUMRecoveryBatchListDataType(String value) { super(value, allowedValues); } - public static class RumRecoveryBatchListDataTypeSerializer - extends StdSerializer { - public RumRecoveryBatchListDataTypeSerializer(Class t) { + public static class RUMRecoveryBatchListDataTypeSerializer + extends StdSerializer { + public RUMRecoveryBatchListDataTypeSerializer(Class t) { super(t); } - public RumRecoveryBatchListDataTypeSerializer() { + public RUMRecoveryBatchListDataTypeSerializer() { this(null); } @Override public void serialize( - RumRecoveryBatchListDataType value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryBatchListDataType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryBatchListDataType fromValue(String value) { - return new RumRecoveryBatchListDataType(value); + public static RUMRecoveryBatchListDataType fromValue(String value) { + return new RUMRecoveryBatchListDataType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListMeta.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListMeta.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListMeta.java index c8c5a6ace0f..7c5088dbf5f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListMeta.java @@ -17,15 +17,15 @@ import java.util.Objects; /** Batch-list pagination metadata. */ -@JsonPropertyOrder({RumRecoveryBatchListMeta.JSON_PROPERTY_NEXT_CURSOR}) +@JsonPropertyOrder({RUMRecoveryBatchListMeta.JSON_PROPERTY_NEXT_CURSOR}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryBatchListMeta { +public class RUMRecoveryBatchListMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_NEXT_CURSOR = "next_cursor"; private String nextCursor; - public RumRecoveryBatchListMeta nextCursor(String nextCursor) { + public RUMRecoveryBatchListMeta nextCursor(String nextCursor) { this.nextCursor = nextCursor; return this; } @@ -58,10 +58,10 @@ public void setNextCursor(String nextCursor) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryBatchListMeta + * @return RUMRecoveryBatchListMeta */ @JsonAnySetter - public RumRecoveryBatchListMeta putAdditionalProperty(String key, Object value) { + public RUMRecoveryBatchListMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -92,7 +92,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryBatchListMeta object is equal to o. */ + /** Return true if this RUMRecoveryBatchListMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -101,7 +101,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryBatchListMeta rumRecoveryBatchListMeta = (RumRecoveryBatchListMeta) o; + RUMRecoveryBatchListMeta rumRecoveryBatchListMeta = (RUMRecoveryBatchListMeta) o; return Objects.equals(this.nextCursor, rumRecoveryBatchListMeta.nextCursor) && Objects.equals(this.additionalProperties, rumRecoveryBatchListMeta.additionalProperties); } @@ -114,7 +114,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryBatchListMeta {\n"); + sb.append("class RUMRecoveryBatchListMeta {\n"); sb.append(" nextCursor: ").append(toIndentedString(nextCursor)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListResponse.java similarity index 79% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListResponse.java index 38b1c3f4508..f01d3493316 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchListResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchListResponse.java @@ -21,43 +21,43 @@ /** JSON:API document. */ @JsonPropertyOrder({ - RumRecoveryBatchListResponse.JSON_PROPERTY_DATA, - RumRecoveryBatchListResponse.JSON_PROPERTY_META + RUMRecoveryBatchListResponse.JSON_PROPERTY_DATA, + RUMRecoveryBatchListResponse.JSON_PROPERTY_META }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryBatchListResponse { +public class RUMRecoveryBatchListResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = new ArrayList<>(); + private List data = new ArrayList<>(); public static final String JSON_PROPERTY_META = "meta"; - private RumRecoveryBatchListMeta meta; + private RUMRecoveryBatchListMeta meta; - public RumRecoveryBatchListResponse() {} + public RUMRecoveryBatchListResponse() {} @JsonCreator - public RumRecoveryBatchListResponse( + public RUMRecoveryBatchListResponse( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - List data, - @JsonProperty(required = true, value = JSON_PROPERTY_META) RumRecoveryBatchListMeta meta) { + List data, + @JsonProperty(required = true, value = JSON_PROPERTY_META) RUMRecoveryBatchListMeta meta) { this.data = data; - for (RumRecoveryBatchListData item : data) { + for (RUMRecoveryBatchListData item : data) { this.unparsed |= item.unparsed; } this.meta = meta; this.unparsed |= meta.unparsed; } - public RumRecoveryBatchListResponse data(List data) { + public RUMRecoveryBatchListResponse data(List data) { this.data = data; - for (RumRecoveryBatchListData item : data) { + for (RUMRecoveryBatchListData item : data) { this.unparsed |= item.unparsed; } return this; } - public RumRecoveryBatchListResponse addDataItem(RumRecoveryBatchListData dataItem) { + public RUMRecoveryBatchListResponse addDataItem(RUMRecoveryBatchListData dataItem) { this.data.add(dataItem); this.unparsed |= dataItem.unparsed; return this; @@ -71,20 +71,20 @@ public RumRecoveryBatchListResponse addDataItem(RumRecoveryBatchListData dataIte */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumRecoveryBatchListData item : data) { + for (RUMRecoveryBatchListData item : data) { this.unparsed |= item.unparsed; } } } - public RumRecoveryBatchListResponse meta(RumRecoveryBatchListMeta meta) { + public RUMRecoveryBatchListResponse meta(RUMRecoveryBatchListMeta meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -97,11 +97,11 @@ public RumRecoveryBatchListResponse meta(RumRecoveryBatchListMeta meta) { */ @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryBatchListMeta getMeta() { + public RUMRecoveryBatchListMeta getMeta() { return meta; } - public void setMeta(RumRecoveryBatchListMeta meta) { + public void setMeta(RUMRecoveryBatchListMeta meta) { this.meta = meta; if (meta != null) { this.unparsed |= meta.unparsed; @@ -120,10 +120,10 @@ public void setMeta(RumRecoveryBatchListMeta meta) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryBatchListResponse + * @return RUMRecoveryBatchListResponse */ @JsonAnySetter - public RumRecoveryBatchListResponse putAdditionalProperty(String key, Object value) { + public RUMRecoveryBatchListResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -154,7 +154,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryBatchListResponse object is equal to o. */ + /** Return true if this RUMRecoveryBatchListResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -163,7 +163,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryBatchListResponse rumRecoveryBatchListResponse = (RumRecoveryBatchListResponse) o; + RUMRecoveryBatchListResponse rumRecoveryBatchListResponse = (RUMRecoveryBatchListResponse) o; return Objects.equals(this.data, rumRecoveryBatchListResponse.data) && Objects.equals(this.meta, rumRecoveryBatchListResponse.meta) && Objects.equals( @@ -178,7 +178,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryBatchListResponse {\n"); + sb.append("class RUMRecoveryBatchListResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchRequestType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchRequestType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchRequestType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchRequestType.java index 68f08c745ab..9d3992b978c 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryBatchRequestType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryBatchRequestType.java @@ -19,37 +19,37 @@ import java.util.Set; /** Query-based batch recovery. */ -@JsonSerialize(using = RumRecoveryBatchRequestType.RumRecoveryBatchRequestTypeSerializer.class) -public class RumRecoveryBatchRequestType extends ModelEnum { +@JsonSerialize(using = RUMRecoveryBatchRequestType.RUMRecoveryBatchRequestTypeSerializer.class) +public class RUMRecoveryBatchRequestType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("batch")); - public static final RumRecoveryBatchRequestType BATCH = new RumRecoveryBatchRequestType("batch"); + public static final RUMRecoveryBatchRequestType BATCH = new RUMRecoveryBatchRequestType("batch"); - RumRecoveryBatchRequestType(String value) { + RUMRecoveryBatchRequestType(String value) { super(value, allowedValues); } - public static class RumRecoveryBatchRequestTypeSerializer - extends StdSerializer { - public RumRecoveryBatchRequestTypeSerializer(Class t) { + public static class RUMRecoveryBatchRequestTypeSerializer + extends StdSerializer { + public RUMRecoveryBatchRequestTypeSerializer(Class t) { super(t); } - public RumRecoveryBatchRequestTypeSerializer() { + public RUMRecoveryBatchRequestTypeSerializer() { this(null); } @Override public void serialize( - RumRecoveryBatchRequestType value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryBatchRequestType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryBatchRequestType fromValue(String value) { - return new RumRecoveryBatchRequestType(value); + public static RUMRecoveryBatchRequestType fromValue(String value) { + return new RUMRecoveryBatchRequestType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelAttributes.java index b6ee89e1f60..d22247d0dd4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelAttributes.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Batch cancellation. */ -@JsonPropertyOrder({RumRecoveryCancelAttributes.JSON_PROPERTY_STATUS}) +@JsonPropertyOrder({RUMRecoveryCancelAttributes.JSON_PROPERTY_STATUS}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCancelAttributes { +public class RUMRecoveryCancelAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_STATUS = "status"; - private RumRecoveryCancelStatus status; + private RUMRecoveryCancelStatus status; - public RumRecoveryCancelAttributes() {} + public RUMRecoveryCancelAttributes() {} @JsonCreator - public RumRecoveryCancelAttributes( - @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) RumRecoveryCancelStatus status) { + public RUMRecoveryCancelAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) RUMRecoveryCancelStatus status) { this.status = status; this.unparsed |= !status.isValid(); } - public RumRecoveryCancelAttributes status(RumRecoveryCancelStatus status) { + public RUMRecoveryCancelAttributes status(RUMRecoveryCancelStatus status) { this.status = status; this.unparsed |= !status.isValid(); return this; @@ -48,11 +48,11 @@ public RumRecoveryCancelAttributes status(RumRecoveryCancelStatus status) { */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCancelStatus getStatus() { + public RUMRecoveryCancelStatus getStatus() { return status; } - public void setStatus(RumRecoveryCancelStatus status) { + public void setStatus(RUMRecoveryCancelStatus status) { if (!status.isValid()) { this.unparsed = true; } @@ -71,10 +71,10 @@ public void setStatus(RumRecoveryCancelStatus status) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCancelAttributes + * @return RUMRecoveryCancelAttributes */ @JsonAnySetter - public RumRecoveryCancelAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryCancelAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCancelAttributes object is equal to o. */ + /** Return true if this RUMRecoveryCancelAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCancelAttributes rumRecoveryCancelAttributes = (RumRecoveryCancelAttributes) o; + RUMRecoveryCancelAttributes rumRecoveryCancelAttributes = (RUMRecoveryCancelAttributes) o; return Objects.equals(this.status, rumRecoveryCancelAttributes.status) && Objects.equals( this.additionalProperties, rumRecoveryCancelAttributes.additionalProperties); @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCancelAttributes {\n"); + sb.append("class RUMRecoveryCancelAttributes {\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelData.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelData.java index 133412a3d78..80e3a9de518 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelData.java @@ -19,16 +19,16 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryCancelData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryCancelData.JSON_PROPERTY_ID, - RumRecoveryCancelData.JSON_PROPERTY_TYPE + RUMRecoveryCancelData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryCancelData.JSON_PROPERTY_ID, + RUMRecoveryCancelData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCancelData { +public class RUMRecoveryCancelData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryCancelAttributes attributes; + private RUMRecoveryCancelAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; @@ -36,17 +36,17 @@ public class RumRecoveryCancelData { public static final String JSON_PROPERTY_TYPE = "type"; private String type; - public RumRecoveryCancelData() {} + public RUMRecoveryCancelData() {} @JsonCreator - public RumRecoveryCancelData( + public RUMRecoveryCancelData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryCancelAttributes attributes) { + RUMRecoveryCancelAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; } - public RumRecoveryCancelData attributes(RumRecoveryCancelAttributes attributes) { + public RUMRecoveryCancelData attributes(RUMRecoveryCancelAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -59,18 +59,18 @@ public RumRecoveryCancelData attributes(RumRecoveryCancelAttributes attributes) */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCancelAttributes getAttributes() { + public RUMRecoveryCancelAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryCancelAttributes attributes) { + public void setAttributes(RUMRecoveryCancelAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryCancelData id(String id) { + public RUMRecoveryCancelData id(String id) { this.id = id; return this; } @@ -91,7 +91,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryCancelData type(String type) { + public RUMRecoveryCancelData type(String type) { this.type = type; return this; } @@ -124,10 +124,10 @@ public void setType(String type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCancelData + * @return RUMRecoveryCancelData */ @JsonAnySetter - public RumRecoveryCancelData putAdditionalProperty(String key, Object value) { + public RUMRecoveryCancelData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -158,7 +158,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCancelData object is equal to o. */ + /** Return true if this RUMRecoveryCancelData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -167,7 +167,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCancelData rumRecoveryCancelData = (RumRecoveryCancelData) o; + RUMRecoveryCancelData rumRecoveryCancelData = (RUMRecoveryCancelData) o; return Objects.equals(this.attributes, rumRecoveryCancelData.attributes) && Objects.equals(this.id, rumRecoveryCancelData.id) && Objects.equals(this.type, rumRecoveryCancelData.type) @@ -182,7 +182,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCancelData {\n"); + sb.append("class RUMRecoveryCancelData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelRequest.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelRequest.java index aba711b2534..d32efabb414 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryCancelRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryCancelRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCancelRequest { +public class RUMRecoveryCancelRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryCancelData data; + private RUMRecoveryCancelData data; - public RumRecoveryCancelRequest() {} + public RUMRecoveryCancelRequest() {} @JsonCreator - public RumRecoveryCancelRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumRecoveryCancelData data) { + public RUMRecoveryCancelRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMRecoveryCancelData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryCancelRequest data(RumRecoveryCancelData data) { + public RUMRecoveryCancelRequest data(RUMRecoveryCancelData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumRecoveryCancelRequest data(RumRecoveryCancelData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCancelData getData() { + public RUMRecoveryCancelData getData() { return data; } - public void setData(RumRecoveryCancelData data) { + public void setData(RUMRecoveryCancelData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumRecoveryCancelData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCancelRequest + * @return RUMRecoveryCancelRequest */ @JsonAnySetter - public RumRecoveryCancelRequest putAdditionalProperty(String key, Object value) { + public RUMRecoveryCancelRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCancelRequest object is equal to o. */ + /** Return true if this RUMRecoveryCancelRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCancelRequest rumRecoveryCancelRequest = (RumRecoveryCancelRequest) o; + RUMRecoveryCancelRequest rumRecoveryCancelRequest = (RUMRecoveryCancelRequest) o; return Objects.equals(this.data, rumRecoveryCancelRequest.data) && Objects.equals(this.additionalProperties, rumRecoveryCancelRequest.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCancelRequest {\n"); + sb.append("class RUMRecoveryCancelRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponse.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponse.java index 571f4ed56f0..8234abdd009 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponse.java @@ -18,25 +18,25 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryCancelResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryCancelResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCancelResponse { +public class RUMRecoveryCancelResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryCancelResponseData data; + private RUMRecoveryCancelResponseData data; - public RumRecoveryCancelResponse() {} + public RUMRecoveryCancelResponse() {} @JsonCreator - public RumRecoveryCancelResponse( + public RUMRecoveryCancelResponse( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumRecoveryCancelResponseData data) { + RUMRecoveryCancelResponseData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryCancelResponse data(RumRecoveryCancelResponseData data) { + public RUMRecoveryCancelResponse data(RUMRecoveryCancelResponseData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumRecoveryCancelResponse data(RumRecoveryCancelResponseData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCancelResponseData getData() { + public RUMRecoveryCancelResponseData getData() { return data; } - public void setData(RumRecoveryCancelResponseData data) { + public void setData(RUMRecoveryCancelResponseData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumRecoveryCancelResponseData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCancelResponse + * @return RUMRecoveryCancelResponse */ @JsonAnySetter - public RumRecoveryCancelResponse putAdditionalProperty(String key, Object value) { + public RUMRecoveryCancelResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCancelResponse object is equal to o. */ + /** Return true if this RUMRecoveryCancelResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,7 +115,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCancelResponse rumRecoveryCancelResponse = (RumRecoveryCancelResponse) o; + RUMRecoveryCancelResponse rumRecoveryCancelResponse = (RUMRecoveryCancelResponse) o; return Objects.equals(this.data, rumRecoveryCancelResponse.data) && Objects.equals( this.additionalProperties, rumRecoveryCancelResponse.additionalProperties); @@ -129,7 +129,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCancelResponse {\n"); + sb.append("class RUMRecoveryCancelResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponseAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponseAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponseAttributes.java index 879251d7f9a..80899f52b30 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponseAttributes.java @@ -20,13 +20,13 @@ /** Batch cancellation acknowledgment. */ @JsonPropertyOrder({ - RumRecoveryCancelResponseAttributes.JSON_PROPERTY_CANCELLED_AT, - RumRecoveryCancelResponseAttributes.JSON_PROPERTY_CANCELLED_BY, - RumRecoveryCancelResponseAttributes.JSON_PROPERTY_DISCOVERY_STATUS + RUMRecoveryCancelResponseAttributes.JSON_PROPERTY_CANCELLED_AT, + RUMRecoveryCancelResponseAttributes.JSON_PROPERTY_CANCELLED_BY, + RUMRecoveryCancelResponseAttributes.JSON_PROPERTY_DISCOVERY_STATUS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCancelResponseAttributes { +public class RUMRecoveryCancelResponseAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CANCELLED_AT = "cancelled_at"; private OffsetDateTime cancelledAt; @@ -35,23 +35,23 @@ public class RumRecoveryCancelResponseAttributes { private String cancelledBy; public static final String JSON_PROPERTY_DISCOVERY_STATUS = "discovery_status"; - private RumRecoveryDiscoveryStatus discoveryStatus; + private RUMRecoveryDiscoveryStatus discoveryStatus; - public RumRecoveryCancelResponseAttributes() {} + public RUMRecoveryCancelResponseAttributes() {} @JsonCreator - public RumRecoveryCancelResponseAttributes( + public RUMRecoveryCancelResponseAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_CANCELLED_AT) OffsetDateTime cancelledAt, @JsonProperty(required = true, value = JSON_PROPERTY_CANCELLED_BY) String cancelledBy, @JsonProperty(required = true, value = JSON_PROPERTY_DISCOVERY_STATUS) - RumRecoveryDiscoveryStatus discoveryStatus) { + RUMRecoveryDiscoveryStatus discoveryStatus) { this.cancelledAt = cancelledAt; this.cancelledBy = cancelledBy; this.discoveryStatus = discoveryStatus; this.unparsed |= !discoveryStatus.isValid(); } - public RumRecoveryCancelResponseAttributes cancelledAt(OffsetDateTime cancelledAt) { + public RUMRecoveryCancelResponseAttributes cancelledAt(OffsetDateTime cancelledAt) { this.cancelledAt = cancelledAt; return this; } @@ -71,7 +71,7 @@ public void setCancelledAt(OffsetDateTime cancelledAt) { this.cancelledAt = cancelledAt; } - public RumRecoveryCancelResponseAttributes cancelledBy(String cancelledBy) { + public RUMRecoveryCancelResponseAttributes cancelledBy(String cancelledBy) { this.cancelledBy = cancelledBy; return this; } @@ -91,8 +91,8 @@ public void setCancelledBy(String cancelledBy) { this.cancelledBy = cancelledBy; } - public RumRecoveryCancelResponseAttributes discoveryStatus( - RumRecoveryDiscoveryStatus discoveryStatus) { + public RUMRecoveryCancelResponseAttributes discoveryStatus( + RUMRecoveryDiscoveryStatus discoveryStatus) { this.discoveryStatus = discoveryStatus; this.unparsed |= !discoveryStatus.isValid(); return this; @@ -105,11 +105,11 @@ public RumRecoveryCancelResponseAttributes discoveryStatus( */ @JsonProperty(JSON_PROPERTY_DISCOVERY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryDiscoveryStatus getDiscoveryStatus() { + public RUMRecoveryDiscoveryStatus getDiscoveryStatus() { return discoveryStatus; } - public void setDiscoveryStatus(RumRecoveryDiscoveryStatus discoveryStatus) { + public void setDiscoveryStatus(RUMRecoveryDiscoveryStatus discoveryStatus) { if (!discoveryStatus.isValid()) { this.unparsed = true; } @@ -128,10 +128,10 @@ public void setDiscoveryStatus(RumRecoveryDiscoveryStatus discoveryStatus) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCancelResponseAttributes + * @return RUMRecoveryCancelResponseAttributes */ @JsonAnySetter - public RumRecoveryCancelResponseAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryCancelResponseAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -162,7 +162,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCancelResponseAttributes object is equal to o. */ + /** Return true if this RUMRecoveryCancelResponseAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -171,8 +171,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCancelResponseAttributes rumRecoveryCancelResponseAttributes = - (RumRecoveryCancelResponseAttributes) o; + RUMRecoveryCancelResponseAttributes rumRecoveryCancelResponseAttributes = + (RUMRecoveryCancelResponseAttributes) o; return Objects.equals(this.cancelledAt, rumRecoveryCancelResponseAttributes.cancelledAt) && Objects.equals(this.cancelledBy, rumRecoveryCancelResponseAttributes.cancelledBy) && Objects.equals(this.discoveryStatus, rumRecoveryCancelResponseAttributes.discoveryStatus) @@ -188,7 +188,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCancelResponseAttributes {\n"); + sb.append("class RUMRecoveryCancelResponseAttributes {\n"); sb.append(" cancelledAt: ").append(toIndentedString(cancelledAt)).append("\n"); sb.append(" cancelledBy: ").append(toIndentedString(cancelledBy)).append("\n"); sb.append(" discoveryStatus: ").append(toIndentedString(discoveryStatus)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponseData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponseData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponseData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponseData.java index af8fab1bd34..f0a484bc29d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelResponseData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelResponseData.java @@ -19,31 +19,31 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryCancelResponseData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryCancelResponseData.JSON_PROPERTY_ID, - RumRecoveryCancelResponseData.JSON_PROPERTY_TYPE + RUMRecoveryCancelResponseData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryCancelResponseData.JSON_PROPERTY_ID, + RUMRecoveryCancelResponseData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCancelResponseData { +public class RUMRecoveryCancelResponseData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryCancelResponseAttributes attributes; + private RUMRecoveryCancelResponseAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRecoveryRequestType type; + private RUMRecoveryRequestType type; - public RumRecoveryCancelResponseData() {} + public RUMRecoveryCancelResponseData() {} @JsonCreator - public RumRecoveryCancelResponseData( + public RUMRecoveryCancelResponseData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryCancelResponseAttributes attributes, + RUMRecoveryCancelResponseAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRecoveryRequestType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRecoveryRequestType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumRecoveryCancelResponseData( this.unparsed |= !type.isValid(); } - public RumRecoveryCancelResponseData attributes(RumRecoveryCancelResponseAttributes attributes) { + public RUMRecoveryCancelResponseData attributes(RUMRecoveryCancelResponseAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumRecoveryCancelResponseData attributes(RumRecoveryCancelResponseAttribu */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCancelResponseAttributes getAttributes() { + public RUMRecoveryCancelResponseAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryCancelResponseAttributes attributes) { + public void setAttributes(RUMRecoveryCancelResponseAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryCancelResponseData id(String id) { + public RUMRecoveryCancelResponseData id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryCancelResponseData type(RumRecoveryRequestType type) { + public RUMRecoveryCancelResponseData type(RUMRecoveryRequestType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumRecoveryCancelResponseData type(RumRecoveryRequestType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestType getType() { + public RUMRecoveryRequestType getType() { return type; } - public void setType(RumRecoveryRequestType type) { + public void setType(RUMRecoveryRequestType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumRecoveryRequestType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCancelResponseData + * @return RUMRecoveryCancelResponseData */ @JsonAnySetter - public RumRecoveryCancelResponseData putAdditionalProperty(String key, Object value) { + public RUMRecoveryCancelResponseData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCancelResponseData object is equal to o. */ + /** Return true if this RUMRecoveryCancelResponseData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCancelResponseData rumRecoveryCancelResponseData = (RumRecoveryCancelResponseData) o; + RUMRecoveryCancelResponseData rumRecoveryCancelResponseData = (RUMRecoveryCancelResponseData) o; return Objects.equals(this.attributes, rumRecoveryCancelResponseData.attributes) && Objects.equals(this.id, rumRecoveryCancelResponseData.id) && Objects.equals(this.type, rumRecoveryCancelResponseData.type) @@ -190,7 +190,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCancelResponseData {\n"); + sb.append("class RUMRecoveryCancelResponseData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelStatus.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelStatus.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelStatus.java index e281f98b8bf..0dc0b6468b4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCancelStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCancelStatus.java @@ -19,37 +19,37 @@ import java.util.Set; /** Requested cancellation state. */ -@JsonSerialize(using = RumRecoveryCancelStatus.RumRecoveryCancelStatusSerializer.class) -public class RumRecoveryCancelStatus extends ModelEnum { +@JsonSerialize(using = RUMRecoveryCancelStatus.RUMRecoveryCancelStatusSerializer.class) +public class RUMRecoveryCancelStatus extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("cancelled")); - public static final RumRecoveryCancelStatus CANCELLED = new RumRecoveryCancelStatus("cancelled"); + public static final RUMRecoveryCancelStatus CANCELLED = new RUMRecoveryCancelStatus("cancelled"); - RumRecoveryCancelStatus(String value) { + RUMRecoveryCancelStatus(String value) { super(value, allowedValues); } - public static class RumRecoveryCancelStatusSerializer - extends StdSerializer { - public RumRecoveryCancelStatusSerializer(Class t) { + public static class RUMRecoveryCancelStatusSerializer + extends StdSerializer { + public RUMRecoveryCancelStatusSerializer(Class t) { super(t); } - public RumRecoveryCancelStatusSerializer() { + public RUMRecoveryCancelStatusSerializer() { this(null); } @Override public void serialize( - RumRecoveryCancelStatus value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryCancelStatus value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryCancelStatus fromValue(String value) { - return new RumRecoveryCancelStatus(value); + public static RUMRecoveryCancelStatus fromValue(String value) { + return new RUMRecoveryCancelStatus(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountAttributes.java similarity index 88% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountAttributes.java index 4575880913a..3b359a08108 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountAttributes.java @@ -23,13 +23,13 @@ * configured archive retention. */ @JsonPropertyOrder({ - RumRecoveryCountAttributes.JSON_PROPERTY_FROM, - RumRecoveryCountAttributes.JSON_PROPERTY_QUERY, - RumRecoveryCountAttributes.JSON_PROPERTY_TO + RUMRecoveryCountAttributes.JSON_PROPERTY_FROM, + RUMRecoveryCountAttributes.JSON_PROPERTY_QUERY, + RUMRecoveryCountAttributes.JSON_PROPERTY_TO }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCountAttributes { +public class RUMRecoveryCountAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_FROM = "from"; private Long from; @@ -40,10 +40,10 @@ public class RumRecoveryCountAttributes { public static final String JSON_PROPERTY_TO = "to"; private Long to; - public RumRecoveryCountAttributes() {} + public RUMRecoveryCountAttributes() {} @JsonCreator - public RumRecoveryCountAttributes( + public RUMRecoveryCountAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_FROM) Long from, @JsonProperty(required = true, value = JSON_PROPERTY_QUERY) String query, @JsonProperty(required = true, value = JSON_PROPERTY_TO) Long to) { @@ -52,7 +52,7 @@ public RumRecoveryCountAttributes( this.to = to; } - public RumRecoveryCountAttributes from(Long from) { + public RUMRecoveryCountAttributes from(Long from) { this.from = from; return this; } @@ -72,7 +72,7 @@ public void setFrom(Long from) { this.from = from; } - public RumRecoveryCountAttributes query(String query) { + public RUMRecoveryCountAttributes query(String query) { this.query = query; return this; } @@ -92,7 +92,7 @@ public void setQuery(String query) { this.query = query; } - public RumRecoveryCountAttributes to(Long to) { + public RUMRecoveryCountAttributes to(Long to) { this.to = to; return this; } @@ -124,10 +124,10 @@ public void setTo(Long to) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCountAttributes + * @return RUMRecoveryCountAttributes */ @JsonAnySetter - public RumRecoveryCountAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryCountAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -158,7 +158,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCountAttributes object is equal to o. */ + /** Return true if this RUMRecoveryCountAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -167,7 +167,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCountAttributes rumRecoveryCountAttributes = (RumRecoveryCountAttributes) o; + RUMRecoveryCountAttributes rumRecoveryCountAttributes = (RUMRecoveryCountAttributes) o; return Objects.equals(this.from, rumRecoveryCountAttributes.from) && Objects.equals(this.query, rumRecoveryCountAttributes.query) && Objects.equals(this.to, rumRecoveryCountAttributes.to) @@ -183,7 +183,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCountAttributes {\n"); + sb.append("class RUMRecoveryCountAttributes {\n"); sb.append(" from: ").append(toIndentedString(from)).append("\n"); sb.append(" query: ").append(toIndentedString(query)).append("\n"); sb.append(" to: ").append(toIndentedString(to)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountRequest.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountRequest.java index e356ac2cd3f..41e06295879 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryCountRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryCountRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCountRequest { +public class RUMRecoveryCountRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryCountRequestData data; + private RUMRecoveryCountRequestData data; - public RumRecoveryCountRequest() {} + public RUMRecoveryCountRequest() {} @JsonCreator - public RumRecoveryCountRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumRecoveryCountRequestData data) { + public RUMRecoveryCountRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMRecoveryCountRequestData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryCountRequest data(RumRecoveryCountRequestData data) { + public RUMRecoveryCountRequest data(RUMRecoveryCountRequestData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumRecoveryCountRequest data(RumRecoveryCountRequestData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCountRequestData getData() { + public RUMRecoveryCountRequestData getData() { return data; } - public void setData(RumRecoveryCountRequestData data) { + public void setData(RUMRecoveryCountRequestData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumRecoveryCountRequestData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCountRequest + * @return RUMRecoveryCountRequest */ @JsonAnySetter - public RumRecoveryCountRequest putAdditionalProperty(String key, Object value) { + public RUMRecoveryCountRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCountRequest object is equal to o. */ + /** Return true if this RUMRecoveryCountRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCountRequest rumRecoveryCountRequest = (RumRecoveryCountRequest) o; + RUMRecoveryCountRequest rumRecoveryCountRequest = (RUMRecoveryCountRequest) o; return Objects.equals(this.data, rumRecoveryCountRequest.data) && Objects.equals(this.additionalProperties, rumRecoveryCountRequest.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCountRequest {\n"); + sb.append("class RUMRecoveryCountRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountRequestData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountRequestData.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountRequestData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountRequestData.java index 23823c434e2..a214329e3cb 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountRequestData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountRequestData.java @@ -19,16 +19,16 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryCountRequestData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryCountRequestData.JSON_PROPERTY_ID, - RumRecoveryCountRequestData.JSON_PROPERTY_TYPE + RUMRecoveryCountRequestData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryCountRequestData.JSON_PROPERTY_ID, + RUMRecoveryCountRequestData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCountRequestData { +public class RUMRecoveryCountRequestData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryCountAttributes attributes; + private RUMRecoveryCountAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; @@ -36,17 +36,17 @@ public class RumRecoveryCountRequestData { public static final String JSON_PROPERTY_TYPE = "type"; private String type; - public RumRecoveryCountRequestData() {} + public RUMRecoveryCountRequestData() {} @JsonCreator - public RumRecoveryCountRequestData( + public RUMRecoveryCountRequestData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryCountAttributes attributes) { + RUMRecoveryCountAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; } - public RumRecoveryCountRequestData attributes(RumRecoveryCountAttributes attributes) { + public RUMRecoveryCountRequestData attributes(RUMRecoveryCountAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -61,18 +61,18 @@ public RumRecoveryCountRequestData attributes(RumRecoveryCountAttributes attribu */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCountAttributes getAttributes() { + public RUMRecoveryCountAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryCountAttributes attributes) { + public void setAttributes(RUMRecoveryCountAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryCountRequestData id(String id) { + public RUMRecoveryCountRequestData id(String id) { this.id = id; return this; } @@ -93,7 +93,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryCountRequestData type(String type) { + public RUMRecoveryCountRequestData type(String type) { this.type = type; return this; } @@ -126,10 +126,10 @@ public void setType(String type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCountRequestData + * @return RUMRecoveryCountRequestData */ @JsonAnySetter - public RumRecoveryCountRequestData putAdditionalProperty(String key, Object value) { + public RUMRecoveryCountRequestData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -160,7 +160,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCountRequestData object is equal to o. */ + /** Return true if this RUMRecoveryCountRequestData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -169,7 +169,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCountRequestData rumRecoveryCountRequestData = (RumRecoveryCountRequestData) o; + RUMRecoveryCountRequestData rumRecoveryCountRequestData = (RUMRecoveryCountRequestData) o; return Objects.equals(this.attributes, rumRecoveryCountRequestData.attributes) && Objects.equals(this.id, rumRecoveryCountRequestData.id) && Objects.equals(this.type, rumRecoveryCountRequestData.type) @@ -185,7 +185,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCountRequestData {\n"); + sb.append("class RUMRecoveryCountRequestData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponse.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponse.java index 5e9033e00b8..d96601eb8fc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponse.java @@ -18,25 +18,25 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryCountResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryCountResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCountResponse { +public class RUMRecoveryCountResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryCountResponseData data; + private RUMRecoveryCountResponseData data; - public RumRecoveryCountResponse() {} + public RUMRecoveryCountResponse() {} @JsonCreator - public RumRecoveryCountResponse( + public RUMRecoveryCountResponse( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumRecoveryCountResponseData data) { + RUMRecoveryCountResponseData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryCountResponse data(RumRecoveryCountResponseData data) { + public RUMRecoveryCountResponse data(RUMRecoveryCountResponseData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumRecoveryCountResponse data(RumRecoveryCountResponseData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCountResponseData getData() { + public RUMRecoveryCountResponseData getData() { return data; } - public void setData(RumRecoveryCountResponseData data) { + public void setData(RUMRecoveryCountResponseData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumRecoveryCountResponseData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCountResponse + * @return RUMRecoveryCountResponse */ @JsonAnySetter - public RumRecoveryCountResponse putAdditionalProperty(String key, Object value) { + public RUMRecoveryCountResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCountResponse object is equal to o. */ + /** Return true if this RUMRecoveryCountResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,7 +115,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCountResponse rumRecoveryCountResponse = (RumRecoveryCountResponse) o; + RUMRecoveryCountResponse rumRecoveryCountResponse = (RUMRecoveryCountResponse) o; return Objects.equals(this.data, rumRecoveryCountResponse.data) && Objects.equals(this.additionalProperties, rumRecoveryCountResponse.additionalProperties); } @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCountResponse {\n"); + sb.append("class RUMRecoveryCountResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseAttributes.java similarity index 88% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseAttributes.java index b3697a4c706..6c08644678a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseAttributes.java @@ -19,12 +19,12 @@ /** Approximate recoverable count. */ @JsonPropertyOrder({ - RumRecoveryCountResponseAttributes.JSON_PROPERTY_ESTIMATED_COUNT, - RumRecoveryCountResponseAttributes.JSON_PROPERTY_MAX_RECOVERABLE_SESSIONS + RUMRecoveryCountResponseAttributes.JSON_PROPERTY_ESTIMATED_COUNT, + RUMRecoveryCountResponseAttributes.JSON_PROPERTY_MAX_RECOVERABLE_SESSIONS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCountResponseAttributes { +public class RUMRecoveryCountResponseAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ESTIMATED_COUNT = "estimated_count"; private Long estimatedCount; @@ -32,10 +32,10 @@ public class RumRecoveryCountResponseAttributes { public static final String JSON_PROPERTY_MAX_RECOVERABLE_SESSIONS = "max_recoverable_sessions"; private Long maxRecoverableSessions; - public RumRecoveryCountResponseAttributes() {} + public RUMRecoveryCountResponseAttributes() {} @JsonCreator - public RumRecoveryCountResponseAttributes( + public RUMRecoveryCountResponseAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_ESTIMATED_COUNT) Long estimatedCount, @JsonProperty(required = true, value = JSON_PROPERTY_MAX_RECOVERABLE_SESSIONS) Long maxRecoverableSessions) { @@ -43,7 +43,7 @@ public RumRecoveryCountResponseAttributes( this.maxRecoverableSessions = maxRecoverableSessions; } - public RumRecoveryCountResponseAttributes estimatedCount(Long estimatedCount) { + public RUMRecoveryCountResponseAttributes estimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; return this; } @@ -64,7 +64,7 @@ public void setEstimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; } - public RumRecoveryCountResponseAttributes maxRecoverableSessions(Long maxRecoverableSessions) { + public RUMRecoveryCountResponseAttributes maxRecoverableSessions(Long maxRecoverableSessions) { this.maxRecoverableSessions = maxRecoverableSessions; return this; } @@ -97,10 +97,10 @@ public void setMaxRecoverableSessions(Long maxRecoverableSessions) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCountResponseAttributes + * @return RUMRecoveryCountResponseAttributes */ @JsonAnySetter - public RumRecoveryCountResponseAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryCountResponseAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -131,7 +131,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCountResponseAttributes object is equal to o. */ + /** Return true if this RUMRecoveryCountResponseAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -140,8 +140,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCountResponseAttributes rumRecoveryCountResponseAttributes = - (RumRecoveryCountResponseAttributes) o; + RUMRecoveryCountResponseAttributes rumRecoveryCountResponseAttributes = + (RUMRecoveryCountResponseAttributes) o; return Objects.equals(this.estimatedCount, rumRecoveryCountResponseAttributes.estimatedCount) && Objects.equals( this.maxRecoverableSessions, rumRecoveryCountResponseAttributes.maxRecoverableSessions) @@ -157,7 +157,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCountResponseAttributes {\n"); + sb.append("class RUMRecoveryCountResponseAttributes {\n"); sb.append(" estimatedCount: ").append(toIndentedString(estimatedCount)).append("\n"); sb.append(" maxRecoverableSessions: ") .append(toIndentedString(maxRecoverableSessions)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseData.java index 55298aceae8..a9f1088aee5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseData.java @@ -19,32 +19,32 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryCountResponseData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryCountResponseData.JSON_PROPERTY_ID, - RumRecoveryCountResponseData.JSON_PROPERTY_TYPE + RUMRecoveryCountResponseData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryCountResponseData.JSON_PROPERTY_ID, + RUMRecoveryCountResponseData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCountResponseData { +public class RUMRecoveryCountResponseData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryCountResponseAttributes attributes; + private RUMRecoveryCountResponseAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRecoveryCountResponseDataType type; + private RUMRecoveryCountResponseDataType type; - public RumRecoveryCountResponseData() {} + public RUMRecoveryCountResponseData() {} @JsonCreator - public RumRecoveryCountResponseData( + public RUMRecoveryCountResponseData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryCountResponseAttributes attributes, + RUMRecoveryCountResponseAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) - RumRecoveryCountResponseDataType type) { + RUMRecoveryCountResponseDataType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -52,7 +52,7 @@ public RumRecoveryCountResponseData( this.unparsed |= !type.isValid(); } - public RumRecoveryCountResponseData attributes(RumRecoveryCountResponseAttributes attributes) { + public RUMRecoveryCountResponseData attributes(RUMRecoveryCountResponseAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumRecoveryCountResponseData attributes(RumRecoveryCountResponseAttribute */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCountResponseAttributes getAttributes() { + public RUMRecoveryCountResponseAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryCountResponseAttributes attributes) { + public void setAttributes(RUMRecoveryCountResponseAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryCountResponseData id(String id) { + public RUMRecoveryCountResponseData id(String id) { this.id = id; return this; } @@ -96,7 +96,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryCountResponseData type(RumRecoveryCountResponseDataType type) { + public RUMRecoveryCountResponseData type(RUMRecoveryCountResponseDataType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -109,11 +109,11 @@ public RumRecoveryCountResponseData type(RumRecoveryCountResponseDataType type) */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCountResponseDataType getType() { + public RUMRecoveryCountResponseDataType getType() { return type; } - public void setType(RumRecoveryCountResponseDataType type) { + public void setType(RUMRecoveryCountResponseDataType type) { if (!type.isValid()) { this.unparsed = true; } @@ -132,10 +132,10 @@ public void setType(RumRecoveryCountResponseDataType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCountResponseData + * @return RUMRecoveryCountResponseData */ @JsonAnySetter - public RumRecoveryCountResponseData putAdditionalProperty(String key, Object value) { + public RUMRecoveryCountResponseData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -166,7 +166,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCountResponseData object is equal to o. */ + /** Return true if this RUMRecoveryCountResponseData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -175,7 +175,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCountResponseData rumRecoveryCountResponseData = (RumRecoveryCountResponseData) o; + RUMRecoveryCountResponseData rumRecoveryCountResponseData = (RUMRecoveryCountResponseData) o; return Objects.equals(this.attributes, rumRecoveryCountResponseData.attributes) && Objects.equals(this.id, rumRecoveryCountResponseData.id) && Objects.equals(this.type, rumRecoveryCountResponseData.type) @@ -191,7 +191,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCountResponseData {\n"); + sb.append("class RUMRecoveryCountResponseData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseDataType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseDataType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseDataType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseDataType.java index 6bc205da800..321d7b65059 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCountResponseDataType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCountResponseDataType.java @@ -20,39 +20,39 @@ /** JSON:API resource type. */ @JsonSerialize( - using = RumRecoveryCountResponseDataType.RumRecoveryCountResponseDataTypeSerializer.class) -public class RumRecoveryCountResponseDataType extends ModelEnum { + using = RUMRecoveryCountResponseDataType.RUMRecoveryCountResponseDataTypeSerializer.class) +public class RUMRecoveryCountResponseDataType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_recovery_count")); - public static final RumRecoveryCountResponseDataType RUM_RECOVERY_COUNT = - new RumRecoveryCountResponseDataType("rum_recovery_count"); + public static final RUMRecoveryCountResponseDataType RUM_RECOVERY_COUNT = + new RUMRecoveryCountResponseDataType("rum_recovery_count"); - RumRecoveryCountResponseDataType(String value) { + RUMRecoveryCountResponseDataType(String value) { super(value, allowedValues); } - public static class RumRecoveryCountResponseDataTypeSerializer - extends StdSerializer { - public RumRecoveryCountResponseDataTypeSerializer(Class t) { + public static class RUMRecoveryCountResponseDataTypeSerializer + extends StdSerializer { + public RUMRecoveryCountResponseDataTypeSerializer(Class t) { super(t); } - public RumRecoveryCountResponseDataTypeSerializer() { + public RUMRecoveryCountResponseDataTypeSerializer() { this(null); } @Override public void serialize( - RumRecoveryCountResponseDataType value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryCountResponseDataType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryCountResponseDataType fromValue(String value) { - return new RumRecoveryCountResponseDataType(value); + public static RUMRecoveryCountResponseDataType fromValue(String value) { + return new RUMRecoveryCountResponseDataType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateAttributes.java similarity index 60% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateAttributes.java index 65be7e9f15b..f1f5fcf2bde 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateAttributes.java @@ -36,43 +36,43 @@ @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -@JsonDeserialize(using = RumRecoveryCreateAttributes.RumRecoveryCreateAttributesDeserializer.class) -@JsonSerialize(using = RumRecoveryCreateAttributes.RumRecoveryCreateAttributesSerializer.class) -public class RumRecoveryCreateAttributes extends AbstractOpenApiSchema { - private static final Logger log = Logger.getLogger(RumRecoveryCreateAttributes.class.getName()); +@JsonDeserialize(using = RUMRecoveryCreateAttributes.RUMRecoveryCreateAttributesDeserializer.class) +@JsonSerialize(using = RUMRecoveryCreateAttributes.RUMRecoveryCreateAttributesSerializer.class) +public class RUMRecoveryCreateAttributes extends AbstractOpenApiSchema { + private static final Logger log = Logger.getLogger(RUMRecoveryCreateAttributes.class.getName()); @JsonIgnore public boolean unparsed = false; - public static class RumRecoveryCreateAttributesSerializer - extends StdSerializer { - public RumRecoveryCreateAttributesSerializer(Class t) { + public static class RUMRecoveryCreateAttributesSerializer + extends StdSerializer { + public RUMRecoveryCreateAttributesSerializer(Class t) { super(t); } - public RumRecoveryCreateAttributesSerializer() { + public RUMRecoveryCreateAttributesSerializer() { this(null); } @Override public void serialize( - RumRecoveryCreateAttributes value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryCreateAttributes value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.getActualInstance()); } } - public static class RumRecoveryCreateAttributesDeserializer - extends StdDeserializer { - public RumRecoveryCreateAttributesDeserializer() { - this(RumRecoveryCreateAttributes.class); + public static class RUMRecoveryCreateAttributesDeserializer + extends StdDeserializer { + public RUMRecoveryCreateAttributesDeserializer() { + this(RUMRecoveryCreateAttributes.class); } - public RumRecoveryCreateAttributesDeserializer(Class vc) { + public RUMRecoveryCreateAttributesDeserializer(Class vc) { super(vc); } @Override - public RumRecoveryCreateAttributes deserialize(JsonParser jp, DeserializationContext ctxt) + public RUMRecoveryCreateAttributes deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { JsonNode tree = jp.readValueAsTree(); Object deserialized = null; @@ -80,101 +80,101 @@ public RumRecoveryCreateAttributes deserialize(JsonParser jp, DeserializationCon boolean typeCoercion = ctxt.isEnabled(MapperFeature.ALLOW_COERCION_OF_SCALARS); int match = 0; JsonToken token = tree.traverse(jp.getCodec()).nextToken(); - // deserialize RumRecoverySessionsCreateAttributes + // deserialize RUMRecoverySessionsCreateAttributes try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (RumRecoverySessionsCreateAttributes.class.equals(Integer.class) - || RumRecoverySessionsCreateAttributes.class.equals(Long.class) - || RumRecoverySessionsCreateAttributes.class.equals(Float.class) - || RumRecoverySessionsCreateAttributes.class.equals(Double.class) - || RumRecoverySessionsCreateAttributes.class.equals(Boolean.class) - || RumRecoverySessionsCreateAttributes.class.equals(String.class)) { + if (RUMRecoverySessionsCreateAttributes.class.equals(Integer.class) + || RUMRecoverySessionsCreateAttributes.class.equals(Long.class) + || RUMRecoverySessionsCreateAttributes.class.equals(Float.class) + || RUMRecoverySessionsCreateAttributes.class.equals(Double.class) + || RUMRecoverySessionsCreateAttributes.class.equals(Boolean.class) + || RUMRecoverySessionsCreateAttributes.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { attemptParsing |= - ((RumRecoverySessionsCreateAttributes.class.equals(Integer.class) - || RumRecoverySessionsCreateAttributes.class.equals(Long.class)) + ((RUMRecoverySessionsCreateAttributes.class.equals(Integer.class) + || RUMRecoverySessionsCreateAttributes.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); attemptParsing |= - ((RumRecoverySessionsCreateAttributes.class.equals(Float.class) - || RumRecoverySessionsCreateAttributes.class.equals(Double.class)) + ((RUMRecoverySessionsCreateAttributes.class.equals(Float.class) + || RUMRecoverySessionsCreateAttributes.class.equals(Double.class)) && (token == JsonToken.VALUE_NUMBER_FLOAT || token == JsonToken.VALUE_NUMBER_INT)); attemptParsing |= - (RumRecoverySessionsCreateAttributes.class.equals(Boolean.class) + (RUMRecoverySessionsCreateAttributes.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); attemptParsing |= - (RumRecoverySessionsCreateAttributes.class.equals(String.class) + (RUMRecoverySessionsCreateAttributes.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - tmp = tree.traverse(jp.getCodec()).readValueAs(RumRecoverySessionsCreateAttributes.class); + tmp = tree.traverse(jp.getCodec()).readValueAs(RUMRecoverySessionsCreateAttributes.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. - if (!((RumRecoverySessionsCreateAttributes) tmp).unparsed) { + if (!((RUMRecoverySessionsCreateAttributes) tmp).unparsed) { deserialized = tmp; match++; } - log.log(Level.FINER, "Input data matches schema 'RumRecoverySessionsCreateAttributes'"); + log.log(Level.FINER, "Input data matches schema 'RUMRecoverySessionsCreateAttributes'"); } } catch (Exception e) { // deserialization failed, continue log.log( Level.FINER, - "Input data does not match schema 'RumRecoverySessionsCreateAttributes'", + "Input data does not match schema 'RUMRecoverySessionsCreateAttributes'", e); } - // deserialize RumRecoveryBatchCreateAttributes + // deserialize RUMRecoveryBatchCreateAttributes try { boolean attemptParsing = true; // ensure that we respect type coercion as set on the client ObjectMapper - if (RumRecoveryBatchCreateAttributes.class.equals(Integer.class) - || RumRecoveryBatchCreateAttributes.class.equals(Long.class) - || RumRecoveryBatchCreateAttributes.class.equals(Float.class) - || RumRecoveryBatchCreateAttributes.class.equals(Double.class) - || RumRecoveryBatchCreateAttributes.class.equals(Boolean.class) - || RumRecoveryBatchCreateAttributes.class.equals(String.class)) { + if (RUMRecoveryBatchCreateAttributes.class.equals(Integer.class) + || RUMRecoveryBatchCreateAttributes.class.equals(Long.class) + || RUMRecoveryBatchCreateAttributes.class.equals(Float.class) + || RUMRecoveryBatchCreateAttributes.class.equals(Double.class) + || RUMRecoveryBatchCreateAttributes.class.equals(Boolean.class) + || RUMRecoveryBatchCreateAttributes.class.equals(String.class)) { attemptParsing = typeCoercion; if (!attemptParsing) { attemptParsing |= - ((RumRecoveryBatchCreateAttributes.class.equals(Integer.class) - || RumRecoveryBatchCreateAttributes.class.equals(Long.class)) + ((RUMRecoveryBatchCreateAttributes.class.equals(Integer.class) + || RUMRecoveryBatchCreateAttributes.class.equals(Long.class)) && token == JsonToken.VALUE_NUMBER_INT); attemptParsing |= - ((RumRecoveryBatchCreateAttributes.class.equals(Float.class) - || RumRecoveryBatchCreateAttributes.class.equals(Double.class)) + ((RUMRecoveryBatchCreateAttributes.class.equals(Float.class) + || RUMRecoveryBatchCreateAttributes.class.equals(Double.class)) && (token == JsonToken.VALUE_NUMBER_FLOAT || token == JsonToken.VALUE_NUMBER_INT)); attemptParsing |= - (RumRecoveryBatchCreateAttributes.class.equals(Boolean.class) + (RUMRecoveryBatchCreateAttributes.class.equals(Boolean.class) && (token == JsonToken.VALUE_FALSE || token == JsonToken.VALUE_TRUE)); attemptParsing |= - (RumRecoveryBatchCreateAttributes.class.equals(String.class) + (RUMRecoveryBatchCreateAttributes.class.equals(String.class) && token == JsonToken.VALUE_STRING); } } if (attemptParsing) { - tmp = tree.traverse(jp.getCodec()).readValueAs(RumRecoveryBatchCreateAttributes.class); + tmp = tree.traverse(jp.getCodec()).readValueAs(RUMRecoveryBatchCreateAttributes.class); // TODO: there is no validation against JSON schema constraints // (min, max, enum, pattern...), this does not perform a strict JSON // validation, which means the 'match' count may be higher than it should be. - if (!((RumRecoveryBatchCreateAttributes) tmp).unparsed) { + if (!((RUMRecoveryBatchCreateAttributes) tmp).unparsed) { deserialized = tmp; match++; } - log.log(Level.FINER, "Input data matches schema 'RumRecoveryBatchCreateAttributes'"); + log.log(Level.FINER, "Input data matches schema 'RUMRecoveryBatchCreateAttributes'"); } } catch (Exception e) { // deserialization failed, continue log.log( - Level.FINER, "Input data does not match schema 'RumRecoveryBatchCreateAttributes'", e); + Level.FINER, "Input data does not match schema 'RUMRecoveryBatchCreateAttributes'", e); } - RumRecoveryCreateAttributes ret = new RumRecoveryCreateAttributes(); + RUMRecoveryCreateAttributes ret = new RUMRecoveryCreateAttributes(); if (match == 1) { ret.setActualInstance(deserialized); } else { @@ -190,49 +190,49 @@ public RumRecoveryCreateAttributes deserialize(JsonParser jp, DeserializationCon /** Handle deserialization of the 'null' value. */ @Override - public RumRecoveryCreateAttributes getNullValue(DeserializationContext ctxt) + public RUMRecoveryCreateAttributes getNullValue(DeserializationContext ctxt) throws JsonMappingException { throw new JsonMappingException( - ctxt.getParser(), "RumRecoveryCreateAttributes cannot be null"); + ctxt.getParser(), "RUMRecoveryCreateAttributes cannot be null"); } } // store a list of schema names defined in oneOf public static final Map schemas = new HashMap(); - public RumRecoveryCreateAttributes() { + public RUMRecoveryCreateAttributes() { super("oneOf", Boolean.FALSE); } - public RumRecoveryCreateAttributes(RumRecoverySessionsCreateAttributes o) { + public RUMRecoveryCreateAttributes(RUMRecoverySessionsCreateAttributes o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } - public RumRecoveryCreateAttributes(RumRecoveryBatchCreateAttributes o) { + public RUMRecoveryCreateAttributes(RUMRecoveryBatchCreateAttributes o) { super("oneOf", Boolean.FALSE); setActualInstance(o); } static { schemas.put( - "RumRecoverySessionsCreateAttributes", - new GenericType() {}); + "RUMRecoverySessionsCreateAttributes", + new GenericType() {}); schemas.put( - "RumRecoveryBatchCreateAttributes", new GenericType() {}); + "RUMRecoveryBatchCreateAttributes", new GenericType() {}); JSON.registerDescendants( - RumRecoveryCreateAttributes.class, Collections.unmodifiableMap(schemas)); + RUMRecoveryCreateAttributes.class, Collections.unmodifiableMap(schemas)); } @Override public Map getSchemas() { - return RumRecoveryCreateAttributes.schemas; + return RUMRecoveryCreateAttributes.schemas; } /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid - * against the oneOf child schemas: RumRecoverySessionsCreateAttributes, - * RumRecoveryBatchCreateAttributes + * against the oneOf child schemas: RUMRecoverySessionsCreateAttributes, + * RUMRecoveryBatchCreateAttributes * *

It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a * composed schema (allOf, anyOf, oneOf). @@ -240,12 +240,12 @@ public Map getSchemas() { @Override public void setActualInstance(Object instance) { if (JSON.isInstanceOf( - RumRecoverySessionsCreateAttributes.class, instance, new HashSet>())) { + RUMRecoverySessionsCreateAttributes.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } if (JSON.isInstanceOf( - RumRecoveryBatchCreateAttributes.class, instance, new HashSet>())) { + RUMRecoveryBatchCreateAttributes.class, instance, new HashSet>())) { super.setActualInstance(instance); return; } @@ -255,16 +255,16 @@ public void setActualInstance(Object instance) { return; } throw new RuntimeException( - "Invalid instance type. Must be RumRecoverySessionsCreateAttributes," - + " RumRecoveryBatchCreateAttributes"); + "Invalid instance type. Must be RUMRecoverySessionsCreateAttributes," + + " RUMRecoveryBatchCreateAttributes"); } /** - * Get the actual instance, which can be the following: RumRecoverySessionsCreateAttributes, - * RumRecoveryBatchCreateAttributes + * Get the actual instance, which can be the following: RUMRecoverySessionsCreateAttributes, + * RUMRecoveryBatchCreateAttributes * - * @return The actual instance (RumRecoverySessionsCreateAttributes, - * RumRecoveryBatchCreateAttributes) + * @return The actual instance (RUMRecoverySessionsCreateAttributes, + * RUMRecoveryBatchCreateAttributes) */ @Override public Object getActualInstance() { @@ -272,26 +272,26 @@ public Object getActualInstance() { } /** - * Get the actual instance of `RumRecoverySessionsCreateAttributes`. If the actual instance is not - * `RumRecoverySessionsCreateAttributes`, the ClassCastException will be thrown. + * Get the actual instance of `RUMRecoverySessionsCreateAttributes`. If the actual instance is not + * `RUMRecoverySessionsCreateAttributes`, the ClassCastException will be thrown. * - * @return The actual instance of `RumRecoverySessionsCreateAttributes` - * @throws ClassCastException if the instance is not `RumRecoverySessionsCreateAttributes` + * @return The actual instance of `RUMRecoverySessionsCreateAttributes` + * @throws ClassCastException if the instance is not `RUMRecoverySessionsCreateAttributes` */ - public RumRecoverySessionsCreateAttributes getRumRecoverySessionsCreateAttributes() + public RUMRecoverySessionsCreateAttributes getRUMRecoverySessionsCreateAttributes() throws ClassCastException { - return (RumRecoverySessionsCreateAttributes) super.getActualInstance(); + return (RUMRecoverySessionsCreateAttributes) super.getActualInstance(); } /** - * Get the actual instance of `RumRecoveryBatchCreateAttributes`. If the actual instance is not - * `RumRecoveryBatchCreateAttributes`, the ClassCastException will be thrown. + * Get the actual instance of `RUMRecoveryBatchCreateAttributes`. If the actual instance is not + * `RUMRecoveryBatchCreateAttributes`, the ClassCastException will be thrown. * - * @return The actual instance of `RumRecoveryBatchCreateAttributes` - * @throws ClassCastException if the instance is not `RumRecoveryBatchCreateAttributes` + * @return The actual instance of `RUMRecoveryBatchCreateAttributes` + * @throws ClassCastException if the instance is not `RUMRecoveryBatchCreateAttributes` */ - public RumRecoveryBatchCreateAttributes getRumRecoveryBatchCreateAttributes() + public RUMRecoveryBatchCreateAttributes getRUMRecoveryBatchCreateAttributes() throws ClassCastException { - return (RumRecoveryBatchCreateAttributes) super.getActualInstance(); + return (RUMRecoveryBatchCreateAttributes) super.getActualInstance(); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateData.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateData.java index 71ef0001f07..e9a6eae0003 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateData.java @@ -19,30 +19,30 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryCreateData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryCreateData.JSON_PROPERTY_TYPE + RUMRecoveryCreateData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryCreateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCreateData { +public class RUMRecoveryCreateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryCreateAttributes attributes; + private RUMRecoveryCreateAttributes attributes; public static final String JSON_PROPERTY_TYPE = "type"; private String type; - public RumRecoveryCreateData() {} + public RUMRecoveryCreateData() {} @JsonCreator - public RumRecoveryCreateData( + public RUMRecoveryCreateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryCreateAttributes attributes) { + RUMRecoveryCreateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; } - public RumRecoveryCreateData attributes(RumRecoveryCreateAttributes attributes) { + public RUMRecoveryCreateData attributes(RUMRecoveryCreateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -55,18 +55,18 @@ public RumRecoveryCreateData attributes(RumRecoveryCreateAttributes attributes) */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCreateAttributes getAttributes() { + public RUMRecoveryCreateAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryCreateAttributes attributes) { + public void setAttributes(RUMRecoveryCreateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryCreateData type(String type) { + public RUMRecoveryCreateData type(String type) { this.type = type; return this; } @@ -99,10 +99,10 @@ public void setType(String type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCreateData + * @return RUMRecoveryCreateData */ @JsonAnySetter - public RumRecoveryCreateData putAdditionalProperty(String key, Object value) { + public RUMRecoveryCreateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -133,7 +133,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCreateData object is equal to o. */ + /** Return true if this RUMRecoveryCreateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -142,7 +142,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCreateData rumRecoveryCreateData = (RumRecoveryCreateData) o; + RUMRecoveryCreateData rumRecoveryCreateData = (RUMRecoveryCreateData) o; return Objects.equals(this.attributes, rumRecoveryCreateData.attributes) && Objects.equals(this.type, rumRecoveryCreateData.type) && Objects.equals(this.additionalProperties, rumRecoveryCreateData.additionalProperties); @@ -156,7 +156,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCreateData {\n"); + sb.append("class RUMRecoveryCreateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateRequest.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateRequest.java index 56530d1aa83..f6230a3b737 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryCreateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCreateRequest { +public class RUMRecoveryCreateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryCreateData data; + private RUMRecoveryCreateData data; - public RumRecoveryCreateRequest() {} + public RUMRecoveryCreateRequest() {} @JsonCreator - public RumRecoveryCreateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumRecoveryCreateData data) { + public RUMRecoveryCreateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMRecoveryCreateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryCreateRequest data(RumRecoveryCreateData data) { + public RUMRecoveryCreateRequest data(RUMRecoveryCreateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumRecoveryCreateRequest data(RumRecoveryCreateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCreateData getData() { + public RUMRecoveryCreateData getData() { return data; } - public void setData(RumRecoveryCreateData data) { + public void setData(RUMRecoveryCreateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumRecoveryCreateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCreateRequest + * @return RUMRecoveryCreateRequest */ @JsonAnySetter - public RumRecoveryCreateRequest putAdditionalProperty(String key, Object value) { + public RUMRecoveryCreateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCreateRequest object is equal to o. */ + /** Return true if this RUMRecoveryCreateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCreateRequest rumRecoveryCreateRequest = (RumRecoveryCreateRequest) o; + RUMRecoveryCreateRequest rumRecoveryCreateRequest = (RUMRecoveryCreateRequest) o; return Objects.equals(this.data, rumRecoveryCreateRequest.data) && Objects.equals(this.additionalProperties, rumRecoveryCreateRequest.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCreateRequest {\n"); + sb.append("class RUMRecoveryCreateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponse.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponse.java index 66b5302f6f8..edcf9b7df7f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponse.java @@ -18,25 +18,25 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryCreateResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryCreateResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCreateResponse { +public class RUMRecoveryCreateResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryCreateResponseData data; + private RUMRecoveryCreateResponseData data; - public RumRecoveryCreateResponse() {} + public RUMRecoveryCreateResponse() {} @JsonCreator - public RumRecoveryCreateResponse( + public RUMRecoveryCreateResponse( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumRecoveryCreateResponseData data) { + RUMRecoveryCreateResponseData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryCreateResponse data(RumRecoveryCreateResponseData data) { + public RUMRecoveryCreateResponse data(RUMRecoveryCreateResponseData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumRecoveryCreateResponse data(RumRecoveryCreateResponseData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCreateResponseData getData() { + public RUMRecoveryCreateResponseData getData() { return data; } - public void setData(RumRecoveryCreateResponseData data) { + public void setData(RUMRecoveryCreateResponseData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumRecoveryCreateResponseData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCreateResponse + * @return RUMRecoveryCreateResponse */ @JsonAnySetter - public RumRecoveryCreateResponse putAdditionalProperty(String key, Object value) { + public RUMRecoveryCreateResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCreateResponse object is equal to o. */ + /** Return true if this RUMRecoveryCreateResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,7 +115,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCreateResponse rumRecoveryCreateResponse = (RumRecoveryCreateResponse) o; + RUMRecoveryCreateResponse rumRecoveryCreateResponse = (RUMRecoveryCreateResponse) o; return Objects.equals(this.data, rumRecoveryCreateResponse.data) && Objects.equals( this.additionalProperties, rumRecoveryCreateResponse.additionalProperties); @@ -129,7 +129,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCreateResponse {\n"); + sb.append("class RUMRecoveryCreateResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponseAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponseAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponseAttributes.java index 0e6e0889352..5960edfaf56 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponseAttributes.java @@ -20,23 +20,23 @@ /** Accepted recovery request. */ @JsonPropertyOrder({ - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_CREATED_AT, - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_DISCOVERY_STATUS, - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_ESTIMATED_COUNT, - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_FAILED_SESSIONS, - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_PROCESSED_SESSIONS, - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_STATUS, - RumRecoveryCreateResponseAttributes.JSON_PROPERTY_TOTAL_SESSIONS + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_CREATED_AT, + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_DISCOVERY_STATUS, + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_ESTIMATED_COUNT, + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_FAILED_SESSIONS, + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_PROCESSED_SESSIONS, + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_STATUS, + RUMRecoveryCreateResponseAttributes.JSON_PROPERTY_TOTAL_SESSIONS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCreateResponseAttributes { +public class RUMRecoveryCreateResponseAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CREATED_AT = "created_at"; private OffsetDateTime createdAt; public static final String JSON_PROPERTY_DISCOVERY_STATUS = "discovery_status"; - private RumRecoveryDiscoveryStatus discoveryStatus; + private RUMRecoveryDiscoveryStatus discoveryStatus; public static final String JSON_PROPERTY_ESTIMATED_COUNT = "estimated_count"; private Long estimatedCount; @@ -48,21 +48,21 @@ public class RumRecoveryCreateResponseAttributes { private Long processedSessions; public static final String JSON_PROPERTY_STATUS = "status"; - private RumRecoveryRequestStatus status; + private RUMRecoveryRequestStatus status; public static final String JSON_PROPERTY_TOTAL_SESSIONS = "total_sessions"; private Long totalSessions; - public RumRecoveryCreateResponseAttributes() {} + public RUMRecoveryCreateResponseAttributes() {} @JsonCreator - public RumRecoveryCreateResponseAttributes( + public RUMRecoveryCreateResponseAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, @JsonProperty(required = true, value = JSON_PROPERTY_FAILED_SESSIONS) Long failedSessions, @JsonProperty(required = true, value = JSON_PROPERTY_PROCESSED_SESSIONS) Long processedSessions, @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) - RumRecoveryRequestStatus status) { + RUMRecoveryRequestStatus status) { this.createdAt = createdAt; this.failedSessions = failedSessions; this.processedSessions = processedSessions; @@ -70,7 +70,7 @@ public RumRecoveryCreateResponseAttributes( this.unparsed |= !status.isValid(); } - public RumRecoveryCreateResponseAttributes createdAt(OffsetDateTime createdAt) { + public RUMRecoveryCreateResponseAttributes createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } @@ -90,8 +90,8 @@ public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - public RumRecoveryCreateResponseAttributes discoveryStatus( - RumRecoveryDiscoveryStatus discoveryStatus) { + public RUMRecoveryCreateResponseAttributes discoveryStatus( + RUMRecoveryDiscoveryStatus discoveryStatus) { this.discoveryStatus = discoveryStatus; this.unparsed |= !discoveryStatus.isValid(); return this; @@ -105,18 +105,18 @@ public RumRecoveryCreateResponseAttributes discoveryStatus( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DISCOVERY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRecoveryDiscoveryStatus getDiscoveryStatus() { + public RUMRecoveryDiscoveryStatus getDiscoveryStatus() { return discoveryStatus; } - public void setDiscoveryStatus(RumRecoveryDiscoveryStatus discoveryStatus) { + public void setDiscoveryStatus(RUMRecoveryDiscoveryStatus discoveryStatus) { if (!discoveryStatus.isValid()) { this.unparsed = true; } this.discoveryStatus = discoveryStatus; } - public RumRecoveryCreateResponseAttributes estimatedCount(Long estimatedCount) { + public RUMRecoveryCreateResponseAttributes estimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; return this; } @@ -138,7 +138,7 @@ public void setEstimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; } - public RumRecoveryCreateResponseAttributes failedSessions(Long failedSessions) { + public RUMRecoveryCreateResponseAttributes failedSessions(Long failedSessions) { this.failedSessions = failedSessions; return this; } @@ -158,7 +158,7 @@ public void setFailedSessions(Long failedSessions) { this.failedSessions = failedSessions; } - public RumRecoveryCreateResponseAttributes processedSessions(Long processedSessions) { + public RUMRecoveryCreateResponseAttributes processedSessions(Long processedSessions) { this.processedSessions = processedSessions; return this; } @@ -178,7 +178,7 @@ public void setProcessedSessions(Long processedSessions) { this.processedSessions = processedSessions; } - public RumRecoveryCreateResponseAttributes status(RumRecoveryRequestStatus status) { + public RUMRecoveryCreateResponseAttributes status(RUMRecoveryRequestStatus status) { this.status = status; this.unparsed |= !status.isValid(); return this; @@ -191,18 +191,18 @@ public RumRecoveryCreateResponseAttributes status(RumRecoveryRequestStatus statu */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestStatus getStatus() { + public RUMRecoveryRequestStatus getStatus() { return status; } - public void setStatus(RumRecoveryRequestStatus status) { + public void setStatus(RUMRecoveryRequestStatus status) { if (!status.isValid()) { this.unparsed = true; } this.status = status; } - public RumRecoveryCreateResponseAttributes totalSessions(Long totalSessions) { + public RUMRecoveryCreateResponseAttributes totalSessions(Long totalSessions) { this.totalSessions = totalSessions; return this; } @@ -235,10 +235,10 @@ public void setTotalSessions(Long totalSessions) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCreateResponseAttributes + * @return RUMRecoveryCreateResponseAttributes */ @JsonAnySetter - public RumRecoveryCreateResponseAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryCreateResponseAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -269,7 +269,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCreateResponseAttributes object is equal to o. */ + /** Return true if this RUMRecoveryCreateResponseAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -278,8 +278,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCreateResponseAttributes rumRecoveryCreateResponseAttributes = - (RumRecoveryCreateResponseAttributes) o; + RUMRecoveryCreateResponseAttributes rumRecoveryCreateResponseAttributes = + (RUMRecoveryCreateResponseAttributes) o; return Objects.equals(this.createdAt, rumRecoveryCreateResponseAttributes.createdAt) && Objects.equals(this.discoveryStatus, rumRecoveryCreateResponseAttributes.discoveryStatus) && Objects.equals(this.estimatedCount, rumRecoveryCreateResponseAttributes.estimatedCount) @@ -308,7 +308,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCreateResponseAttributes {\n"); + sb.append("class RUMRecoveryCreateResponseAttributes {\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" discoveryStatus: ").append(toIndentedString(discoveryStatus)).append("\n"); sb.append(" estimatedCount: ").append(toIndentedString(estimatedCount)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponseData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponseData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponseData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponseData.java index 5df9eba7945..ecdd15ecb2b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryCreateResponseData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryCreateResponseData.java @@ -19,31 +19,31 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryCreateResponseData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryCreateResponseData.JSON_PROPERTY_ID, - RumRecoveryCreateResponseData.JSON_PROPERTY_TYPE + RUMRecoveryCreateResponseData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryCreateResponseData.JSON_PROPERTY_ID, + RUMRecoveryCreateResponseData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryCreateResponseData { +public class RUMRecoveryCreateResponseData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryCreateResponseAttributes attributes; + private RUMRecoveryCreateResponseAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRecoveryRequestType type; + private RUMRecoveryRequestType type; - public RumRecoveryCreateResponseData() {} + public RUMRecoveryCreateResponseData() {} @JsonCreator - public RumRecoveryCreateResponseData( + public RUMRecoveryCreateResponseData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryCreateResponseAttributes attributes, + RUMRecoveryCreateResponseAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRecoveryRequestType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRecoveryRequestType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumRecoveryCreateResponseData( this.unparsed |= !type.isValid(); } - public RumRecoveryCreateResponseData attributes(RumRecoveryCreateResponseAttributes attributes) { + public RUMRecoveryCreateResponseData attributes(RUMRecoveryCreateResponseAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumRecoveryCreateResponseData attributes(RumRecoveryCreateResponseAttribu */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryCreateResponseAttributes getAttributes() { + public RUMRecoveryCreateResponseAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryCreateResponseAttributes attributes) { + public void setAttributes(RUMRecoveryCreateResponseAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryCreateResponseData id(String id) { + public RUMRecoveryCreateResponseData id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryCreateResponseData type(RumRecoveryRequestType type) { + public RUMRecoveryCreateResponseData type(RUMRecoveryRequestType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumRecoveryCreateResponseData type(RumRecoveryRequestType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestType getType() { + public RUMRecoveryRequestType getType() { return type; } - public void setType(RumRecoveryRequestType type) { + public void setType(RUMRecoveryRequestType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumRecoveryRequestType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryCreateResponseData + * @return RUMRecoveryCreateResponseData */ @JsonAnySetter - public RumRecoveryCreateResponseData putAdditionalProperty(String key, Object value) { + public RUMRecoveryCreateResponseData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryCreateResponseData object is equal to o. */ + /** Return true if this RUMRecoveryCreateResponseData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryCreateResponseData rumRecoveryCreateResponseData = (RumRecoveryCreateResponseData) o; + RUMRecoveryCreateResponseData rumRecoveryCreateResponseData = (RUMRecoveryCreateResponseData) o; return Objects.equals(this.attributes, rumRecoveryCreateResponseData.attributes) && Objects.equals(this.id, rumRecoveryCreateResponseData.id) && Objects.equals(this.type, rumRecoveryCreateResponseData.type) @@ -190,7 +190,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryCreateResponseData {\n"); + sb.append("class RUMRecoveryCreateResponseData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryDiscoveryStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryDiscoveryStatus.java similarity index 51% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryDiscoveryStatus.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryDiscoveryStatus.java index 0247a9fe38b..e418eb91ed6 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryDiscoveryStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryDiscoveryStatus.java @@ -19,8 +19,8 @@ import java.util.Set; /** Batch discovery state. QUEUED indicates that the request is waiting for processing capacity. */ -@JsonSerialize(using = RumRecoveryDiscoveryStatus.RumRecoveryDiscoveryStatusSerializer.class) -public class RumRecoveryDiscoveryStatus extends ModelEnum { +@JsonSerialize(using = RUMRecoveryDiscoveryStatus.RUMRecoveryDiscoveryStatusSerializer.class) +public class RUMRecoveryDiscoveryStatus extends ModelEnum { private static final Set allowedValues = new HashSet( @@ -34,45 +34,45 @@ public class RumRecoveryDiscoveryStatus extends ModelEnum { "FAILED", "CANCELLED")); - public static final RumRecoveryDiscoveryStatus QUEUED = new RumRecoveryDiscoveryStatus("QUEUED"); - public static final RumRecoveryDiscoveryStatus PENDING = - new RumRecoveryDiscoveryStatus("PENDING"); - public static final RumRecoveryDiscoveryStatus SLICING = - new RumRecoveryDiscoveryStatus("SLICING"); - public static final RumRecoveryDiscoveryStatus DISCOVERED = - new RumRecoveryDiscoveryStatus("DISCOVERED"); - public static final RumRecoveryDiscoveryStatus PROCESSING = - new RumRecoveryDiscoveryStatus("PROCESSING"); - public static final RumRecoveryDiscoveryStatus COMPLETED = - new RumRecoveryDiscoveryStatus("COMPLETED"); - public static final RumRecoveryDiscoveryStatus FAILED = new RumRecoveryDiscoveryStatus("FAILED"); - public static final RumRecoveryDiscoveryStatus CANCELLED = - new RumRecoveryDiscoveryStatus("CANCELLED"); + public static final RUMRecoveryDiscoveryStatus QUEUED = new RUMRecoveryDiscoveryStatus("QUEUED"); + public static final RUMRecoveryDiscoveryStatus PENDING = + new RUMRecoveryDiscoveryStatus("PENDING"); + public static final RUMRecoveryDiscoveryStatus SLICING = + new RUMRecoveryDiscoveryStatus("SLICING"); + public static final RUMRecoveryDiscoveryStatus DISCOVERED = + new RUMRecoveryDiscoveryStatus("DISCOVERED"); + public static final RUMRecoveryDiscoveryStatus PROCESSING = + new RUMRecoveryDiscoveryStatus("PROCESSING"); + public static final RUMRecoveryDiscoveryStatus COMPLETED = + new RUMRecoveryDiscoveryStatus("COMPLETED"); + public static final RUMRecoveryDiscoveryStatus FAILED = new RUMRecoveryDiscoveryStatus("FAILED"); + public static final RUMRecoveryDiscoveryStatus CANCELLED = + new RUMRecoveryDiscoveryStatus("CANCELLED"); - RumRecoveryDiscoveryStatus(String value) { + RUMRecoveryDiscoveryStatus(String value) { super(value, allowedValues); } - public static class RumRecoveryDiscoveryStatusSerializer - extends StdSerializer { - public RumRecoveryDiscoveryStatusSerializer(Class t) { + public static class RUMRecoveryDiscoveryStatusSerializer + extends StdSerializer { + public RUMRecoveryDiscoveryStatusSerializer(Class t) { super(t); } - public RumRecoveryDiscoveryStatusSerializer() { + public RUMRecoveryDiscoveryStatusSerializer() { this(null); } @Override public void serialize( - RumRecoveryDiscoveryStatus value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryDiscoveryStatus value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryDiscoveryStatus fromValue(String value) { - return new RumRecoveryDiscoveryStatus(value); + public static RUMRecoveryDiscoveryStatus fromValue(String value) { + return new RUMRecoveryDiscoveryStatus(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestAttributes.java index c5277b75e31..3109b5371d1 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestAttributes.java @@ -25,36 +25,36 @@ * omitted for targeted requests. */ @JsonPropertyOrder({ - RumRecoveryRequestAttributes.JSON_PROPERTY_CREATED_AT, - RumRecoveryRequestAttributes.JSON_PROPERTY_DISCOVERY_STATUS, - RumRecoveryRequestAttributes.JSON_PROPERTY_ERROR_MESSAGE, - RumRecoveryRequestAttributes.JSON_PROPERTY_ESTIMATED_COUNT, - RumRecoveryRequestAttributes.JSON_PROPERTY_FAILED_SESSIONS, - RumRecoveryRequestAttributes.JSON_PROPERTY_FROM, - RumRecoveryRequestAttributes.JSON_PROPERTY_PROCESSED_SESSIONS, - RumRecoveryRequestAttributes.JSON_PROPERTY_QUERY, - RumRecoveryRequestAttributes.JSON_PROPERTY_REQUEST_TYPE, - RumRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS, - RumRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS_DISCOVERED, - RumRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS_FAILED, - RumRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS_PROCESSED, - RumRecoveryRequestAttributes.JSON_PROPERTY_SLICES_COMPLETED, - RumRecoveryRequestAttributes.JSON_PROPERTY_SLICES_FAILED, - RumRecoveryRequestAttributes.JSON_PROPERTY_STATUS, - RumRecoveryRequestAttributes.JSON_PROPERTY_TO, - RumRecoveryRequestAttributes.JSON_PROPERTY_TOTAL_SESSIONS, - RumRecoveryRequestAttributes.JSON_PROPERTY_TOTAL_SLICES, - RumRecoveryRequestAttributes.JSON_PROPERTY_UPDATED_AT + RUMRecoveryRequestAttributes.JSON_PROPERTY_CREATED_AT, + RUMRecoveryRequestAttributes.JSON_PROPERTY_DISCOVERY_STATUS, + RUMRecoveryRequestAttributes.JSON_PROPERTY_ERROR_MESSAGE, + RUMRecoveryRequestAttributes.JSON_PROPERTY_ESTIMATED_COUNT, + RUMRecoveryRequestAttributes.JSON_PROPERTY_FAILED_SESSIONS, + RUMRecoveryRequestAttributes.JSON_PROPERTY_FROM, + RUMRecoveryRequestAttributes.JSON_PROPERTY_PROCESSED_SESSIONS, + RUMRecoveryRequestAttributes.JSON_PROPERTY_QUERY, + RUMRecoveryRequestAttributes.JSON_PROPERTY_REQUEST_TYPE, + RUMRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS, + RUMRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS_DISCOVERED, + RUMRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS_FAILED, + RUMRecoveryRequestAttributes.JSON_PROPERTY_SESSIONS_PROCESSED, + RUMRecoveryRequestAttributes.JSON_PROPERTY_SLICES_COMPLETED, + RUMRecoveryRequestAttributes.JSON_PROPERTY_SLICES_FAILED, + RUMRecoveryRequestAttributes.JSON_PROPERTY_STATUS, + RUMRecoveryRequestAttributes.JSON_PROPERTY_TO, + RUMRecoveryRequestAttributes.JSON_PROPERTY_TOTAL_SESSIONS, + RUMRecoveryRequestAttributes.JSON_PROPERTY_TOTAL_SLICES, + RUMRecoveryRequestAttributes.JSON_PROPERTY_UPDATED_AT }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryRequestAttributes { +public class RUMRecoveryRequestAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CREATED_AT = "created_at"; private OffsetDateTime createdAt; public static final String JSON_PROPERTY_DISCOVERY_STATUS = "discovery_status"; - private RumRecoveryDiscoveryStatus discoveryStatus; + private RUMRecoveryDiscoveryStatus discoveryStatus; public static final String JSON_PROPERTY_ERROR_MESSAGE = "error_message"; private String errorMessage; @@ -75,10 +75,10 @@ public class RumRecoveryRequestAttributes { private String query; public static final String JSON_PROPERTY_REQUEST_TYPE = "request_type"; - private RumRecoveryBatchRequestType requestType; + private RUMRecoveryBatchRequestType requestType; public static final String JSON_PROPERTY_SESSIONS = "sessions"; - private List sessions = null; + private List sessions = null; public static final String JSON_PROPERTY_SESSIONS_DISCOVERED = "sessions_discovered"; private Long sessionsDiscovered; @@ -96,7 +96,7 @@ public class RumRecoveryRequestAttributes { private Long slicesFailed; public static final String JSON_PROPERTY_STATUS = "status"; - private RumRecoveryRequestStatus status; + private RUMRecoveryRequestStatus status; public static final String JSON_PROPERTY_TO = "to"; private Long to; @@ -110,15 +110,15 @@ public class RumRecoveryRequestAttributes { public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; private OffsetDateTime updatedAt; - public RumRecoveryRequestAttributes() {} + public RUMRecoveryRequestAttributes() {} @JsonCreator - public RumRecoveryRequestAttributes( + public RUMRecoveryRequestAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_CREATED_AT) OffsetDateTime createdAt, @JsonProperty(required = true, value = JSON_PROPERTY_FAILED_SESSIONS) Long failedSessions, @JsonProperty(required = true, value = JSON_PROPERTY_PROCESSED_SESSIONS) Long processedSessions, - @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) RumRecoveryRequestStatus status, + @JsonProperty(required = true, value = JSON_PROPERTY_STATUS) RUMRecoveryRequestStatus status, @JsonProperty(required = true, value = JSON_PROPERTY_UPDATED_AT) OffsetDateTime updatedAt) { this.createdAt = createdAt; this.failedSessions = failedSessions; @@ -128,7 +128,7 @@ public RumRecoveryRequestAttributes( this.updatedAt = updatedAt; } - public RumRecoveryRequestAttributes createdAt(OffsetDateTime createdAt) { + public RUMRecoveryRequestAttributes createdAt(OffsetDateTime createdAt) { this.createdAt = createdAt; return this; } @@ -148,7 +148,7 @@ public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; } - public RumRecoveryRequestAttributes discoveryStatus(RumRecoveryDiscoveryStatus discoveryStatus) { + public RUMRecoveryRequestAttributes discoveryStatus(RUMRecoveryDiscoveryStatus discoveryStatus) { this.discoveryStatus = discoveryStatus; this.unparsed |= !discoveryStatus.isValid(); return this; @@ -162,18 +162,18 @@ public RumRecoveryRequestAttributes discoveryStatus(RumRecoveryDiscoveryStatus d @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DISCOVERY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRecoveryDiscoveryStatus getDiscoveryStatus() { + public RUMRecoveryDiscoveryStatus getDiscoveryStatus() { return discoveryStatus; } - public void setDiscoveryStatus(RumRecoveryDiscoveryStatus discoveryStatus) { + public void setDiscoveryStatus(RUMRecoveryDiscoveryStatus discoveryStatus) { if (!discoveryStatus.isValid()) { this.unparsed = true; } this.discoveryStatus = discoveryStatus; } - public RumRecoveryRequestAttributes errorMessage(String errorMessage) { + public RUMRecoveryRequestAttributes errorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } @@ -194,7 +194,7 @@ public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } - public RumRecoveryRequestAttributes estimatedCount(Long estimatedCount) { + public RUMRecoveryRequestAttributes estimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; return this; } @@ -216,7 +216,7 @@ public void setEstimatedCount(Long estimatedCount) { this.estimatedCount = estimatedCount; } - public RumRecoveryRequestAttributes failedSessions(Long failedSessions) { + public RUMRecoveryRequestAttributes failedSessions(Long failedSessions) { this.failedSessions = failedSessions; return this; } @@ -236,7 +236,7 @@ public void setFailedSessions(Long failedSessions) { this.failedSessions = failedSessions; } - public RumRecoveryRequestAttributes from(Long from) { + public RUMRecoveryRequestAttributes from(Long from) { this.from = from; return this; } @@ -257,7 +257,7 @@ public void setFrom(Long from) { this.from = from; } - public RumRecoveryRequestAttributes processedSessions(Long processedSessions) { + public RUMRecoveryRequestAttributes processedSessions(Long processedSessions) { this.processedSessions = processedSessions; return this; } @@ -277,7 +277,7 @@ public void setProcessedSessions(Long processedSessions) { this.processedSessions = processedSessions; } - public RumRecoveryRequestAttributes query(String query) { + public RUMRecoveryRequestAttributes query(String query) { this.query = query; return this; } @@ -298,7 +298,7 @@ public void setQuery(String query) { this.query = query; } - public RumRecoveryRequestAttributes requestType(RumRecoveryBatchRequestType requestType) { + public RUMRecoveryRequestAttributes requestType(RUMRecoveryBatchRequestType requestType) { this.requestType = requestType; this.unparsed |= !requestType.isValid(); return this; @@ -312,28 +312,28 @@ public RumRecoveryRequestAttributes requestType(RumRecoveryBatchRequestType requ @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRecoveryBatchRequestType getRequestType() { + public RUMRecoveryBatchRequestType getRequestType() { return requestType; } - public void setRequestType(RumRecoveryBatchRequestType requestType) { + public void setRequestType(RUMRecoveryBatchRequestType requestType) { if (!requestType.isValid()) { this.unparsed = true; } this.requestType = requestType; } - public RumRecoveryRequestAttributes sessions(List sessions) { + public RUMRecoveryRequestAttributes sessions(List sessions) { this.sessions = sessions; if (sessions != null) { - for (RumRecoveredSession item : sessions) { + for (RUMRecoveredSession item : sessions) { this.unparsed |= item.unparsed; } } return this; } - public RumRecoveryRequestAttributes addSessionsItem(RumRecoveredSession sessionsItem) { + public RUMRecoveryRequestAttributes addSessionsItem(RUMRecoveredSession sessionsItem) { if (this.sessions == null) { this.sessions = new ArrayList<>(); } @@ -350,20 +350,20 @@ public RumRecoveryRequestAttributes addSessionsItem(RumRecoveredSession sessions @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SESSIONS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getSessions() { + public List getSessions() { return sessions; } - public void setSessions(List sessions) { + public void setSessions(List sessions) { this.sessions = sessions; if (sessions != null) { - for (RumRecoveredSession item : sessions) { + for (RUMRecoveredSession item : sessions) { this.unparsed |= item.unparsed; } } } - public RumRecoveryRequestAttributes sessionsDiscovered(Long sessionsDiscovered) { + public RUMRecoveryRequestAttributes sessionsDiscovered(Long sessionsDiscovered) { this.sessionsDiscovered = sessionsDiscovered; return this; } @@ -384,7 +384,7 @@ public void setSessionsDiscovered(Long sessionsDiscovered) { this.sessionsDiscovered = sessionsDiscovered; } - public RumRecoveryRequestAttributes sessionsFailed(Long sessionsFailed) { + public RUMRecoveryRequestAttributes sessionsFailed(Long sessionsFailed) { this.sessionsFailed = sessionsFailed; return this; } @@ -405,7 +405,7 @@ public void setSessionsFailed(Long sessionsFailed) { this.sessionsFailed = sessionsFailed; } - public RumRecoveryRequestAttributes sessionsProcessed(Long sessionsProcessed) { + public RUMRecoveryRequestAttributes sessionsProcessed(Long sessionsProcessed) { this.sessionsProcessed = sessionsProcessed; return this; } @@ -426,7 +426,7 @@ public void setSessionsProcessed(Long sessionsProcessed) { this.sessionsProcessed = sessionsProcessed; } - public RumRecoveryRequestAttributes slicesCompleted(Long slicesCompleted) { + public RUMRecoveryRequestAttributes slicesCompleted(Long slicesCompleted) { this.slicesCompleted = slicesCompleted; return this; } @@ -447,7 +447,7 @@ public void setSlicesCompleted(Long slicesCompleted) { this.slicesCompleted = slicesCompleted; } - public RumRecoveryRequestAttributes slicesFailed(Long slicesFailed) { + public RUMRecoveryRequestAttributes slicesFailed(Long slicesFailed) { this.slicesFailed = slicesFailed; return this; } @@ -468,7 +468,7 @@ public void setSlicesFailed(Long slicesFailed) { this.slicesFailed = slicesFailed; } - public RumRecoveryRequestAttributes status(RumRecoveryRequestStatus status) { + public RUMRecoveryRequestAttributes status(RUMRecoveryRequestStatus status) { this.status = status; this.unparsed |= !status.isValid(); return this; @@ -481,18 +481,18 @@ public RumRecoveryRequestAttributes status(RumRecoveryRequestStatus status) { */ @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestStatus getStatus() { + public RUMRecoveryRequestStatus getStatus() { return status; } - public void setStatus(RumRecoveryRequestStatus status) { + public void setStatus(RUMRecoveryRequestStatus status) { if (!status.isValid()) { this.unparsed = true; } this.status = status; } - public RumRecoveryRequestAttributes to(Long to) { + public RUMRecoveryRequestAttributes to(Long to) { this.to = to; return this; } @@ -513,7 +513,7 @@ public void setTo(Long to) { this.to = to; } - public RumRecoveryRequestAttributes totalSessions(Long totalSessions) { + public RUMRecoveryRequestAttributes totalSessions(Long totalSessions) { this.totalSessions = totalSessions; return this; } @@ -534,7 +534,7 @@ public void setTotalSessions(Long totalSessions) { this.totalSessions = totalSessions; } - public RumRecoveryRequestAttributes totalSlices(Long totalSlices) { + public RUMRecoveryRequestAttributes totalSlices(Long totalSlices) { this.totalSlices = totalSlices; return this; } @@ -555,7 +555,7 @@ public void setTotalSlices(Long totalSlices) { this.totalSlices = totalSlices; } - public RumRecoveryRequestAttributes updatedAt(OffsetDateTime updatedAt) { + public RUMRecoveryRequestAttributes updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } @@ -587,10 +587,10 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryRequestAttributes + * @return RUMRecoveryRequestAttributes */ @JsonAnySetter - public RumRecoveryRequestAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoveryRequestAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -621,7 +621,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryRequestAttributes object is equal to o. */ + /** Return true if this RUMRecoveryRequestAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -630,7 +630,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryRequestAttributes rumRecoveryRequestAttributes = (RumRecoveryRequestAttributes) o; + RUMRecoveryRequestAttributes rumRecoveryRequestAttributes = (RUMRecoveryRequestAttributes) o; return Objects.equals(this.createdAt, rumRecoveryRequestAttributes.createdAt) && Objects.equals(this.discoveryStatus, rumRecoveryRequestAttributes.discoveryStatus) && Objects.equals(this.errorMessage, rumRecoveryRequestAttributes.errorMessage) @@ -684,7 +684,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryRequestAttributes {\n"); + sb.append("class RUMRecoveryRequestAttributes {\n"); sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append(" discoveryStatus: ").append(toIndentedString(discoveryStatus)).append("\n"); sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestData.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestData.java index 67f31d2783f..c1459edb166 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestData.java @@ -19,31 +19,31 @@ /** JSON:API resource. */ @JsonPropertyOrder({ - RumRecoveryRequestData.JSON_PROPERTY_ATTRIBUTES, - RumRecoveryRequestData.JSON_PROPERTY_ID, - RumRecoveryRequestData.JSON_PROPERTY_TYPE + RUMRecoveryRequestData.JSON_PROPERTY_ATTRIBUTES, + RUMRecoveryRequestData.JSON_PROPERTY_ID, + RUMRecoveryRequestData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryRequestData { +public class RUMRecoveryRequestData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRecoveryRequestAttributes attributes; + private RUMRecoveryRequestAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRecoveryRequestType type; + private RUMRecoveryRequestType type; - public RumRecoveryRequestData() {} + public RUMRecoveryRequestData() {} @JsonCreator - public RumRecoveryRequestData( + public RUMRecoveryRequestData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRecoveryRequestAttributes attributes, + RUMRecoveryRequestAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRecoveryRequestType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRecoveryRequestType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumRecoveryRequestData( this.unparsed |= !type.isValid(); } - public RumRecoveryRequestData attributes(RumRecoveryRequestAttributes attributes) { + public RUMRecoveryRequestData attributes(RUMRecoveryRequestAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumRecoveryRequestData attributes(RumRecoveryRequestAttributes attributes */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestAttributes getAttributes() { + public RUMRecoveryRequestAttributes getAttributes() { return attributes; } - public void setAttributes(RumRecoveryRequestAttributes attributes) { + public void setAttributes(RUMRecoveryRequestAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRecoveryRequestData id(String id) { + public RUMRecoveryRequestData id(String id) { this.id = id; return this; } @@ -96,7 +96,7 @@ public void setId(String id) { this.id = id; } - public RumRecoveryRequestData type(RumRecoveryRequestType type) { + public RUMRecoveryRequestData type(RUMRecoveryRequestType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -109,11 +109,11 @@ public RumRecoveryRequestData type(RumRecoveryRequestType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestType getType() { + public RUMRecoveryRequestType getType() { return type; } - public void setType(RumRecoveryRequestType type) { + public void setType(RUMRecoveryRequestType type) { if (!type.isValid()) { this.unparsed = true; } @@ -132,10 +132,10 @@ public void setType(RumRecoveryRequestType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryRequestData + * @return RUMRecoveryRequestData */ @JsonAnySetter - public RumRecoveryRequestData putAdditionalProperty(String key, Object value) { + public RUMRecoveryRequestData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -166,7 +166,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryRequestData object is equal to o. */ + /** Return true if this RUMRecoveryRequestData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -175,7 +175,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryRequestData rumRecoveryRequestData = (RumRecoveryRequestData) o; + RUMRecoveryRequestData rumRecoveryRequestData = (RUMRecoveryRequestData) o; return Objects.equals(this.attributes, rumRecoveryRequestData.attributes) && Objects.equals(this.id, rumRecoveryRequestData.id) && Objects.equals(this.type, rumRecoveryRequestData.type) @@ -190,7 +190,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryRequestData {\n"); + sb.append("class RUMRecoveryRequestData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestResponse.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestResponse.java index 59f00f0917a..68f1d75ba3a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestResponse.java @@ -18,24 +18,24 @@ import java.util.Objects; /** JSON:API document. */ -@JsonPropertyOrder({RumRecoveryRequestResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRecoveryRequestResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoveryRequestResponse { +public class RUMRecoveryRequestResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRecoveryRequestData data; + private RUMRecoveryRequestData data; - public RumRecoveryRequestResponse() {} + public RUMRecoveryRequestResponse() {} @JsonCreator - public RumRecoveryRequestResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumRecoveryRequestData data) { + public RUMRecoveryRequestResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMRecoveryRequestData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRecoveryRequestResponse data(RumRecoveryRequestData data) { + public RUMRecoveryRequestResponse data(RUMRecoveryRequestData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumRecoveryRequestResponse data(RumRecoveryRequestData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRecoveryRequestData getData() { + public RUMRecoveryRequestData getData() { return data; } - public void setData(RumRecoveryRequestData data) { + public void setData(RUMRecoveryRequestData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumRecoveryRequestData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoveryRequestResponse + * @return RUMRecoveryRequestResponse */ @JsonAnySetter - public RumRecoveryRequestResponse putAdditionalProperty(String key, Object value) { + public RUMRecoveryRequestResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoveryRequestResponse object is equal to o. */ + /** Return true if this RUMRecoveryRequestResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoveryRequestResponse rumRecoveryRequestResponse = (RumRecoveryRequestResponse) o; + RUMRecoveryRequestResponse rumRecoveryRequestResponse = (RUMRecoveryRequestResponse) o; return Objects.equals(this.data, rumRecoveryRequestResponse.data) && Objects.equals( this.additionalProperties, rumRecoveryRequestResponse.additionalProperties); @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoveryRequestResponse {\n"); + sb.append("class RUMRecoveryRequestResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestStatus.java similarity index 56% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestStatus.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestStatus.java index 64cadd1085a..c537b984244 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestStatus.java @@ -19,47 +19,47 @@ import java.util.Set; /** Recovery request state. */ -@JsonSerialize(using = RumRecoveryRequestStatus.RumRecoveryRequestStatusSerializer.class) -public class RumRecoveryRequestStatus extends ModelEnum { +@JsonSerialize(using = RUMRecoveryRequestStatus.RUMRecoveryRequestStatusSerializer.class) +public class RUMRecoveryRequestStatus extends ModelEnum { private static final Set allowedValues = new HashSet( Arrays.asList("PENDING", "PROCESSING", "COMPLETED", "FAILED", "CANCELLED", "EXPIRED")); - public static final RumRecoveryRequestStatus PENDING = new RumRecoveryRequestStatus("PENDING"); - public static final RumRecoveryRequestStatus PROCESSING = - new RumRecoveryRequestStatus("PROCESSING"); - public static final RumRecoveryRequestStatus COMPLETED = - new RumRecoveryRequestStatus("COMPLETED"); - public static final RumRecoveryRequestStatus FAILED = new RumRecoveryRequestStatus("FAILED"); - public static final RumRecoveryRequestStatus CANCELLED = - new RumRecoveryRequestStatus("CANCELLED"); - public static final RumRecoveryRequestStatus EXPIRED = new RumRecoveryRequestStatus("EXPIRED"); + public static final RUMRecoveryRequestStatus PENDING = new RUMRecoveryRequestStatus("PENDING"); + public static final RUMRecoveryRequestStatus PROCESSING = + new RUMRecoveryRequestStatus("PROCESSING"); + public static final RUMRecoveryRequestStatus COMPLETED = + new RUMRecoveryRequestStatus("COMPLETED"); + public static final RUMRecoveryRequestStatus FAILED = new RUMRecoveryRequestStatus("FAILED"); + public static final RUMRecoveryRequestStatus CANCELLED = + new RUMRecoveryRequestStatus("CANCELLED"); + public static final RUMRecoveryRequestStatus EXPIRED = new RUMRecoveryRequestStatus("EXPIRED"); - RumRecoveryRequestStatus(String value) { + RUMRecoveryRequestStatus(String value) { super(value, allowedValues); } - public static class RumRecoveryRequestStatusSerializer - extends StdSerializer { - public RumRecoveryRequestStatusSerializer(Class t) { + public static class RUMRecoveryRequestStatusSerializer + extends StdSerializer { + public RUMRecoveryRequestStatusSerializer(Class t) { super(t); } - public RumRecoveryRequestStatusSerializer() { + public RUMRecoveryRequestStatusSerializer() { this(null); } @Override public void serialize( - RumRecoveryRequestStatus value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryRequestStatus value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryRequestStatus fromValue(String value) { - return new RumRecoveryRequestStatus(value); + public static RUMRecoveryRequestStatus fromValue(String value) { + return new RUMRecoveryRequestStatus(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestType.java index d64df2e4163..6ce78a4eeaf 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoveryRequestType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoveryRequestType.java @@ -19,39 +19,39 @@ import java.util.Set; /** JSON:API resource type. */ -@JsonSerialize(using = RumRecoveryRequestType.RumRecoveryRequestTypeSerializer.class) -public class RumRecoveryRequestType extends ModelEnum { +@JsonSerialize(using = RUMRecoveryRequestType.RUMRecoveryRequestTypeSerializer.class) +public class RUMRecoveryRequestType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_recovery_request")); - public static final RumRecoveryRequestType RUM_RECOVERY_REQUEST = - new RumRecoveryRequestType("rum_recovery_request"); + public static final RUMRecoveryRequestType RUM_RECOVERY_REQUEST = + new RUMRecoveryRequestType("rum_recovery_request"); - RumRecoveryRequestType(String value) { + RUMRecoveryRequestType(String value) { super(value, allowedValues); } - public static class RumRecoveryRequestTypeSerializer - extends StdSerializer { - public RumRecoveryRequestTypeSerializer(Class t) { + public static class RUMRecoveryRequestTypeSerializer + extends StdSerializer { + public RUMRecoveryRequestTypeSerializer(Class t) { super(t); } - public RumRecoveryRequestTypeSerializer() { + public RUMRecoveryRequestTypeSerializer() { this(null); } @Override public void serialize( - RumRecoveryRequestType value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoveryRequestType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoveryRequestType fromValue(String value) { - return new RumRecoveryRequestType(value); + public static RUMRecoveryRequestType fromValue(String value) { + return new RUMRecoveryRequestType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionInput.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionInput.java similarity index 88% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionInput.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionInput.java index e612ff27856..b1a7a306eea 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionInput.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionInput.java @@ -20,12 +20,12 @@ /** Archived session to recover. */ @JsonPropertyOrder({ - RumRecoverySessionInput.JSON_PROPERTY_APPLICATION_ID, - RumRecoverySessionInput.JSON_PROPERTY_SESSION_ID + RUMRecoverySessionInput.JSON_PROPERTY_APPLICATION_ID, + RUMRecoverySessionInput.JSON_PROPERTY_SESSION_ID }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoverySessionInput { +public class RUMRecoverySessionInput { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_APPLICATION_ID = "application_id"; private UUID applicationId; @@ -33,17 +33,17 @@ public class RumRecoverySessionInput { public static final String JSON_PROPERTY_SESSION_ID = "session_id"; private UUID sessionId; - public RumRecoverySessionInput() {} + public RUMRecoverySessionInput() {} @JsonCreator - public RumRecoverySessionInput( + public RUMRecoverySessionInput( @JsonProperty(required = true, value = JSON_PROPERTY_APPLICATION_ID) UUID applicationId, @JsonProperty(required = true, value = JSON_PROPERTY_SESSION_ID) UUID sessionId) { this.applicationId = applicationId; this.sessionId = sessionId; } - public RumRecoverySessionInput applicationId(UUID applicationId) { + public RUMRecoverySessionInput applicationId(UUID applicationId) { this.applicationId = applicationId; return this; } @@ -63,7 +63,7 @@ public void setApplicationId(UUID applicationId) { this.applicationId = applicationId; } - public RumRecoverySessionInput sessionId(UUID sessionId) { + public RUMRecoverySessionInput sessionId(UUID sessionId) { this.sessionId = sessionId; return this; } @@ -95,10 +95,10 @@ public void setSessionId(UUID sessionId) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoverySessionInput + * @return RUMRecoverySessionInput */ @JsonAnySetter - public RumRecoverySessionInput putAdditionalProperty(String key, Object value) { + public RUMRecoverySessionInput putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -129,7 +129,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoverySessionInput object is equal to o. */ + /** Return true if this RUMRecoverySessionInput object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -138,7 +138,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoverySessionInput rumRecoverySessionInput = (RumRecoverySessionInput) o; + RUMRecoverySessionInput rumRecoverySessionInput = (RUMRecoverySessionInput) o; return Objects.equals(this.applicationId, rumRecoverySessionInput.applicationId) && Objects.equals(this.sessionId, rumRecoverySessionInput.sessionId) && Objects.equals(this.additionalProperties, rumRecoverySessionInput.additionalProperties); @@ -152,7 +152,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoverySessionInput {\n"); + sb.append("class RUMRecoverySessionInput {\n"); sb.append(" applicationId: ").append(toIndentedString(applicationId)).append("\n"); sb.append(" sessionId: ").append(toIndentedString(sessionId)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionStatus.java similarity index 55% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionStatus.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionStatus.java index 7958504da40..85c1f30c59f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionStatus.java @@ -22,8 +22,8 @@ * Session availability or recovery state. RECOVERED indicates that the session is * ready to query. */ -@JsonSerialize(using = RumRecoverySessionStatus.RumRecoverySessionStatusSerializer.class) -public class RumRecoverySessionStatus extends ModelEnum { +@JsonSerialize(using = RUMRecoverySessionStatus.RUMRecoverySessionStatusSerializer.class) +public class RUMRecoverySessionStatus extends ModelEnum { private static final Set allowedValues = new HashSet( @@ -37,43 +37,43 @@ public class RumRecoverySessionStatus extends ModelEnum { "EXPIRED", "CANCELLED")); - public static final RumRecoverySessionStatus AVAILABLE = - new RumRecoverySessionStatus("AVAILABLE"); - public static final RumRecoverySessionStatus PENDING = new RumRecoverySessionStatus("PENDING"); - public static final RumRecoverySessionStatus PROCESSING = - new RumRecoverySessionStatus("PROCESSING"); - public static final RumRecoverySessionStatus RECOVERED = - new RumRecoverySessionStatus("RECOVERED"); - public static final RumRecoverySessionStatus FAILED = new RumRecoverySessionStatus("FAILED"); - public static final RumRecoverySessionStatus RETAINED = new RumRecoverySessionStatus("RETAINED"); - public static final RumRecoverySessionStatus EXPIRED = new RumRecoverySessionStatus("EXPIRED"); - public static final RumRecoverySessionStatus CANCELLED = - new RumRecoverySessionStatus("CANCELLED"); + public static final RUMRecoverySessionStatus AVAILABLE = + new RUMRecoverySessionStatus("AVAILABLE"); + public static final RUMRecoverySessionStatus PENDING = new RUMRecoverySessionStatus("PENDING"); + public static final RUMRecoverySessionStatus PROCESSING = + new RUMRecoverySessionStatus("PROCESSING"); + public static final RUMRecoverySessionStatus RECOVERED = + new RUMRecoverySessionStatus("RECOVERED"); + public static final RUMRecoverySessionStatus FAILED = new RUMRecoverySessionStatus("FAILED"); + public static final RUMRecoverySessionStatus RETAINED = new RUMRecoverySessionStatus("RETAINED"); + public static final RUMRecoverySessionStatus EXPIRED = new RUMRecoverySessionStatus("EXPIRED"); + public static final RUMRecoverySessionStatus CANCELLED = + new RUMRecoverySessionStatus("CANCELLED"); - RumRecoverySessionStatus(String value) { + RUMRecoverySessionStatus(String value) { super(value, allowedValues); } - public static class RumRecoverySessionStatusSerializer - extends StdSerializer { - public RumRecoverySessionStatusSerializer(Class t) { + public static class RUMRecoverySessionStatusSerializer + extends StdSerializer { + public RUMRecoverySessionStatusSerializer(Class t) { super(t); } - public RumRecoverySessionStatusSerializer() { + public RUMRecoverySessionStatusSerializer() { this(null); } @Override public void serialize( - RumRecoverySessionStatus value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoverySessionStatus value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoverySessionStatus fromValue(String value) { - return new RumRecoverySessionStatus(value); + public static RUMRecoverySessionStatus fromValue(String value) { + return new RUMRecoverySessionStatus(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionsCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionsCreateAttributes.java similarity index 78% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionsCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionsCreateAttributes.java index 5f7a84c254a..12c2b4232c2 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionsCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionsCreateAttributes.java @@ -21,33 +21,33 @@ /** Recover 1 to 100 explicit archived sessions. Session IDs must be unique within the request. */ @JsonPropertyOrder({ - RumRecoverySessionsCreateAttributes.JSON_PROPERTY_REQUEST_TYPE, - RumRecoverySessionsCreateAttributes.JSON_PROPERTY_SESSIONS + RUMRecoverySessionsCreateAttributes.JSON_PROPERTY_REQUEST_TYPE, + RUMRecoverySessionsCreateAttributes.JSON_PROPERTY_SESSIONS }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRecoverySessionsCreateAttributes { +public class RUMRecoverySessionsCreateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_REQUEST_TYPE = "request_type"; - private RumRecoverySessionsRequestType requestType = RumRecoverySessionsRequestType.SESSIONS; + private RUMRecoverySessionsRequestType requestType = RUMRecoverySessionsRequestType.SESSIONS; public static final String JSON_PROPERTY_SESSIONS = "sessions"; - private List sessions = new ArrayList<>(); + private List sessions = new ArrayList<>(); - public RumRecoverySessionsCreateAttributes() {} + public RUMRecoverySessionsCreateAttributes() {} @JsonCreator - public RumRecoverySessionsCreateAttributes( + public RUMRecoverySessionsCreateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_SESSIONS) - List sessions) { + List sessions) { this.sessions = sessions; - for (RumRecoverySessionInput item : sessions) { + for (RUMRecoverySessionInput item : sessions) { this.unparsed |= item.unparsed; } } - public RumRecoverySessionsCreateAttributes requestType( - RumRecoverySessionsRequestType requestType) { + public RUMRecoverySessionsCreateAttributes requestType( + RUMRecoverySessionsRequestType requestType) { this.requestType = requestType; this.unparsed |= !requestType.isValid(); return this; @@ -61,26 +61,26 @@ public RumRecoverySessionsCreateAttributes requestType( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_REQUEST_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRecoverySessionsRequestType getRequestType() { + public RUMRecoverySessionsRequestType getRequestType() { return requestType; } - public void setRequestType(RumRecoverySessionsRequestType requestType) { + public void setRequestType(RUMRecoverySessionsRequestType requestType) { if (!requestType.isValid()) { this.unparsed = true; } this.requestType = requestType; } - public RumRecoverySessionsCreateAttributes sessions(List sessions) { + public RUMRecoverySessionsCreateAttributes sessions(List sessions) { this.sessions = sessions; - for (RumRecoverySessionInput item : sessions) { + for (RUMRecoverySessionInput item : sessions) { this.unparsed |= item.unparsed; } return this; } - public RumRecoverySessionsCreateAttributes addSessionsItem(RumRecoverySessionInput sessionsItem) { + public RUMRecoverySessionsCreateAttributes addSessionsItem(RUMRecoverySessionInput sessionsItem) { this.sessions.add(sessionsItem); this.unparsed |= sessionsItem.unparsed; return this; @@ -93,14 +93,14 @@ public RumRecoverySessionsCreateAttributes addSessionsItem(RumRecoverySessionInp */ @JsonProperty(JSON_PROPERTY_SESSIONS) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getSessions() { + public List getSessions() { return sessions; } - public void setSessions(List sessions) { + public void setSessions(List sessions) { this.sessions = sessions; if (sessions != null) { - for (RumRecoverySessionInput item : sessions) { + for (RUMRecoverySessionInput item : sessions) { this.unparsed |= item.unparsed; } } @@ -118,10 +118,10 @@ public void setSessions(List sessions) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRecoverySessionsCreateAttributes + * @return RUMRecoverySessionsCreateAttributes */ @JsonAnySetter - public RumRecoverySessionsCreateAttributes putAdditionalProperty(String key, Object value) { + public RUMRecoverySessionsCreateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -152,7 +152,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRecoverySessionsCreateAttributes object is equal to o. */ + /** Return true if this RUMRecoverySessionsCreateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -161,8 +161,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRecoverySessionsCreateAttributes rumRecoverySessionsCreateAttributes = - (RumRecoverySessionsCreateAttributes) o; + RUMRecoverySessionsCreateAttributes rumRecoverySessionsCreateAttributes = + (RUMRecoverySessionsCreateAttributes) o; return Objects.equals(this.requestType, rumRecoverySessionsCreateAttributes.requestType) && Objects.equals(this.sessions, rumRecoverySessionsCreateAttributes.sessions) && Objects.equals( @@ -177,7 +177,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRecoverySessionsCreateAttributes {\n"); + sb.append("class RUMRecoverySessionsCreateAttributes {\n"); sb.append(" requestType: ").append(toIndentedString(requestType)).append("\n"); sb.append(" sessions: ").append(toIndentedString(sessions)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionsRequestType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionsRequestType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionsRequestType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionsRequestType.java index b1e3c493681..bba69321694 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRecoverySessionsRequestType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRecoverySessionsRequestType.java @@ -20,38 +20,38 @@ /** Targeted recovery. Omitted request_type defaults to sessions. */ @JsonSerialize( - using = RumRecoverySessionsRequestType.RumRecoverySessionsRequestTypeSerializer.class) -public class RumRecoverySessionsRequestType extends ModelEnum { + using = RUMRecoverySessionsRequestType.RUMRecoverySessionsRequestTypeSerializer.class) +public class RUMRecoverySessionsRequestType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("sessions")); - public static final RumRecoverySessionsRequestType SESSIONS = - new RumRecoverySessionsRequestType("sessions"); + public static final RUMRecoverySessionsRequestType SESSIONS = + new RUMRecoverySessionsRequestType("sessions"); - RumRecoverySessionsRequestType(String value) { + RUMRecoverySessionsRequestType(String value) { super(value, allowedValues); } - public static class RumRecoverySessionsRequestTypeSerializer - extends StdSerializer { - public RumRecoverySessionsRequestTypeSerializer(Class t) { + public static class RUMRecoverySessionsRequestTypeSerializer + extends StdSerializer { + public RUMRecoverySessionsRequestTypeSerializer(Class t) { super(t); } - public RumRecoverySessionsRequestTypeSerializer() { + public RUMRecoverySessionsRequestTypeSerializer() { this(null); } @Override public void serialize( - RumRecoverySessionsRequestType value, JsonGenerator jgen, SerializerProvider provider) + RUMRecoverySessionsRequestType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRecoverySessionsRequestType fromValue(String value) { - return new RumRecoverySessionsRequestType(value); + public static RUMRecoverySessionsRequestType fromValue(String value) { + return new RUMRecoverySessionsRequestType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterAttributes.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterAttributes.java index 91f2ffaa5a4..7398ef5b4d3 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterAttributes.java @@ -18,26 +18,26 @@ /** The object describing attributes of a RUM retention filter. */ @JsonPropertyOrder({ - RumRetentionFilterAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, - RumRetentionFilterAttributes.JSON_PROPERTY_ENABLED, - RumRetentionFilterAttributes.JSON_PROPERTY_EVENT_TYPE, - RumRetentionFilterAttributes.JSON_PROPERTY_NAME, - RumRetentionFilterAttributes.JSON_PROPERTY_QUERY, - RumRetentionFilterAttributes.JSON_PROPERTY_SAMPLE_RATE, - RumRetentionFilterAttributes.JSON_PROPERTY_TRACK + RUMRetentionFilterAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, + RUMRetentionFilterAttributes.JSON_PROPERTY_ENABLED, + RUMRetentionFilterAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMRetentionFilterAttributes.JSON_PROPERTY_NAME, + RUMRetentionFilterAttributes.JSON_PROPERTY_QUERY, + RUMRetentionFilterAttributes.JSON_PROPERTY_SAMPLE_RATE, + RUMRetentionFilterAttributes.JSON_PROPERTY_TRACK }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterAttributes { +public class RUMRetentionFilterAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CROSS_PRODUCT_SAMPLING = "cross_product_sampling"; - private RumCrossProductSampling crossProductSampling; + private RUMCrossProductSampling crossProductSampling; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumRetentionFilterEventType eventType; + private RUMRetentionFilterEventType eventType; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -49,10 +49,10 @@ public class RumRetentionFilterAttributes { private Double sampleRate; public static final String JSON_PROPERTY_TRACK = "track"; - private RumRetentionFilterTrack track; + private RUMRetentionFilterTrack track; - public RumRetentionFilterAttributes crossProductSampling( - RumCrossProductSampling crossProductSampling) { + public RUMRetentionFilterAttributes crossProductSampling( + RUMCrossProductSampling crossProductSampling) { this.crossProductSampling = crossProductSampling; this.unparsed |= crossProductSampling.unparsed; return this; @@ -66,18 +66,18 @@ public RumRetentionFilterAttributes crossProductSampling( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CROSS_PRODUCT_SAMPLING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumCrossProductSampling getCrossProductSampling() { + public RUMCrossProductSampling getCrossProductSampling() { return crossProductSampling; } - public void setCrossProductSampling(RumCrossProductSampling crossProductSampling) { + public void setCrossProductSampling(RUMCrossProductSampling crossProductSampling) { this.crossProductSampling = crossProductSampling; if (crossProductSampling != null) { this.unparsed |= crossProductSampling.unparsed; } } - public RumRetentionFilterAttributes enabled(Boolean enabled) { + public RUMRetentionFilterAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -98,7 +98,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumRetentionFilterAttributes eventType(RumRetentionFilterEventType eventType) { + public RUMRetentionFilterAttributes eventType(RUMRetentionFilterEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -112,18 +112,18 @@ public RumRetentionFilterAttributes eventType(RumRetentionFilterEventType eventT @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterEventType getEventType() { + public RUMRetentionFilterEventType getEventType() { return eventType; } - public void setEventType(RumRetentionFilterEventType eventType) { + public void setEventType(RUMRetentionFilterEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumRetentionFilterAttributes name(String name) { + public RUMRetentionFilterAttributes name(String name) { this.name = name; return this; } @@ -144,7 +144,7 @@ public void setName(String name) { this.name = name; } - public RumRetentionFilterAttributes query(String query) { + public RUMRetentionFilterAttributes query(String query) { this.query = query; return this; } @@ -165,7 +165,7 @@ public void setQuery(String query) { this.query = query; } - public RumRetentionFilterAttributes sampleRate(Double sampleRate) { + public RUMRetentionFilterAttributes sampleRate(Double sampleRate) { this.sampleRate = sampleRate; return this; } @@ -187,7 +187,7 @@ public void setSampleRate(Double sampleRate) { this.sampleRate = sampleRate; } - public RumRetentionFilterAttributes track(RumRetentionFilterTrack track) { + public RUMRetentionFilterAttributes track(RUMRetentionFilterTrack track) { this.track = track; this.unparsed |= !track.isValid(); return this; @@ -201,11 +201,11 @@ public RumRetentionFilterAttributes track(RumRetentionFilterTrack track) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TRACK) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterTrack getTrack() { + public RUMRetentionFilterTrack getTrack() { return track; } - public void setTrack(RumRetentionFilterTrack track) { + public void setTrack(RUMRetentionFilterTrack track) { if (!track.isValid()) { this.unparsed = true; } @@ -224,10 +224,10 @@ public void setTrack(RumRetentionFilterTrack track) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterAttributes + * @return RUMRetentionFilterAttributes */ @JsonAnySetter - public RumRetentionFilterAttributes putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -258,7 +258,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterAttributes object is equal to o. */ + /** Return true if this RUMRetentionFilterAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -267,7 +267,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterAttributes rumRetentionFilterAttributes = (RumRetentionFilterAttributes) o; + RUMRetentionFilterAttributes rumRetentionFilterAttributes = (RUMRetentionFilterAttributes) o; return Objects.equals( this.crossProductSampling, rumRetentionFilterAttributes.crossProductSampling) && Objects.equals(this.enabled, rumRetentionFilterAttributes.enabled) @@ -296,7 +296,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterAttributes {\n"); + sb.append("class RUMRetentionFilterAttributes {\n"); sb.append(" crossProductSampling: ") .append(toIndentedString(crossProductSampling)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateAttributes.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateAttributes.java index c3bf42ce094..9c6e9fa9004 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateAttributes.java @@ -19,25 +19,25 @@ /** The object describing attributes of a RUM retention filter to create. */ @JsonPropertyOrder({ - RumRetentionFilterCreateAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, - RumRetentionFilterCreateAttributes.JSON_PROPERTY_ENABLED, - RumRetentionFilterCreateAttributes.JSON_PROPERTY_EVENT_TYPE, - RumRetentionFilterCreateAttributes.JSON_PROPERTY_NAME, - RumRetentionFilterCreateAttributes.JSON_PROPERTY_QUERY, - RumRetentionFilterCreateAttributes.JSON_PROPERTY_SAMPLE_RATE + RUMRetentionFilterCreateAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, + RUMRetentionFilterCreateAttributes.JSON_PROPERTY_ENABLED, + RUMRetentionFilterCreateAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMRetentionFilterCreateAttributes.JSON_PROPERTY_NAME, + RUMRetentionFilterCreateAttributes.JSON_PROPERTY_QUERY, + RUMRetentionFilterCreateAttributes.JSON_PROPERTY_SAMPLE_RATE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterCreateAttributes { +public class RUMRetentionFilterCreateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CROSS_PRODUCT_SAMPLING = "cross_product_sampling"; - private RumCrossProductSamplingCreate crossProductSampling; + private RUMCrossProductSamplingCreate crossProductSampling; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumRetentionFilterEventType eventType; + private RUMRetentionFilterEventType eventType; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -48,12 +48,12 @@ public class RumRetentionFilterCreateAttributes { public static final String JSON_PROPERTY_SAMPLE_RATE = "sample_rate"; private Double sampleRate; - public RumRetentionFilterCreateAttributes() {} + public RUMRetentionFilterCreateAttributes() {} @JsonCreator - public RumRetentionFilterCreateAttributes( + public RUMRetentionFilterCreateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_EVENT_TYPE) - RumRetentionFilterEventType eventType, + RUMRetentionFilterEventType eventType, @JsonProperty(required = true, value = JSON_PROPERTY_NAME) String name, @JsonProperty(required = true, value = JSON_PROPERTY_SAMPLE_RATE) Double sampleRate) { this.eventType = eventType; @@ -62,8 +62,8 @@ public RumRetentionFilterCreateAttributes( this.sampleRate = sampleRate; } - public RumRetentionFilterCreateAttributes crossProductSampling( - RumCrossProductSamplingCreate crossProductSampling) { + public RUMRetentionFilterCreateAttributes crossProductSampling( + RUMCrossProductSamplingCreate crossProductSampling) { this.crossProductSampling = crossProductSampling; this.unparsed |= crossProductSampling.unparsed; return this; @@ -77,18 +77,18 @@ public RumRetentionFilterCreateAttributes crossProductSampling( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CROSS_PRODUCT_SAMPLING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumCrossProductSamplingCreate getCrossProductSampling() { + public RUMCrossProductSamplingCreate getCrossProductSampling() { return crossProductSampling; } - public void setCrossProductSampling(RumCrossProductSamplingCreate crossProductSampling) { + public void setCrossProductSampling(RUMCrossProductSamplingCreate crossProductSampling) { this.crossProductSampling = crossProductSampling; if (crossProductSampling != null) { this.unparsed |= crossProductSampling.unparsed; } } - public RumRetentionFilterCreateAttributes enabled(Boolean enabled) { + public RUMRetentionFilterCreateAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -109,7 +109,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumRetentionFilterCreateAttributes eventType(RumRetentionFilterEventType eventType) { + public RUMRetentionFilterCreateAttributes eventType(RUMRetentionFilterEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -122,18 +122,18 @@ public RumRetentionFilterCreateAttributes eventType(RumRetentionFilterEventType */ @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterEventType getEventType() { + public RUMRetentionFilterEventType getEventType() { return eventType; } - public void setEventType(RumRetentionFilterEventType eventType) { + public void setEventType(RUMRetentionFilterEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumRetentionFilterCreateAttributes name(String name) { + public RUMRetentionFilterCreateAttributes name(String name) { this.name = name; return this; } @@ -153,7 +153,7 @@ public void setName(String name) { this.name = name; } - public RumRetentionFilterCreateAttributes query(String query) { + public RUMRetentionFilterCreateAttributes query(String query) { this.query = query; return this; } @@ -174,7 +174,7 @@ public void setQuery(String query) { this.query = query; } - public RumRetentionFilterCreateAttributes sampleRate(Double sampleRate) { + public RUMRetentionFilterCreateAttributes sampleRate(Double sampleRate) { this.sampleRate = sampleRate; return this; } @@ -207,10 +207,10 @@ public void setSampleRate(Double sampleRate) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterCreateAttributes + * @return RUMRetentionFilterCreateAttributes */ @JsonAnySetter - public RumRetentionFilterCreateAttributes putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterCreateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -241,7 +241,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterCreateAttributes object is equal to o. */ + /** Return true if this RUMRetentionFilterCreateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -250,8 +250,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterCreateAttributes rumRetentionFilterCreateAttributes = - (RumRetentionFilterCreateAttributes) o; + RUMRetentionFilterCreateAttributes rumRetentionFilterCreateAttributes = + (RUMRetentionFilterCreateAttributes) o; return Objects.equals( this.crossProductSampling, rumRetentionFilterCreateAttributes.crossProductSampling) && Objects.equals(this.enabled, rumRetentionFilterCreateAttributes.enabled) @@ -272,7 +272,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterCreateAttributes {\n"); + sb.append("class RUMRetentionFilterCreateAttributes {\n"); sb.append(" crossProductSampling: ") .append(toIndentedString(crossProductSampling)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateData.java index e8a6187b9b0..5673a3934e1 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateData.java @@ -19,33 +19,33 @@ /** The new RUM retention filter properties to create. */ @JsonPropertyOrder({ - RumRetentionFilterCreateData.JSON_PROPERTY_ATTRIBUTES, - RumRetentionFilterCreateData.JSON_PROPERTY_TYPE + RUMRetentionFilterCreateData.JSON_PROPERTY_ATTRIBUTES, + RUMRetentionFilterCreateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterCreateData { +public class RUMRetentionFilterCreateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRetentionFilterCreateAttributes attributes; + private RUMRetentionFilterCreateAttributes attributes; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRetentionFilterType type = RumRetentionFilterType.RETENTION_FILTERS; + private RUMRetentionFilterType type = RUMRetentionFilterType.RETENTION_FILTERS; - public RumRetentionFilterCreateData() {} + public RUMRetentionFilterCreateData() {} @JsonCreator - public RumRetentionFilterCreateData( + public RUMRetentionFilterCreateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRetentionFilterCreateAttributes attributes, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRetentionFilterType type) { + RUMRetentionFilterCreateAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRetentionFilterType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.type = type; this.unparsed |= !type.isValid(); } - public RumRetentionFilterCreateData attributes(RumRetentionFilterCreateAttributes attributes) { + public RUMRetentionFilterCreateData attributes(RUMRetentionFilterCreateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -58,18 +58,18 @@ public RumRetentionFilterCreateData attributes(RumRetentionFilterCreateAttribute */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterCreateAttributes getAttributes() { + public RUMRetentionFilterCreateAttributes getAttributes() { return attributes; } - public void setAttributes(RumRetentionFilterCreateAttributes attributes) { + public void setAttributes(RUMRetentionFilterCreateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRetentionFilterCreateData type(RumRetentionFilterType type) { + public RUMRetentionFilterCreateData type(RUMRetentionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -82,11 +82,11 @@ public RumRetentionFilterCreateData type(RumRetentionFilterType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterType getType() { + public RUMRetentionFilterType getType() { return type; } - public void setType(RumRetentionFilterType type) { + public void setType(RUMRetentionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -105,10 +105,10 @@ public void setType(RumRetentionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterCreateData + * @return RUMRetentionFilterCreateData */ @JsonAnySetter - public RumRetentionFilterCreateData putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterCreateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -139,7 +139,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterCreateData object is equal to o. */ + /** Return true if this RUMRetentionFilterCreateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -148,7 +148,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterCreateData rumRetentionFilterCreateData = (RumRetentionFilterCreateData) o; + RUMRetentionFilterCreateData rumRetentionFilterCreateData = (RUMRetentionFilterCreateData) o; return Objects.equals(this.attributes, rumRetentionFilterCreateData.attributes) && Objects.equals(this.type, rumRetentionFilterCreateData.type) && Objects.equals( @@ -163,7 +163,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterCreateData {\n"); + sb.append("class RUMRetentionFilterCreateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateRequest.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateRequest.java index 91bcb71e99f..dc098394de7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterCreateRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** The RUM retention filter body to create. */ -@JsonPropertyOrder({RumRetentionFilterCreateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionFilterCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterCreateRequest { +public class RUMRetentionFilterCreateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRetentionFilterCreateData data; + private RUMRetentionFilterCreateData data; - public RumRetentionFilterCreateRequest() {} + public RUMRetentionFilterCreateRequest() {} @JsonCreator - public RumRetentionFilterCreateRequest( + public RUMRetentionFilterCreateRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumRetentionFilterCreateData data) { + RUMRetentionFilterCreateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRetentionFilterCreateRequest data(RumRetentionFilterCreateData data) { + public RUMRetentionFilterCreateRequest data(RUMRetentionFilterCreateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumRetentionFilterCreateRequest data(RumRetentionFilterCreateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterCreateData getData() { + public RUMRetentionFilterCreateData getData() { return data; } - public void setData(RumRetentionFilterCreateData data) { + public void setData(RUMRetentionFilterCreateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumRetentionFilterCreateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterCreateRequest + * @return RUMRetentionFilterCreateRequest */ @JsonAnySetter - public RumRetentionFilterCreateRequest putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterCreateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterCreateRequest object is equal to o. */ + /** Return true if this RUMRetentionFilterCreateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterCreateRequest rumRetentionFilterCreateRequest = - (RumRetentionFilterCreateRequest) o; + RUMRetentionFilterCreateRequest rumRetentionFilterCreateRequest = + (RUMRetentionFilterCreateRequest) o; return Objects.equals(this.data, rumRetentionFilterCreateRequest.data) && Objects.equals( this.additionalProperties, rumRetentionFilterCreateRequest.additionalProperties); @@ -130,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterCreateRequest {\n"); + sb.append("class RUMRetentionFilterCreateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterData.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterData.java index 050f1511114..0b0f593ce9f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterData.java @@ -18,28 +18,28 @@ /** The RUM retention filter. */ @JsonPropertyOrder({ - RumRetentionFilterData.JSON_PROPERTY_ATTRIBUTES, - RumRetentionFilterData.JSON_PROPERTY_ID, - RumRetentionFilterData.JSON_PROPERTY_META, - RumRetentionFilterData.JSON_PROPERTY_TYPE + RUMRetentionFilterData.JSON_PROPERTY_ATTRIBUTES, + RUMRetentionFilterData.JSON_PROPERTY_ID, + RUMRetentionFilterData.JSON_PROPERTY_META, + RUMRetentionFilterData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterData { +public class RUMRetentionFilterData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRetentionFilterAttributes attributes; + private RUMRetentionFilterAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_META = "meta"; - private RumRetentionFilterMeta meta; + private RUMRetentionFilterMeta meta; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRetentionFilterType type = RumRetentionFilterType.RETENTION_FILTERS; + private RUMRetentionFilterType type = RUMRetentionFilterType.RETENTION_FILTERS; - public RumRetentionFilterData attributes(RumRetentionFilterAttributes attributes) { + public RUMRetentionFilterData attributes(RUMRetentionFilterAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -53,18 +53,18 @@ public RumRetentionFilterData attributes(RumRetentionFilterAttributes attributes @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterAttributes getAttributes() { + public RUMRetentionFilterAttributes getAttributes() { return attributes; } - public void setAttributes(RumRetentionFilterAttributes attributes) { + public void setAttributes(RUMRetentionFilterAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRetentionFilterData id(String id) { + public RUMRetentionFilterData id(String id) { this.id = id; return this; } @@ -85,7 +85,7 @@ public void setId(String id) { this.id = id; } - public RumRetentionFilterData meta(RumRetentionFilterMeta meta) { + public RUMRetentionFilterData meta(RUMRetentionFilterMeta meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -99,18 +99,18 @@ public RumRetentionFilterData meta(RumRetentionFilterMeta meta) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterMeta getMeta() { + public RUMRetentionFilterMeta getMeta() { return meta; } - public void setMeta(RumRetentionFilterMeta meta) { + public void setMeta(RUMRetentionFilterMeta meta) { this.meta = meta; if (meta != null) { this.unparsed |= meta.unparsed; } } - public RumRetentionFilterData type(RumRetentionFilterType type) { + public RUMRetentionFilterData type(RUMRetentionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -124,11 +124,11 @@ public RumRetentionFilterData type(RumRetentionFilterType type) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterType getType() { + public RUMRetentionFilterType getType() { return type; } - public void setType(RumRetentionFilterType type) { + public void setType(RUMRetentionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -147,10 +147,10 @@ public void setType(RumRetentionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterData + * @return RUMRetentionFilterData */ @JsonAnySetter - public RumRetentionFilterData putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -181,7 +181,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterData object is equal to o. */ + /** Return true if this RUMRetentionFilterData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -190,7 +190,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterData rumRetentionFilterData = (RumRetentionFilterData) o; + RUMRetentionFilterData rumRetentionFilterData = (RUMRetentionFilterData) o; return Objects.equals(this.attributes, rumRetentionFilterData.attributes) && Objects.equals(this.id, rumRetentionFilterData.id) && Objects.equals(this.meta, rumRetentionFilterData.meta) @@ -206,7 +206,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterData {\n"); + sb.append("class RUMRetentionFilterData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterEditionMode.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterEditionMode.java similarity index 60% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterEditionMode.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterEditionMode.java index 4129a02eea1..7cd7b6e8fe8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterEditionMode.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterEditionMode.java @@ -22,43 +22,43 @@ * The types of changes the retention filter accepts. complete filters can be updated * and deleted. limited filters are default retention filters that can't be deleted. */ -@JsonSerialize(using = RumRetentionFilterEditionMode.RumRetentionFilterEditionModeSerializer.class) -public class RumRetentionFilterEditionMode extends ModelEnum { +@JsonSerialize(using = RUMRetentionFilterEditionMode.RUMRetentionFilterEditionModeSerializer.class) +public class RUMRetentionFilterEditionMode extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("unknown", "complete", "limited")); - public static final RumRetentionFilterEditionMode UNKNOWN = - new RumRetentionFilterEditionMode("unknown"); - public static final RumRetentionFilterEditionMode COMPLETE = - new RumRetentionFilterEditionMode("complete"); - public static final RumRetentionFilterEditionMode LIMITED = - new RumRetentionFilterEditionMode("limited"); + public static final RUMRetentionFilterEditionMode UNKNOWN = + new RUMRetentionFilterEditionMode("unknown"); + public static final RUMRetentionFilterEditionMode COMPLETE = + new RUMRetentionFilterEditionMode("complete"); + public static final RUMRetentionFilterEditionMode LIMITED = + new RUMRetentionFilterEditionMode("limited"); - RumRetentionFilterEditionMode(String value) { + RUMRetentionFilterEditionMode(String value) { super(value, allowedValues); } - public static class RumRetentionFilterEditionModeSerializer - extends StdSerializer { - public RumRetentionFilterEditionModeSerializer(Class t) { + public static class RUMRetentionFilterEditionModeSerializer + extends StdSerializer { + public RUMRetentionFilterEditionModeSerializer(Class t) { super(t); } - public RumRetentionFilterEditionModeSerializer() { + public RUMRetentionFilterEditionModeSerializer() { this(null); } @Override public void serialize( - RumRetentionFilterEditionMode value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionFilterEditionMode value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionFilterEditionMode fromValue(String value) { - return new RumRetentionFilterEditionMode(value); + public static RUMRetentionFilterEditionMode fromValue(String value) { + return new RUMRetentionFilterEditionMode(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterEventType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterEventType.java similarity index 51% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterEventType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterEventType.java index 37d7be1891c..4ad92e05182 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterEventType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterEventType.java @@ -19,49 +19,49 @@ import java.util.Set; /** The type of RUM events to filter on. */ -@JsonSerialize(using = RumRetentionFilterEventType.RumRetentionFilterEventTypeSerializer.class) -public class RumRetentionFilterEventType extends ModelEnum { +@JsonSerialize(using = RUMRetentionFilterEventType.RUMRetentionFilterEventTypeSerializer.class) +public class RUMRetentionFilterEventType extends ModelEnum { private static final Set allowedValues = new HashSet( Arrays.asList("session", "view", "action", "error", "resource", "long_task", "vital")); - public static final RumRetentionFilterEventType SESSION = - new RumRetentionFilterEventType("session"); - public static final RumRetentionFilterEventType VIEW = new RumRetentionFilterEventType("view"); - public static final RumRetentionFilterEventType ACTION = - new RumRetentionFilterEventType("action"); - public static final RumRetentionFilterEventType ERROR = new RumRetentionFilterEventType("error"); - public static final RumRetentionFilterEventType RESOURCE = - new RumRetentionFilterEventType("resource"); - public static final RumRetentionFilterEventType LONG_TASK = - new RumRetentionFilterEventType("long_task"); - public static final RumRetentionFilterEventType VITAL = new RumRetentionFilterEventType("vital"); + public static final RUMRetentionFilterEventType SESSION = + new RUMRetentionFilterEventType("session"); + public static final RUMRetentionFilterEventType VIEW = new RUMRetentionFilterEventType("view"); + public static final RUMRetentionFilterEventType ACTION = + new RUMRetentionFilterEventType("action"); + public static final RUMRetentionFilterEventType ERROR = new RUMRetentionFilterEventType("error"); + public static final RUMRetentionFilterEventType RESOURCE = + new RUMRetentionFilterEventType("resource"); + public static final RUMRetentionFilterEventType LONG_TASK = + new RUMRetentionFilterEventType("long_task"); + public static final RUMRetentionFilterEventType VITAL = new RUMRetentionFilterEventType("vital"); - RumRetentionFilterEventType(String value) { + RUMRetentionFilterEventType(String value) { super(value, allowedValues); } - public static class RumRetentionFilterEventTypeSerializer - extends StdSerializer { - public RumRetentionFilterEventTypeSerializer(Class t) { + public static class RUMRetentionFilterEventTypeSerializer + extends StdSerializer { + public RUMRetentionFilterEventTypeSerializer(Class t) { super(t); } - public RumRetentionFilterEventTypeSerializer() { + public RUMRetentionFilterEventTypeSerializer() { this(null); } @Override public void serialize( - RumRetentionFilterEventType value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionFilterEventType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionFilterEventType fromValue(String value) { - return new RumRetentionFilterEventType(value); + public static RUMRetentionFilterEventType fromValue(String value) { + return new RUMRetentionFilterEventType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterMeta.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterMeta.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterMeta.java index ff4386755b7..5704d545977 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterMeta.java @@ -18,20 +18,20 @@ /** Metadata about the retention filter. */ @JsonPropertyOrder({ - RumRetentionFilterMeta.JSON_PROPERTY_EDITION_MODE, - RumRetentionFilterMeta.JSON_PROPERTY_SOURCE, - RumRetentionFilterMeta.JSON_PROPERTY_UPDATED_AT, - RumRetentionFilterMeta.JSON_PROPERTY_UPDATED_BY_HANDLE + RUMRetentionFilterMeta.JSON_PROPERTY_EDITION_MODE, + RUMRetentionFilterMeta.JSON_PROPERTY_SOURCE, + RUMRetentionFilterMeta.JSON_PROPERTY_UPDATED_AT, + RUMRetentionFilterMeta.JSON_PROPERTY_UPDATED_BY_HANDLE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterMeta { +public class RUMRetentionFilterMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_EDITION_MODE = "edition_mode"; - private RumRetentionFilterEditionMode editionMode; + private RUMRetentionFilterEditionMode editionMode; public static final String JSON_PROPERTY_SOURCE = "source"; - private RumRetentionFilterMetaSource source; + private RUMRetentionFilterMetaSource source; public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; private Long updatedAt; @@ -39,7 +39,7 @@ public class RumRetentionFilterMeta { public static final String JSON_PROPERTY_UPDATED_BY_HANDLE = "updated_by_handle"; private String updatedByHandle; - public RumRetentionFilterMeta editionMode(RumRetentionFilterEditionMode editionMode) { + public RUMRetentionFilterMeta editionMode(RUMRetentionFilterEditionMode editionMode) { this.editionMode = editionMode; this.unparsed |= !editionMode.isValid(); return this; @@ -54,18 +54,18 @@ public RumRetentionFilterMeta editionMode(RumRetentionFilterEditionMode editionM @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EDITION_MODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterEditionMode getEditionMode() { + public RUMRetentionFilterEditionMode getEditionMode() { return editionMode; } - public void setEditionMode(RumRetentionFilterEditionMode editionMode) { + public void setEditionMode(RUMRetentionFilterEditionMode editionMode) { if (!editionMode.isValid()) { this.unparsed = true; } this.editionMode = editionMode; } - public RumRetentionFilterMeta source(RumRetentionFilterMetaSource source) { + public RUMRetentionFilterMeta source(RUMRetentionFilterMetaSource source) { this.source = source; this.unparsed |= !source.isValid(); return this; @@ -80,18 +80,18 @@ public RumRetentionFilterMeta source(RumRetentionFilterMetaSource source) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_SOURCE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterMetaSource getSource() { + public RUMRetentionFilterMetaSource getSource() { return source; } - public void setSource(RumRetentionFilterMetaSource source) { + public void setSource(RUMRetentionFilterMetaSource source) { if (!source.isValid()) { this.unparsed = true; } this.source = source; } - public RumRetentionFilterMeta updatedAt(Long updatedAt) { + public RUMRetentionFilterMeta updatedAt(Long updatedAt) { this.updatedAt = updatedAt; return this; } @@ -112,7 +112,7 @@ public void setUpdatedAt(Long updatedAt) { this.updatedAt = updatedAt; } - public RumRetentionFilterMeta updatedByHandle(String updatedByHandle) { + public RUMRetentionFilterMeta updatedByHandle(String updatedByHandle) { this.updatedByHandle = updatedByHandle; return this; } @@ -145,10 +145,10 @@ public void setUpdatedByHandle(String updatedByHandle) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterMeta + * @return RUMRetentionFilterMeta */ @JsonAnySetter - public RumRetentionFilterMeta putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -179,7 +179,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterMeta object is equal to o. */ + /** Return true if this RUMRetentionFilterMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -188,7 +188,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterMeta rumRetentionFilterMeta = (RumRetentionFilterMeta) o; + RUMRetentionFilterMeta rumRetentionFilterMeta = (RUMRetentionFilterMeta) o; return Objects.equals(this.editionMode, rumRetentionFilterMeta.editionMode) && Objects.equals(this.source, rumRetentionFilterMeta.source) && Objects.equals(this.updatedAt, rumRetentionFilterMeta.updatedAt) @@ -204,7 +204,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterMeta {\n"); + sb.append("class RUMRetentionFilterMeta {\n"); sb.append(" editionMode: ").append(toIndentedString(editionMode)).append("\n"); sb.append(" source: ").append(toIndentedString(source)).append("\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterMetaSource.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterMetaSource.java similarity index 59% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterMetaSource.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterMetaSource.java index 863aca71d53..75c99eecad1 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterMetaSource.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterMetaSource.java @@ -22,44 +22,44 @@ * The source of the last update to the retention filter. The value is unknown if the * request doesn't specify a source. */ -@JsonSerialize(using = RumRetentionFilterMetaSource.RumRetentionFilterMetaSourceSerializer.class) -public class RumRetentionFilterMetaSource extends ModelEnum { +@JsonSerialize(using = RUMRetentionFilterMetaSource.RUMRetentionFilterMetaSourceSerializer.class) +public class RUMRetentionFilterMetaSource extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("default", "ui", "terraform", "unknown")); - public static final RumRetentionFilterMetaSource DEFAULT = - new RumRetentionFilterMetaSource("default"); - public static final RumRetentionFilterMetaSource UI = new RumRetentionFilterMetaSource("ui"); - public static final RumRetentionFilterMetaSource TERRAFORM = - new RumRetentionFilterMetaSource("terraform"); - public static final RumRetentionFilterMetaSource UNKNOWN = - new RumRetentionFilterMetaSource("unknown"); + public static final RUMRetentionFilterMetaSource DEFAULT = + new RUMRetentionFilterMetaSource("default"); + public static final RUMRetentionFilterMetaSource UI = new RUMRetentionFilterMetaSource("ui"); + public static final RUMRetentionFilterMetaSource TERRAFORM = + new RUMRetentionFilterMetaSource("terraform"); + public static final RUMRetentionFilterMetaSource UNKNOWN = + new RUMRetentionFilterMetaSource("unknown"); - RumRetentionFilterMetaSource(String value) { + RUMRetentionFilterMetaSource(String value) { super(value, allowedValues); } - public static class RumRetentionFilterMetaSourceSerializer - extends StdSerializer { - public RumRetentionFilterMetaSourceSerializer(Class t) { + public static class RUMRetentionFilterMetaSourceSerializer + extends StdSerializer { + public RUMRetentionFilterMetaSourceSerializer(Class t) { super(t); } - public RumRetentionFilterMetaSourceSerializer() { + public RUMRetentionFilterMetaSourceSerializer() { this(null); } @Override public void serialize( - RumRetentionFilterMetaSource value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionFilterMetaSource value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionFilterMetaSource fromValue(String value) { - return new RumRetentionFilterMetaSource(value); + public static RUMRetentionFilterMetaSource fromValue(String value) { + return new RUMRetentionFilterMetaSource(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterResponse.java similarity index 86% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterResponse.java index e8ddf51ea88..64ce8bb4300 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterResponse.java @@ -17,15 +17,15 @@ import java.util.Objects; /** The RUM retention filter object. */ -@JsonPropertyOrder({RumRetentionFilterResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionFilterResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterResponse { +public class RUMRetentionFilterResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRetentionFilterData data; + private RUMRetentionFilterData data; - public RumRetentionFilterResponse data(RumRetentionFilterData data) { + public RUMRetentionFilterResponse data(RUMRetentionFilterData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -39,11 +39,11 @@ public RumRetentionFilterResponse data(RumRetentionFilterData data) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterData getData() { + public RUMRetentionFilterData getData() { return data; } - public void setData(RumRetentionFilterData data) { + public void setData(RUMRetentionFilterData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -62,10 +62,10 @@ public void setData(RumRetentionFilterData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterResponse + * @return RUMRetentionFilterResponse */ @JsonAnySetter - public RumRetentionFilterResponse putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -96,7 +96,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterResponse object is equal to o. */ + /** Return true if this RUMRetentionFilterResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -105,7 +105,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterResponse rumRetentionFilterResponse = (RumRetentionFilterResponse) o; + RUMRetentionFilterResponse rumRetentionFilterResponse = (RUMRetentionFilterResponse) o; return Objects.equals(this.data, rumRetentionFilterResponse.data) && Objects.equals( this.additionalProperties, rumRetentionFilterResponse.additionalProperties); @@ -119,7 +119,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterResponse {\n"); + sb.append("class RUMRetentionFilterResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterTrack.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterTrack.java similarity index 63% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterTrack.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterTrack.java index b48dc090c9e..5cc417a4e31 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterTrack.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterTrack.java @@ -19,40 +19,40 @@ import java.util.Set; /** The product whose events the retention filter applies to. */ -@JsonSerialize(using = RumRetentionFilterTrack.RumRetentionFilterTrackSerializer.class) -public class RumRetentionFilterTrack extends ModelEnum { +@JsonSerialize(using = RUMRetentionFilterTrack.RUMRetentionFilterTrackSerializer.class) +public class RUMRetentionFilterTrack extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum", "product_analytics")); - public static final RumRetentionFilterTrack RUM = new RumRetentionFilterTrack("rum"); - public static final RumRetentionFilterTrack PRODUCT_ANALYTICS = - new RumRetentionFilterTrack("product_analytics"); + public static final RUMRetentionFilterTrack RUM = new RUMRetentionFilterTrack("rum"); + public static final RUMRetentionFilterTrack PRODUCT_ANALYTICS = + new RUMRetentionFilterTrack("product_analytics"); - RumRetentionFilterTrack(String value) { + RUMRetentionFilterTrack(String value) { super(value, allowedValues); } - public static class RumRetentionFilterTrackSerializer - extends StdSerializer { - public RumRetentionFilterTrackSerializer(Class t) { + public static class RUMRetentionFilterTrackSerializer + extends StdSerializer { + public RUMRetentionFilterTrackSerializer(Class t) { super(t); } - public RumRetentionFilterTrackSerializer() { + public RUMRetentionFilterTrackSerializer() { this(null); } @Override public void serialize( - RumRetentionFilterTrack value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionFilterTrack value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionFilterTrack fromValue(String value) { - return new RumRetentionFilterTrack(value); + public static RUMRetentionFilterTrack fromValue(String value) { + return new RUMRetentionFilterTrack(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterType.java similarity index 65% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterType.java index d1bc5d750a2..28c2de8d4e8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterType.java @@ -19,39 +19,39 @@ import java.util.Set; /** The type of the resource. The value should always be retention_filters. */ -@JsonSerialize(using = RumRetentionFilterType.RumRetentionFilterTypeSerializer.class) -public class RumRetentionFilterType extends ModelEnum { +@JsonSerialize(using = RUMRetentionFilterType.RUMRetentionFilterTypeSerializer.class) +public class RUMRetentionFilterType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("retention_filters")); - public static final RumRetentionFilterType RETENTION_FILTERS = - new RumRetentionFilterType("retention_filters"); + public static final RUMRetentionFilterType RETENTION_FILTERS = + new RUMRetentionFilterType("retention_filters"); - RumRetentionFilterType(String value) { + RUMRetentionFilterType(String value) { super(value, allowedValues); } - public static class RumRetentionFilterTypeSerializer - extends StdSerializer { - public RumRetentionFilterTypeSerializer(Class t) { + public static class RUMRetentionFilterTypeSerializer + extends StdSerializer { + public RUMRetentionFilterTypeSerializer(Class t) { super(t); } - public RumRetentionFilterTypeSerializer() { + public RUMRetentionFilterTypeSerializer() { this(null); } @Override public void serialize( - RumRetentionFilterType value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionFilterType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionFilterType fromValue(String value) { - return new RumRetentionFilterType(value); + public static RUMRetentionFilterType fromValue(String value) { + return new RUMRetentionFilterType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateAttributes.java index 51b8fff00f1..415757a4218 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateAttributes.java @@ -18,25 +18,25 @@ /** The object describing attributes of a RUM retention filter to update. */ @JsonPropertyOrder({ - RumRetentionFilterUpdateAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, - RumRetentionFilterUpdateAttributes.JSON_PROPERTY_ENABLED, - RumRetentionFilterUpdateAttributes.JSON_PROPERTY_EVENT_TYPE, - RumRetentionFilterUpdateAttributes.JSON_PROPERTY_NAME, - RumRetentionFilterUpdateAttributes.JSON_PROPERTY_QUERY, - RumRetentionFilterUpdateAttributes.JSON_PROPERTY_SAMPLE_RATE + RUMRetentionFilterUpdateAttributes.JSON_PROPERTY_CROSS_PRODUCT_SAMPLING, + RUMRetentionFilterUpdateAttributes.JSON_PROPERTY_ENABLED, + RUMRetentionFilterUpdateAttributes.JSON_PROPERTY_EVENT_TYPE, + RUMRetentionFilterUpdateAttributes.JSON_PROPERTY_NAME, + RUMRetentionFilterUpdateAttributes.JSON_PROPERTY_QUERY, + RUMRetentionFilterUpdateAttributes.JSON_PROPERTY_SAMPLE_RATE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterUpdateAttributes { +public class RUMRetentionFilterUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CROSS_PRODUCT_SAMPLING = "cross_product_sampling"; - private RumCrossProductSamplingUpdate crossProductSampling; + private RUMCrossProductSamplingUpdate crossProductSampling; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; public static final String JSON_PROPERTY_EVENT_TYPE = "event_type"; - private RumRetentionFilterEventType eventType; + private RUMRetentionFilterEventType eventType; public static final String JSON_PROPERTY_NAME = "name"; private String name; @@ -47,8 +47,8 @@ public class RumRetentionFilterUpdateAttributes { public static final String JSON_PROPERTY_SAMPLE_RATE = "sample_rate"; private Double sampleRate; - public RumRetentionFilterUpdateAttributes crossProductSampling( - RumCrossProductSamplingUpdate crossProductSampling) { + public RUMRetentionFilterUpdateAttributes crossProductSampling( + RUMCrossProductSamplingUpdate crossProductSampling) { this.crossProductSampling = crossProductSampling; this.unparsed |= crossProductSampling.unparsed; return this; @@ -63,18 +63,18 @@ public RumRetentionFilterUpdateAttributes crossProductSampling( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CROSS_PRODUCT_SAMPLING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumCrossProductSamplingUpdate getCrossProductSampling() { + public RUMCrossProductSamplingUpdate getCrossProductSampling() { return crossProductSampling; } - public void setCrossProductSampling(RumCrossProductSamplingUpdate crossProductSampling) { + public void setCrossProductSampling(RUMCrossProductSamplingUpdate crossProductSampling) { this.crossProductSampling = crossProductSampling; if (crossProductSampling != null) { this.unparsed |= crossProductSampling.unparsed; } } - public RumRetentionFilterUpdateAttributes enabled(Boolean enabled) { + public RUMRetentionFilterUpdateAttributes enabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -95,7 +95,7 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } - public RumRetentionFilterUpdateAttributes eventType(RumRetentionFilterEventType eventType) { + public RUMRetentionFilterUpdateAttributes eventType(RUMRetentionFilterEventType eventType) { this.eventType = eventType; this.unparsed |= !eventType.isValid(); return this; @@ -109,18 +109,18 @@ public RumRetentionFilterUpdateAttributes eventType(RumRetentionFilterEventType @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EVENT_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionFilterEventType getEventType() { + public RUMRetentionFilterEventType getEventType() { return eventType; } - public void setEventType(RumRetentionFilterEventType eventType) { + public void setEventType(RUMRetentionFilterEventType eventType) { if (!eventType.isValid()) { this.unparsed = true; } this.eventType = eventType; } - public RumRetentionFilterUpdateAttributes name(String name) { + public RUMRetentionFilterUpdateAttributes name(String name) { this.name = name; return this; } @@ -141,7 +141,7 @@ public void setName(String name) { this.name = name; } - public RumRetentionFilterUpdateAttributes query(String query) { + public RUMRetentionFilterUpdateAttributes query(String query) { this.query = query; return this; } @@ -162,7 +162,7 @@ public void setQuery(String query) { this.query = query; } - public RumRetentionFilterUpdateAttributes sampleRate(Double sampleRate) { + public RUMRetentionFilterUpdateAttributes sampleRate(Double sampleRate) { this.sampleRate = sampleRate; return this; } @@ -196,10 +196,10 @@ public void setSampleRate(Double sampleRate) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterUpdateAttributes + * @return RUMRetentionFilterUpdateAttributes */ @JsonAnySetter - public RumRetentionFilterUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -230,7 +230,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterUpdateAttributes object is equal to o. */ + /** Return true if this RUMRetentionFilterUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -239,8 +239,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterUpdateAttributes rumRetentionFilterUpdateAttributes = - (RumRetentionFilterUpdateAttributes) o; + RUMRetentionFilterUpdateAttributes rumRetentionFilterUpdateAttributes = + (RUMRetentionFilterUpdateAttributes) o; return Objects.equals( this.crossProductSampling, rumRetentionFilterUpdateAttributes.crossProductSampling) && Objects.equals(this.enabled, rumRetentionFilterUpdateAttributes.enabled) @@ -261,7 +261,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterUpdateAttributes {\n"); + sb.append("class RUMRetentionFilterUpdateAttributes {\n"); sb.append(" crossProductSampling: ") .append(toIndentedString(crossProductSampling)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateData.java index 77e8e12d159..d6072397297 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateData.java @@ -19,31 +19,31 @@ /** The new RUM retention filter properties to update. */ @JsonPropertyOrder({ - RumRetentionFilterUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumRetentionFilterUpdateData.JSON_PROPERTY_ID, - RumRetentionFilterUpdateData.JSON_PROPERTY_TYPE + RUMRetentionFilterUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMRetentionFilterUpdateData.JSON_PROPERTY_ID, + RUMRetentionFilterUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterUpdateData { +public class RUMRetentionFilterUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRetentionFilterUpdateAttributes attributes; + private RUMRetentionFilterUpdateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRetentionFilterType type = RumRetentionFilterType.RETENTION_FILTERS; + private RUMRetentionFilterType type = RUMRetentionFilterType.RETENTION_FILTERS; - public RumRetentionFilterUpdateData() {} + public RUMRetentionFilterUpdateData() {} @JsonCreator - public RumRetentionFilterUpdateData( + public RUMRetentionFilterUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRetentionFilterUpdateAttributes attributes, + RUMRetentionFilterUpdateAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRetentionFilterType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRetentionFilterType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumRetentionFilterUpdateData( this.unparsed |= !type.isValid(); } - public RumRetentionFilterUpdateData attributes(RumRetentionFilterUpdateAttributes attributes) { + public RUMRetentionFilterUpdateData attributes(RUMRetentionFilterUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumRetentionFilterUpdateData attributes(RumRetentionFilterUpdateAttribute */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterUpdateAttributes getAttributes() { + public RUMRetentionFilterUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumRetentionFilterUpdateAttributes attributes) { + public void setAttributes(RUMRetentionFilterUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRetentionFilterUpdateData id(String id) { + public RUMRetentionFilterUpdateData id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumRetentionFilterUpdateData type(RumRetentionFilterType type) { + public RUMRetentionFilterUpdateData type(RUMRetentionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumRetentionFilterUpdateData type(RumRetentionFilterType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterType getType() { + public RUMRetentionFilterType getType() { return type; } - public void setType(RumRetentionFilterType type) { + public void setType(RUMRetentionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumRetentionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterUpdateData + * @return RUMRetentionFilterUpdateData */ @JsonAnySetter - public RumRetentionFilterUpdateData putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterUpdateData object is equal to o. */ + /** Return true if this RUMRetentionFilterUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterUpdateData rumRetentionFilterUpdateData = (RumRetentionFilterUpdateData) o; + RUMRetentionFilterUpdateData rumRetentionFilterUpdateData = (RUMRetentionFilterUpdateData) o; return Objects.equals(this.attributes, rumRetentionFilterUpdateData.attributes) && Objects.equals(this.id, rumRetentionFilterUpdateData.id) && Objects.equals(this.type, rumRetentionFilterUpdateData.type) @@ -190,7 +190,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterUpdateData {\n"); + sb.append("class RUMRetentionFilterUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateRequest.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateRequest.java index aa419ac3e94..1379616d1a9 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFilterUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFilterUpdateRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** The RUM retention filter body to update. */ -@JsonPropertyOrder({RumRetentionFilterUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionFilterUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFilterUpdateRequest { +public class RUMRetentionFilterUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRetentionFilterUpdateData data; + private RUMRetentionFilterUpdateData data; - public RumRetentionFilterUpdateRequest() {} + public RUMRetentionFilterUpdateRequest() {} @JsonCreator - public RumRetentionFilterUpdateRequest( + public RUMRetentionFilterUpdateRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumRetentionFilterUpdateData data) { + RUMRetentionFilterUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRetentionFilterUpdateRequest data(RumRetentionFilterUpdateData data) { + public RUMRetentionFilterUpdateRequest data(RUMRetentionFilterUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumRetentionFilterUpdateRequest data(RumRetentionFilterUpdateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterUpdateData getData() { + public RUMRetentionFilterUpdateData getData() { return data; } - public void setData(RumRetentionFilterUpdateData data) { + public void setData(RUMRetentionFilterUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumRetentionFilterUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFilterUpdateRequest + * @return RUMRetentionFilterUpdateRequest */ @JsonAnySetter - public RumRetentionFilterUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMRetentionFilterUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFilterUpdateRequest object is equal to o. */ + /** Return true if this RUMRetentionFilterUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFilterUpdateRequest rumRetentionFilterUpdateRequest = - (RumRetentionFilterUpdateRequest) o; + RUMRetentionFilterUpdateRequest rumRetentionFilterUpdateRequest = + (RUMRetentionFilterUpdateRequest) o; return Objects.equals(this.data, rumRetentionFilterUpdateRequest.data) && Objects.equals( this.additionalProperties, rumRetentionFilterUpdateRequest.additionalProperties); @@ -130,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFilterUpdateRequest {\n"); + sb.append("class RUMRetentionFilterUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderData.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderData.java index e71087aaa2f..4a16e44ab93 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderData.java @@ -19,31 +19,31 @@ /** The RUM retention filter data for ordering. */ @JsonPropertyOrder({ - RumRetentionFiltersOrderData.JSON_PROPERTY_ID, - RumRetentionFiltersOrderData.JSON_PROPERTY_TYPE + RUMRetentionFiltersOrderData.JSON_PROPERTY_ID, + RUMRetentionFiltersOrderData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFiltersOrderData { +public class RUMRetentionFiltersOrderData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRetentionFilterType type = RumRetentionFilterType.RETENTION_FILTERS; + private RUMRetentionFilterType type = RUMRetentionFilterType.RETENTION_FILTERS; - public RumRetentionFiltersOrderData() {} + public RUMRetentionFiltersOrderData() {} @JsonCreator - public RumRetentionFiltersOrderData( + public RUMRetentionFiltersOrderData( @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRetentionFilterType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRetentionFilterType type) { this.id = id; this.type = type; this.unparsed |= !type.isValid(); } - public RumRetentionFiltersOrderData id(String id) { + public RUMRetentionFiltersOrderData id(String id) { this.id = id; return this; } @@ -63,7 +63,7 @@ public void setId(String id) { this.id = id; } - public RumRetentionFiltersOrderData type(RumRetentionFilterType type) { + public RUMRetentionFiltersOrderData type(RUMRetentionFilterType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -76,11 +76,11 @@ public RumRetentionFiltersOrderData type(RumRetentionFilterType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionFilterType getType() { + public RUMRetentionFilterType getType() { return type; } - public void setType(RumRetentionFilterType type) { + public void setType(RUMRetentionFilterType type) { if (!type.isValid()) { this.unparsed = true; } @@ -99,10 +99,10 @@ public void setType(RumRetentionFilterType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFiltersOrderData + * @return RUMRetentionFiltersOrderData */ @JsonAnySetter - public RumRetentionFiltersOrderData putAdditionalProperty(String key, Object value) { + public RUMRetentionFiltersOrderData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -133,7 +133,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFiltersOrderData object is equal to o. */ + /** Return true if this RUMRetentionFiltersOrderData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -142,7 +142,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFiltersOrderData rumRetentionFiltersOrderData = (RumRetentionFiltersOrderData) o; + RUMRetentionFiltersOrderData rumRetentionFiltersOrderData = (RUMRetentionFiltersOrderData) o; return Objects.equals(this.id, rumRetentionFiltersOrderData.id) && Objects.equals(this.type, rumRetentionFiltersOrderData.type) && Objects.equals( @@ -157,7 +157,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFiltersOrderData {\n"); + sb.append("class RUMRetentionFiltersOrderData {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderRequest.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderRequest.java index afe19776996..89a740de22b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderRequest.java @@ -22,25 +22,25 @@ * The list of RUM retention filter IDs along with their corresponding type to reorder. All * retention filter IDs should be included in the list created for a RUM application. */ -@JsonPropertyOrder({RumRetentionFiltersOrderRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionFiltersOrderRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFiltersOrderRequest { +public class RUMRetentionFiltersOrderRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = null; + private List data = null; - public RumRetentionFiltersOrderRequest data(List data) { + public RUMRetentionFiltersOrderRequest data(List data) { this.data = data; if (data != null) { - for (RumRetentionFiltersOrderData item : data) { + for (RUMRetentionFiltersOrderData item : data) { this.unparsed |= item.unparsed; } } return this; } - public RumRetentionFiltersOrderRequest addDataItem(RumRetentionFiltersOrderData dataItem) { + public RUMRetentionFiltersOrderRequest addDataItem(RUMRetentionFiltersOrderData dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -57,14 +57,14 @@ public RumRetentionFiltersOrderRequest addDataItem(RumRetentionFiltersOrderData @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumRetentionFiltersOrderData item : data) { + for (RUMRetentionFiltersOrderData item : data) { this.unparsed |= item.unparsed; } } @@ -82,10 +82,10 @@ public void setData(List data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFiltersOrderRequest + * @return RUMRetentionFiltersOrderRequest */ @JsonAnySetter - public RumRetentionFiltersOrderRequest putAdditionalProperty(String key, Object value) { + public RUMRetentionFiltersOrderRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -116,7 +116,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFiltersOrderRequest object is equal to o. */ + /** Return true if this RUMRetentionFiltersOrderRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -125,8 +125,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFiltersOrderRequest rumRetentionFiltersOrderRequest = - (RumRetentionFiltersOrderRequest) o; + RUMRetentionFiltersOrderRequest rumRetentionFiltersOrderRequest = + (RUMRetentionFiltersOrderRequest) o; return Objects.equals(this.data, rumRetentionFiltersOrderRequest.data) && Objects.equals( this.additionalProperties, rumRetentionFiltersOrderRequest.additionalProperties); @@ -140,7 +140,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFiltersOrderRequest {\n"); + sb.append("class RUMRetentionFiltersOrderRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderResponse.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderResponse.java index cfb042e6097..19238df8a2a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersOrderResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersOrderResponse.java @@ -19,25 +19,25 @@ import java.util.Objects; /** The list of RUM retention filter IDs along with type. */ -@JsonPropertyOrder({RumRetentionFiltersOrderResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionFiltersOrderResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFiltersOrderResponse { +public class RUMRetentionFiltersOrderResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = null; + private List data = null; - public RumRetentionFiltersOrderResponse data(List data) { + public RUMRetentionFiltersOrderResponse data(List data) { this.data = data; if (data != null) { - for (RumRetentionFiltersOrderData item : data) { + for (RUMRetentionFiltersOrderData item : data) { this.unparsed |= item.unparsed; } } return this; } - public RumRetentionFiltersOrderResponse addDataItem(RumRetentionFiltersOrderData dataItem) { + public RUMRetentionFiltersOrderResponse addDataItem(RUMRetentionFiltersOrderData dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -54,14 +54,14 @@ public RumRetentionFiltersOrderResponse addDataItem(RumRetentionFiltersOrderData @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumRetentionFiltersOrderData item : data) { + for (RUMRetentionFiltersOrderData item : data) { this.unparsed |= item.unparsed; } } @@ -79,10 +79,10 @@ public void setData(List data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFiltersOrderResponse + * @return RUMRetentionFiltersOrderResponse */ @JsonAnySetter - public RumRetentionFiltersOrderResponse putAdditionalProperty(String key, Object value) { + public RUMRetentionFiltersOrderResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -113,7 +113,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFiltersOrderResponse object is equal to o. */ + /** Return true if this RUMRetentionFiltersOrderResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -122,8 +122,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFiltersOrderResponse rumRetentionFiltersOrderResponse = - (RumRetentionFiltersOrderResponse) o; + RUMRetentionFiltersOrderResponse rumRetentionFiltersOrderResponse = + (RUMRetentionFiltersOrderResponse) o; return Objects.equals(this.data, rumRetentionFiltersOrderResponse.data) && Objects.equals( this.additionalProperties, rumRetentionFiltersOrderResponse.additionalProperties); @@ -137,7 +137,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFiltersOrderResponse {\n"); + sb.append("class RUMRetentionFiltersOrderResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersResponse.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersResponse.java index 6b5932b5caf..33d62f60314 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionFiltersResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionFiltersResponse.java @@ -19,25 +19,25 @@ import java.util.Objects; /** All RUM retention filters for a RUM application. */ -@JsonPropertyOrder({RumRetentionFiltersResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionFiltersResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionFiltersResponse { +public class RUMRetentionFiltersResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private List data = null; + private List data = null; - public RumRetentionFiltersResponse data(List data) { + public RUMRetentionFiltersResponse data(List data) { this.data = data; if (data != null) { - for (RumRetentionFilterData item : data) { + for (RUMRetentionFilterData item : data) { this.unparsed |= item.unparsed; } } return this; } - public RumRetentionFiltersResponse addDataItem(RumRetentionFilterData dataItem) { + public RUMRetentionFiltersResponse addDataItem(RUMRetentionFilterData dataItem) { if (this.data == null) { this.data = new ArrayList<>(); } @@ -54,14 +54,14 @@ public RumRetentionFiltersResponse addDataItem(RumRetentionFilterData dataItem) @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getData() { + public List getData() { return data; } - public void setData(List data) { + public void setData(List data) { this.data = data; if (data != null) { - for (RumRetentionFilterData item : data) { + for (RUMRetentionFilterData item : data) { this.unparsed |= item.unparsed; } } @@ -79,10 +79,10 @@ public void setData(List data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionFiltersResponse + * @return RUMRetentionFiltersResponse */ @JsonAnySetter - public RumRetentionFiltersResponse putAdditionalProperty(String key, Object value) { + public RUMRetentionFiltersResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -113,7 +113,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionFiltersResponse object is equal to o. */ + /** Return true if this RUMRetentionFiltersResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -122,7 +122,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionFiltersResponse rumRetentionFiltersResponse = (RumRetentionFiltersResponse) o; + RUMRetentionFiltersResponse rumRetentionFiltersResponse = (RUMRetentionFiltersResponse) o; return Objects.equals(this.data, rumRetentionFiltersResponse.data) && Objects.equals( this.additionalProperties, rumRetentionFiltersResponse.additionalProperties); @@ -136,7 +136,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionFiltersResponse {\n"); + sb.append("class RUMRetentionFiltersResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigAttributes.java index 1b892aecab3..b41240838e4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigAttributes.java @@ -20,21 +20,21 @@ /** The RUM retention quota configuration properties. */ @JsonPropertyOrder({ - RumRetentionQuotaConfigAttributes.JSON_PROPERTY_CUSTOM, - RumRetentionQuotaConfigAttributes.JSON_PROPERTY_MODE, - RumRetentionQuotaConfigAttributes.JSON_PROPERTY_ORG_ID, - RumRetentionQuotaConfigAttributes.JSON_PROPERTY_UPDATED_AT, - RumRetentionQuotaConfigAttributes.JSON_PROPERTY_UPDATED_BY + RUMRetentionQuotaConfigAttributes.JSON_PROPERTY_CUSTOM, + RUMRetentionQuotaConfigAttributes.JSON_PROPERTY_MODE, + RUMRetentionQuotaConfigAttributes.JSON_PROPERTY_ORG_ID, + RUMRetentionQuotaConfigAttributes.JSON_PROPERTY_UPDATED_AT, + RUMRetentionQuotaConfigAttributes.JSON_PROPERTY_UPDATED_BY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaConfigAttributes { +public class RUMRetentionQuotaConfigAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CUSTOM = "custom"; - private RumRetentionQuotaCustomConfig custom; + private RUMRetentionQuotaCustomConfig custom; public static final String JSON_PROPERTY_MODE = "mode"; - private RumRetentionQuotaMode mode; + private RUMRetentionQuotaMode mode; public static final String JSON_PROPERTY_ORG_ID = "org_id"; private Long orgId; @@ -45,18 +45,18 @@ public class RumRetentionQuotaConfigAttributes { public static final String JSON_PROPERTY_UPDATED_BY = "updated_by"; private String updatedBy; - public RumRetentionQuotaConfigAttributes() {} + public RUMRetentionQuotaConfigAttributes() {} @JsonCreator - public RumRetentionQuotaConfigAttributes( - @JsonProperty(required = true, value = JSON_PROPERTY_MODE) RumRetentionQuotaMode mode, + public RUMRetentionQuotaConfigAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_MODE) RUMRetentionQuotaMode mode, @JsonProperty(required = true, value = JSON_PROPERTY_ORG_ID) Long orgId) { this.mode = mode; this.unparsed |= !mode.isValid(); this.orgId = orgId; } - public RumRetentionQuotaConfigAttributes custom(RumRetentionQuotaCustomConfig custom) { + public RUMRetentionQuotaConfigAttributes custom(RUMRetentionQuotaCustomConfig custom) { this.custom = custom; this.unparsed |= custom.unparsed; return this; @@ -70,18 +70,18 @@ public RumRetentionQuotaConfigAttributes custom(RumRetentionQuotaCustomConfig cu @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CUSTOM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionQuotaCustomConfig getCustom() { + public RUMRetentionQuotaCustomConfig getCustom() { return custom; } - public void setCustom(RumRetentionQuotaCustomConfig custom) { + public void setCustom(RUMRetentionQuotaCustomConfig custom) { this.custom = custom; if (custom != null) { this.unparsed |= custom.unparsed; } } - public RumRetentionQuotaConfigAttributes mode(RumRetentionQuotaMode mode) { + public RUMRetentionQuotaConfigAttributes mode(RUMRetentionQuotaMode mode) { this.mode = mode; this.unparsed |= !mode.isValid(); return this; @@ -95,18 +95,18 @@ public RumRetentionQuotaConfigAttributes mode(RumRetentionQuotaMode mode) { */ @JsonProperty(JSON_PROPERTY_MODE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaMode getMode() { + public RUMRetentionQuotaMode getMode() { return mode; } - public void setMode(RumRetentionQuotaMode mode) { + public void setMode(RUMRetentionQuotaMode mode) { if (!mode.isValid()) { this.unparsed = true; } this.mode = mode; } - public RumRetentionQuotaConfigAttributes orgId(Long orgId) { + public RUMRetentionQuotaConfigAttributes orgId(Long orgId) { this.orgId = orgId; return this; } @@ -126,7 +126,7 @@ public void setOrgId(Long orgId) { this.orgId = orgId; } - public RumRetentionQuotaConfigAttributes updatedAt(OffsetDateTime updatedAt) { + public RUMRetentionQuotaConfigAttributes updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } @@ -147,7 +147,7 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; } - public RumRetentionQuotaConfigAttributes updatedBy(String updatedBy) { + public RUMRetentionQuotaConfigAttributes updatedBy(String updatedBy) { this.updatedBy = updatedBy; return this; } @@ -180,10 +180,10 @@ public void setUpdatedBy(String updatedBy) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaConfigAttributes + * @return RUMRetentionQuotaConfigAttributes */ @JsonAnySetter - public RumRetentionQuotaConfigAttributes putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaConfigAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -214,7 +214,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaConfigAttributes object is equal to o. */ + /** Return true if this RUMRetentionQuotaConfigAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -223,8 +223,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaConfigAttributes rumRetentionQuotaConfigAttributes = - (RumRetentionQuotaConfigAttributes) o; + RUMRetentionQuotaConfigAttributes rumRetentionQuotaConfigAttributes = + (RUMRetentionQuotaConfigAttributes) o; return Objects.equals(this.custom, rumRetentionQuotaConfigAttributes.custom) && Objects.equals(this.mode, rumRetentionQuotaConfigAttributes.mode) && Objects.equals(this.orgId, rumRetentionQuotaConfigAttributes.orgId) @@ -242,7 +242,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaConfigAttributes {\n"); + sb.append("class RUMRetentionQuotaConfigAttributes {\n"); sb.append(" custom: ").append(toIndentedString(custom)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" orgId: ").append(toIndentedString(orgId)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigData.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigData.java index 849f6d9cbe6..fd87cf75159 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigData.java @@ -19,31 +19,31 @@ /** The RUM retention quota configuration object. */ @JsonPropertyOrder({ - RumRetentionQuotaConfigData.JSON_PROPERTY_ATTRIBUTES, - RumRetentionQuotaConfigData.JSON_PROPERTY_ID, - RumRetentionQuotaConfigData.JSON_PROPERTY_TYPE + RUMRetentionQuotaConfigData.JSON_PROPERTY_ATTRIBUTES, + RUMRetentionQuotaConfigData.JSON_PROPERTY_ID, + RUMRetentionQuotaConfigData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaConfigData { +public class RUMRetentionQuotaConfigData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRetentionQuotaConfigAttributes attributes; + private RUMRetentionQuotaConfigAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRetentionQuotaConfigType type = RumRetentionQuotaConfigType.RUM_QUOTA_CONFIG; + private RUMRetentionQuotaConfigType type = RUMRetentionQuotaConfigType.RUM_QUOTA_CONFIG; - public RumRetentionQuotaConfigData() {} + public RUMRetentionQuotaConfigData() {} @JsonCreator - public RumRetentionQuotaConfigData( + public RUMRetentionQuotaConfigData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRetentionQuotaConfigAttributes attributes, + RUMRetentionQuotaConfigAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRetentionQuotaConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRetentionQuotaConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumRetentionQuotaConfigData( this.unparsed |= !type.isValid(); } - public RumRetentionQuotaConfigData attributes(RumRetentionQuotaConfigAttributes attributes) { + public RUMRetentionQuotaConfigData attributes(RUMRetentionQuotaConfigAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumRetentionQuotaConfigData attributes(RumRetentionQuotaConfigAttributes */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaConfigAttributes getAttributes() { + public RUMRetentionQuotaConfigAttributes getAttributes() { return attributes; } - public void setAttributes(RumRetentionQuotaConfigAttributes attributes) { + public void setAttributes(RUMRetentionQuotaConfigAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRetentionQuotaConfigData id(String id) { + public RUMRetentionQuotaConfigData id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumRetentionQuotaConfigData type(RumRetentionQuotaConfigType type) { + public RUMRetentionQuotaConfigData type(RUMRetentionQuotaConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumRetentionQuotaConfigData type(RumRetentionQuotaConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaConfigType getType() { + public RUMRetentionQuotaConfigType getType() { return type; } - public void setType(RumRetentionQuotaConfigType type) { + public void setType(RUMRetentionQuotaConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumRetentionQuotaConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaConfigData + * @return RUMRetentionQuotaConfigData */ @JsonAnySetter - public RumRetentionQuotaConfigData putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaConfigData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaConfigData object is equal to o. */ + /** Return true if this RUMRetentionQuotaConfigData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaConfigData rumRetentionQuotaConfigData = (RumRetentionQuotaConfigData) o; + RUMRetentionQuotaConfigData rumRetentionQuotaConfigData = (RUMRetentionQuotaConfigData) o; return Objects.equals(this.attributes, rumRetentionQuotaConfigData.attributes) && Objects.equals(this.id, rumRetentionQuotaConfigData.id) && Objects.equals(this.type, rumRetentionQuotaConfigData.type) @@ -190,7 +190,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaConfigData {\n"); + sb.append("class RUMRetentionQuotaConfigData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigResponse.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigResponse.java index 3abfbae6809..7f15bc0fed7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigResponse.java @@ -18,24 +18,24 @@ import java.util.Objects; /** The RUM retention quota configuration response. */ -@JsonPropertyOrder({RumRetentionQuotaConfigResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionQuotaConfigResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaConfigResponse { +public class RUMRetentionQuotaConfigResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRetentionQuotaConfigData data; + private RUMRetentionQuotaConfigData data; - public RumRetentionQuotaConfigResponse() {} + public RUMRetentionQuotaConfigResponse() {} @JsonCreator - public RumRetentionQuotaConfigResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumRetentionQuotaConfigData data) { + public RUMRetentionQuotaConfigResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMRetentionQuotaConfigData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRetentionQuotaConfigResponse data(RumRetentionQuotaConfigData data) { + public RUMRetentionQuotaConfigResponse data(RUMRetentionQuotaConfigData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumRetentionQuotaConfigResponse data(RumRetentionQuotaConfigData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaConfigData getData() { + public RUMRetentionQuotaConfigData getData() { return data; } - public void setData(RumRetentionQuotaConfigData data) { + public void setData(RUMRetentionQuotaConfigData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumRetentionQuotaConfigData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaConfigResponse + * @return RUMRetentionQuotaConfigResponse */ @JsonAnySetter - public RumRetentionQuotaConfigResponse putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaConfigResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaConfigResponse object is equal to o. */ + /** Return true if this RUMRetentionQuotaConfigResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,8 +114,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaConfigResponse rumRetentionQuotaConfigResponse = - (RumRetentionQuotaConfigResponse) o; + RUMRetentionQuotaConfigResponse rumRetentionQuotaConfigResponse = + (RUMRetentionQuotaConfigResponse) o; return Objects.equals(this.data, rumRetentionQuotaConfigResponse.data) && Objects.equals( this.additionalProperties, rumRetentionQuotaConfigResponse.additionalProperties); @@ -129,7 +129,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaConfigResponse {\n"); + sb.append("class RUMRetentionQuotaConfigResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigType.java index f70adc7d36e..6c0eac689d7 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigType.java @@ -19,39 +19,39 @@ import java.util.Set; /** The type of the resource, always rum_quota_config. */ -@JsonSerialize(using = RumRetentionQuotaConfigType.RumRetentionQuotaConfigTypeSerializer.class) -public class RumRetentionQuotaConfigType extends ModelEnum { +@JsonSerialize(using = RUMRetentionQuotaConfigType.RUMRetentionQuotaConfigTypeSerializer.class) +public class RUMRetentionQuotaConfigType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_quota_config")); - public static final RumRetentionQuotaConfigType RUM_QUOTA_CONFIG = - new RumRetentionQuotaConfigType("rum_quota_config"); + public static final RUMRetentionQuotaConfigType RUM_QUOTA_CONFIG = + new RUMRetentionQuotaConfigType("rum_quota_config"); - RumRetentionQuotaConfigType(String value) { + RUMRetentionQuotaConfigType(String value) { super(value, allowedValues); } - public static class RumRetentionQuotaConfigTypeSerializer - extends StdSerializer { - public RumRetentionQuotaConfigTypeSerializer(Class t) { + public static class RUMRetentionQuotaConfigTypeSerializer + extends StdSerializer { + public RUMRetentionQuotaConfigTypeSerializer(Class t) { super(t); } - public RumRetentionQuotaConfigTypeSerializer() { + public RUMRetentionQuotaConfigTypeSerializer() { this(null); } @Override public void serialize( - RumRetentionQuotaConfigType value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionQuotaConfigType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionQuotaConfigType fromValue(String value) { - return new RumRetentionQuotaConfigType(value); + public static RUMRetentionQuotaConfigType fromValue(String value) { + return new RUMRetentionQuotaConfigType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateAttributes.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateAttributes.java index ea6fcc58974..3f85b856c14 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateAttributes.java @@ -19,29 +19,29 @@ /** The RUM retention quota configuration properties to create or update. */ @JsonPropertyOrder({ - RumRetentionQuotaConfigUpdateAttributes.JSON_PROPERTY_CUSTOM, - RumRetentionQuotaConfigUpdateAttributes.JSON_PROPERTY_MODE + RUMRetentionQuotaConfigUpdateAttributes.JSON_PROPERTY_CUSTOM, + RUMRetentionQuotaConfigUpdateAttributes.JSON_PROPERTY_MODE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaConfigUpdateAttributes { +public class RUMRetentionQuotaConfigUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_CUSTOM = "custom"; - private RumRetentionQuotaCustomConfig custom; + private RUMRetentionQuotaCustomConfig custom; public static final String JSON_PROPERTY_MODE = "mode"; - private RumRetentionQuotaMode mode; + private RUMRetentionQuotaMode mode; - public RumRetentionQuotaConfigUpdateAttributes() {} + public RUMRetentionQuotaConfigUpdateAttributes() {} @JsonCreator - public RumRetentionQuotaConfigUpdateAttributes( - @JsonProperty(required = true, value = JSON_PROPERTY_MODE) RumRetentionQuotaMode mode) { + public RUMRetentionQuotaConfigUpdateAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_MODE) RUMRetentionQuotaMode mode) { this.mode = mode; this.unparsed |= !mode.isValid(); } - public RumRetentionQuotaConfigUpdateAttributes custom(RumRetentionQuotaCustomConfig custom) { + public RUMRetentionQuotaConfigUpdateAttributes custom(RUMRetentionQuotaCustomConfig custom) { this.custom = custom; this.unparsed |= custom.unparsed; return this; @@ -55,18 +55,18 @@ public RumRetentionQuotaConfigUpdateAttributes custom(RumRetentionQuotaCustomCon @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CUSTOM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumRetentionQuotaCustomConfig getCustom() { + public RUMRetentionQuotaCustomConfig getCustom() { return custom; } - public void setCustom(RumRetentionQuotaCustomConfig custom) { + public void setCustom(RUMRetentionQuotaCustomConfig custom) { this.custom = custom; if (custom != null) { this.unparsed |= custom.unparsed; } } - public RumRetentionQuotaConfigUpdateAttributes mode(RumRetentionQuotaMode mode) { + public RUMRetentionQuotaConfigUpdateAttributes mode(RUMRetentionQuotaMode mode) { this.mode = mode; this.unparsed |= !mode.isValid(); return this; @@ -80,11 +80,11 @@ public RumRetentionQuotaConfigUpdateAttributes mode(RumRetentionQuotaMode mode) */ @JsonProperty(JSON_PROPERTY_MODE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaMode getMode() { + public RUMRetentionQuotaMode getMode() { return mode; } - public void setMode(RumRetentionQuotaMode mode) { + public void setMode(RUMRetentionQuotaMode mode) { if (!mode.isValid()) { this.unparsed = true; } @@ -103,10 +103,10 @@ public void setMode(RumRetentionQuotaMode mode) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaConfigUpdateAttributes + * @return RUMRetentionQuotaConfigUpdateAttributes */ @JsonAnySetter - public RumRetentionQuotaConfigUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaConfigUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -137,7 +137,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaConfigUpdateAttributes object is equal to o. */ + /** Return true if this RUMRetentionQuotaConfigUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -146,8 +146,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaConfigUpdateAttributes rumRetentionQuotaConfigUpdateAttributes = - (RumRetentionQuotaConfigUpdateAttributes) o; + RUMRetentionQuotaConfigUpdateAttributes rumRetentionQuotaConfigUpdateAttributes = + (RUMRetentionQuotaConfigUpdateAttributes) o; return Objects.equals(this.custom, rumRetentionQuotaConfigUpdateAttributes.custom) && Objects.equals(this.mode, rumRetentionQuotaConfigUpdateAttributes.mode) && Objects.equals( @@ -163,7 +163,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaConfigUpdateAttributes {\n"); + sb.append("class RUMRetentionQuotaConfigUpdateAttributes {\n"); sb.append(" custom: ").append(toIndentedString(custom)).append("\n"); sb.append(" mode: ").append(toIndentedString(mode)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateData.java similarity index 80% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateData.java index ba0d3574f72..4ae3fb929f5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateData.java @@ -19,31 +19,31 @@ /** The RUM retention quota configuration to create or update. */ @JsonPropertyOrder({ - RumRetentionQuotaConfigUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumRetentionQuotaConfigUpdateData.JSON_PROPERTY_ID, - RumRetentionQuotaConfigUpdateData.JSON_PROPERTY_TYPE + RUMRetentionQuotaConfigUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMRetentionQuotaConfigUpdateData.JSON_PROPERTY_ID, + RUMRetentionQuotaConfigUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaConfigUpdateData { +public class RUMRetentionQuotaConfigUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumRetentionQuotaConfigUpdateAttributes attributes; + private RUMRetentionQuotaConfigUpdateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumRetentionQuotaConfigType type = RumRetentionQuotaConfigType.RUM_QUOTA_CONFIG; + private RUMRetentionQuotaConfigType type = RUMRetentionQuotaConfigType.RUM_QUOTA_CONFIG; - public RumRetentionQuotaConfigUpdateData() {} + public RUMRetentionQuotaConfigUpdateData() {} @JsonCreator - public RumRetentionQuotaConfigUpdateData( + public RUMRetentionQuotaConfigUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumRetentionQuotaConfigUpdateAttributes attributes, + RUMRetentionQuotaConfigUpdateAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumRetentionQuotaConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMRetentionQuotaConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,8 +51,8 @@ public RumRetentionQuotaConfigUpdateData( this.unparsed |= !type.isValid(); } - public RumRetentionQuotaConfigUpdateData attributes( - RumRetentionQuotaConfigUpdateAttributes attributes) { + public RUMRetentionQuotaConfigUpdateData attributes( + RUMRetentionQuotaConfigUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -65,18 +65,18 @@ public RumRetentionQuotaConfigUpdateData attributes( */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaConfigUpdateAttributes getAttributes() { + public RUMRetentionQuotaConfigUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumRetentionQuotaConfigUpdateAttributes attributes) { + public void setAttributes(RUMRetentionQuotaConfigUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumRetentionQuotaConfigUpdateData id(String id) { + public RUMRetentionQuotaConfigUpdateData id(String id) { this.id = id; return this; } @@ -97,7 +97,7 @@ public void setId(String id) { this.id = id; } - public RumRetentionQuotaConfigUpdateData type(RumRetentionQuotaConfigType type) { + public RUMRetentionQuotaConfigUpdateData type(RUMRetentionQuotaConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -110,11 +110,11 @@ public RumRetentionQuotaConfigUpdateData type(RumRetentionQuotaConfigType type) */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaConfigType getType() { + public RUMRetentionQuotaConfigType getType() { return type; } - public void setType(RumRetentionQuotaConfigType type) { + public void setType(RUMRetentionQuotaConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -133,10 +133,10 @@ public void setType(RumRetentionQuotaConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaConfigUpdateData + * @return RUMRetentionQuotaConfigUpdateData */ @JsonAnySetter - public RumRetentionQuotaConfigUpdateData putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaConfigUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -167,7 +167,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaConfigUpdateData object is equal to o. */ + /** Return true if this RUMRetentionQuotaConfigUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -176,8 +176,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaConfigUpdateData rumRetentionQuotaConfigUpdateData = - (RumRetentionQuotaConfigUpdateData) o; + RUMRetentionQuotaConfigUpdateData rumRetentionQuotaConfigUpdateData = + (RUMRetentionQuotaConfigUpdateData) o; return Objects.equals(this.attributes, rumRetentionQuotaConfigUpdateData.attributes) && Objects.equals(this.id, rumRetentionQuotaConfigUpdateData.id) && Objects.equals(this.type, rumRetentionQuotaConfigUpdateData.type) @@ -193,7 +193,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaConfigUpdateData {\n"); + sb.append("class RUMRetentionQuotaConfigUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateRequest.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateRequest.java index bb5f05aebf8..862e0ce82a2 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaConfigUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaConfigUpdateRequest.java @@ -18,25 +18,25 @@ import java.util.Objects; /** The body of a request to create or update a RUM retention quota configuration. */ -@JsonPropertyOrder({RumRetentionQuotaConfigUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMRetentionQuotaConfigUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaConfigUpdateRequest { +public class RUMRetentionQuotaConfigUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumRetentionQuotaConfigUpdateData data; + private RUMRetentionQuotaConfigUpdateData data; - public RumRetentionQuotaConfigUpdateRequest() {} + public RUMRetentionQuotaConfigUpdateRequest() {} @JsonCreator - public RumRetentionQuotaConfigUpdateRequest( + public RUMRetentionQuotaConfigUpdateRequest( @JsonProperty(required = true, value = JSON_PROPERTY_DATA) - RumRetentionQuotaConfigUpdateData data) { + RUMRetentionQuotaConfigUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumRetentionQuotaConfigUpdateRequest data(RumRetentionQuotaConfigUpdateData data) { + public RUMRetentionQuotaConfigUpdateRequest data(RUMRetentionQuotaConfigUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -49,11 +49,11 @@ public RumRetentionQuotaConfigUpdateRequest data(RumRetentionQuotaConfigUpdateDa */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaConfigUpdateData getData() { + public RUMRetentionQuotaConfigUpdateData getData() { return data; } - public void setData(RumRetentionQuotaConfigUpdateData data) { + public void setData(RUMRetentionQuotaConfigUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -72,10 +72,10 @@ public void setData(RumRetentionQuotaConfigUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaConfigUpdateRequest + * @return RUMRetentionQuotaConfigUpdateRequest */ @JsonAnySetter - public RumRetentionQuotaConfigUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaConfigUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaConfigUpdateRequest object is equal to o. */ + /** Return true if this RUMRetentionQuotaConfigUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,8 +115,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaConfigUpdateRequest rumRetentionQuotaConfigUpdateRequest = - (RumRetentionQuotaConfigUpdateRequest) o; + RUMRetentionQuotaConfigUpdateRequest rumRetentionQuotaConfigUpdateRequest = + (RUMRetentionQuotaConfigUpdateRequest) o; return Objects.equals(this.data, rumRetentionQuotaConfigUpdateRequest.data) && Objects.equals( this.additionalProperties, rumRetentionQuotaConfigUpdateRequest.additionalProperties); @@ -130,7 +130,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaConfigUpdateRequest {\n"); + sb.append("class RUMRetentionQuotaConfigUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaCustomConfig.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaCustomConfig.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaCustomConfig.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaCustomConfig.java index 52b7a360e6b..54333af520d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaCustomConfig.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaCustomConfig.java @@ -19,15 +19,15 @@ /** The configuration used when mode is custom. */ @JsonPropertyOrder({ - RumRetentionQuotaCustomConfig.JSON_PROPERTY_DAILY_RESET_TIME, - RumRetentionQuotaCustomConfig.JSON_PROPERTY_DAILY_RESET_TIMEZONE, - RumRetentionQuotaCustomConfig.JSON_PROPERTY_QUOTA_REACHED_ACTION, - RumRetentionQuotaCustomConfig.JSON_PROPERTY_SESSION_LIMIT, - RumRetentionQuotaCustomConfig.JSON_PROPERTY_WINDOW_TYPE + RUMRetentionQuotaCustomConfig.JSON_PROPERTY_DAILY_RESET_TIME, + RUMRetentionQuotaCustomConfig.JSON_PROPERTY_DAILY_RESET_TIMEZONE, + RUMRetentionQuotaCustomConfig.JSON_PROPERTY_QUOTA_REACHED_ACTION, + RUMRetentionQuotaCustomConfig.JSON_PROPERTY_SESSION_LIMIT, + RUMRetentionQuotaCustomConfig.JSON_PROPERTY_WINDOW_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumRetentionQuotaCustomConfig { +public class RUMRetentionQuotaCustomConfig { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DAILY_RESET_TIME = "daily_reset_time"; private String dailyResetTime; @@ -36,26 +36,26 @@ public class RumRetentionQuotaCustomConfig { private String dailyResetTimezone; public static final String JSON_PROPERTY_QUOTA_REACHED_ACTION = "quota_reached_action"; - private RumRetentionQuotaReachedAction quotaReachedAction; + private RUMRetentionQuotaReachedAction quotaReachedAction; public static final String JSON_PROPERTY_SESSION_LIMIT = "session_limit"; private Long sessionLimit; public static final String JSON_PROPERTY_WINDOW_TYPE = "window_type"; - private RumRetentionQuotaWindowType windowType; + private RUMRetentionQuotaWindowType windowType; - public RumRetentionQuotaCustomConfig() {} + public RUMRetentionQuotaCustomConfig() {} @JsonCreator - public RumRetentionQuotaCustomConfig( + public RUMRetentionQuotaCustomConfig( @JsonProperty(required = true, value = JSON_PROPERTY_DAILY_RESET_TIME) String dailyResetTime, @JsonProperty(required = true, value = JSON_PROPERTY_DAILY_RESET_TIMEZONE) String dailyResetTimezone, @JsonProperty(required = true, value = JSON_PROPERTY_QUOTA_REACHED_ACTION) - RumRetentionQuotaReachedAction quotaReachedAction, + RUMRetentionQuotaReachedAction quotaReachedAction, @JsonProperty(required = true, value = JSON_PROPERTY_SESSION_LIMIT) Long sessionLimit, @JsonProperty(required = true, value = JSON_PROPERTY_WINDOW_TYPE) - RumRetentionQuotaWindowType windowType) { + RUMRetentionQuotaWindowType windowType) { this.dailyResetTime = dailyResetTime; this.dailyResetTimezone = dailyResetTimezone; this.quotaReachedAction = quotaReachedAction; @@ -65,7 +65,7 @@ public RumRetentionQuotaCustomConfig( this.unparsed |= !windowType.isValid(); } - public RumRetentionQuotaCustomConfig dailyResetTime(String dailyResetTime) { + public RUMRetentionQuotaCustomConfig dailyResetTime(String dailyResetTime) { this.dailyResetTime = dailyResetTime; return this; } @@ -85,7 +85,7 @@ public void setDailyResetTime(String dailyResetTime) { this.dailyResetTime = dailyResetTime; } - public RumRetentionQuotaCustomConfig dailyResetTimezone(String dailyResetTimezone) { + public RUMRetentionQuotaCustomConfig dailyResetTimezone(String dailyResetTimezone) { this.dailyResetTimezone = dailyResetTimezone; return this; } @@ -105,8 +105,8 @@ public void setDailyResetTimezone(String dailyResetTimezone) { this.dailyResetTimezone = dailyResetTimezone; } - public RumRetentionQuotaCustomConfig quotaReachedAction( - RumRetentionQuotaReachedAction quotaReachedAction) { + public RUMRetentionQuotaCustomConfig quotaReachedAction( + RUMRetentionQuotaReachedAction quotaReachedAction) { this.quotaReachedAction = quotaReachedAction; this.unparsed |= !quotaReachedAction.isValid(); return this; @@ -119,18 +119,18 @@ public RumRetentionQuotaCustomConfig quotaReachedAction( */ @JsonProperty(JSON_PROPERTY_QUOTA_REACHED_ACTION) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaReachedAction getQuotaReachedAction() { + public RUMRetentionQuotaReachedAction getQuotaReachedAction() { return quotaReachedAction; } - public void setQuotaReachedAction(RumRetentionQuotaReachedAction quotaReachedAction) { + public void setQuotaReachedAction(RUMRetentionQuotaReachedAction quotaReachedAction) { if (!quotaReachedAction.isValid()) { this.unparsed = true; } this.quotaReachedAction = quotaReachedAction; } - public RumRetentionQuotaCustomConfig sessionLimit(Long sessionLimit) { + public RUMRetentionQuotaCustomConfig sessionLimit(Long sessionLimit) { this.sessionLimit = sessionLimit; return this; } @@ -151,7 +151,7 @@ public void setSessionLimit(Long sessionLimit) { this.sessionLimit = sessionLimit; } - public RumRetentionQuotaCustomConfig windowType(RumRetentionQuotaWindowType windowType) { + public RUMRetentionQuotaCustomConfig windowType(RUMRetentionQuotaWindowType windowType) { this.windowType = windowType; this.unparsed |= !windowType.isValid(); return this; @@ -164,11 +164,11 @@ public RumRetentionQuotaCustomConfig windowType(RumRetentionQuotaWindowType wind */ @JsonProperty(JSON_PROPERTY_WINDOW_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumRetentionQuotaWindowType getWindowType() { + public RUMRetentionQuotaWindowType getWindowType() { return windowType; } - public void setWindowType(RumRetentionQuotaWindowType windowType) { + public void setWindowType(RUMRetentionQuotaWindowType windowType) { if (!windowType.isValid()) { this.unparsed = true; } @@ -187,10 +187,10 @@ public void setWindowType(RumRetentionQuotaWindowType windowType) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumRetentionQuotaCustomConfig + * @return RUMRetentionQuotaCustomConfig */ @JsonAnySetter - public RumRetentionQuotaCustomConfig putAdditionalProperty(String key, Object value) { + public RUMRetentionQuotaCustomConfig putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -221,7 +221,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumRetentionQuotaCustomConfig object is equal to o. */ + /** Return true if this RUMRetentionQuotaCustomConfig object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -230,7 +230,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumRetentionQuotaCustomConfig rumRetentionQuotaCustomConfig = (RumRetentionQuotaCustomConfig) o; + RUMRetentionQuotaCustomConfig rumRetentionQuotaCustomConfig = (RUMRetentionQuotaCustomConfig) o; return Objects.equals(this.dailyResetTime, rumRetentionQuotaCustomConfig.dailyResetTime) && Objects.equals(this.dailyResetTimezone, rumRetentionQuotaCustomConfig.dailyResetTimezone) && Objects.equals(this.quotaReachedAction, rumRetentionQuotaCustomConfig.quotaReachedAction) @@ -254,7 +254,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumRetentionQuotaCustomConfig {\n"); + sb.append("class RUMRetentionQuotaCustomConfig {\n"); sb.append(" dailyResetTime: ").append(toIndentedString(dailyResetTime)).append("\n"); sb.append(" dailyResetTimezone: ").append(toIndentedString(dailyResetTimezone)).append("\n"); sb.append(" quotaReachedAction: ").append(toIndentedString(quotaReachedAction)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaMode.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaMode.java similarity index 68% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaMode.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaMode.java index 7334c5a9d65..ac20c1c8c67 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaMode.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaMode.java @@ -22,36 +22,36 @@ * The retention quota mode. custom enforces a fixed session limit. custom * is the only supported mode. */ -@JsonSerialize(using = RumRetentionQuotaMode.RumRetentionQuotaModeSerializer.class) -public class RumRetentionQuotaMode extends ModelEnum { +@JsonSerialize(using = RUMRetentionQuotaMode.RUMRetentionQuotaModeSerializer.class) +public class RUMRetentionQuotaMode extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("custom")); - public static final RumRetentionQuotaMode CUSTOM = new RumRetentionQuotaMode("custom"); + public static final RUMRetentionQuotaMode CUSTOM = new RUMRetentionQuotaMode("custom"); - RumRetentionQuotaMode(String value) { + RUMRetentionQuotaMode(String value) { super(value, allowedValues); } - public static class RumRetentionQuotaModeSerializer extends StdSerializer { - public RumRetentionQuotaModeSerializer(Class t) { + public static class RUMRetentionQuotaModeSerializer extends StdSerializer { + public RUMRetentionQuotaModeSerializer(Class t) { super(t); } - public RumRetentionQuotaModeSerializer() { + public RUMRetentionQuotaModeSerializer() { this(null); } @Override public void serialize( - RumRetentionQuotaMode value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionQuotaMode value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionQuotaMode fromValue(String value) { - return new RumRetentionQuotaMode(value); + public static RUMRetentionQuotaMode fromValue(String value) { + return new RUMRetentionQuotaMode(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaReachedAction.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaReachedAction.java similarity index 61% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaReachedAction.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaReachedAction.java index dec2a65f93b..f317c69b8c8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaReachedAction.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaReachedAction.java @@ -20,41 +20,41 @@ /** The action to take when the session quota is reached. */ @JsonSerialize( - using = RumRetentionQuotaReachedAction.RumRetentionQuotaReachedActionSerializer.class) -public class RumRetentionQuotaReachedAction extends ModelEnum { + using = RUMRetentionQuotaReachedAction.RUMRetentionQuotaReachedActionSerializer.class) +public class RUMRetentionQuotaReachedAction extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("stop", "slowdown")); - public static final RumRetentionQuotaReachedAction STOP = - new RumRetentionQuotaReachedAction("stop"); - public static final RumRetentionQuotaReachedAction SLOWDOWN = - new RumRetentionQuotaReachedAction("slowdown"); + public static final RUMRetentionQuotaReachedAction STOP = + new RUMRetentionQuotaReachedAction("stop"); + public static final RUMRetentionQuotaReachedAction SLOWDOWN = + new RUMRetentionQuotaReachedAction("slowdown"); - RumRetentionQuotaReachedAction(String value) { + RUMRetentionQuotaReachedAction(String value) { super(value, allowedValues); } - public static class RumRetentionQuotaReachedActionSerializer - extends StdSerializer { - public RumRetentionQuotaReachedActionSerializer(Class t) { + public static class RUMRetentionQuotaReachedActionSerializer + extends StdSerializer { + public RUMRetentionQuotaReachedActionSerializer(Class t) { super(t); } - public RumRetentionQuotaReachedActionSerializer() { + public RUMRetentionQuotaReachedActionSerializer() { this(null); } @Override public void serialize( - RumRetentionQuotaReachedAction value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionQuotaReachedAction value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionQuotaReachedAction fromValue(String value) { - return new RumRetentionQuotaReachedAction(value); + public static RUMRetentionQuotaReachedAction fromValue(String value) { + return new RUMRetentionQuotaReachedAction(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaScopeType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaScopeType.java similarity index 66% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaScopeType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaScopeType.java index c258a559071..24710f6f64d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaScopeType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaScopeType.java @@ -22,39 +22,39 @@ * The type of scope the retention quota configuration applies to. application is the * only supported scope type. */ -@JsonSerialize(using = RumRetentionQuotaScopeType.RumRetentionQuotaScopeTypeSerializer.class) -public class RumRetentionQuotaScopeType extends ModelEnum { +@JsonSerialize(using = RUMRetentionQuotaScopeType.RUMRetentionQuotaScopeTypeSerializer.class) +public class RUMRetentionQuotaScopeType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("application")); - public static final RumRetentionQuotaScopeType APPLICATION = - new RumRetentionQuotaScopeType("application"); + public static final RUMRetentionQuotaScopeType APPLICATION = + new RUMRetentionQuotaScopeType("application"); - RumRetentionQuotaScopeType(String value) { + RUMRetentionQuotaScopeType(String value) { super(value, allowedValues); } - public static class RumRetentionQuotaScopeTypeSerializer - extends StdSerializer { - public RumRetentionQuotaScopeTypeSerializer(Class t) { + public static class RUMRetentionQuotaScopeTypeSerializer + extends StdSerializer { + public RUMRetentionQuotaScopeTypeSerializer(Class t) { super(t); } - public RumRetentionQuotaScopeTypeSerializer() { + public RUMRetentionQuotaScopeTypeSerializer() { this(null); } @Override public void serialize( - RumRetentionQuotaScopeType value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionQuotaScopeType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionQuotaScopeType fromValue(String value) { - return new RumRetentionQuotaScopeType(value); + public static RUMRetentionQuotaScopeType fromValue(String value) { + return new RUMRetentionQuotaScopeType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaWindowType.java b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaWindowType.java similarity index 65% rename from src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaWindowType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaWindowType.java index 90cc91804e9..5f4942cb040 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumRetentionQuotaWindowType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMRetentionQuotaWindowType.java @@ -19,37 +19,37 @@ import java.util.Set; /** The window type over which the session limit is enforced. */ -@JsonSerialize(using = RumRetentionQuotaWindowType.RumRetentionQuotaWindowTypeSerializer.class) -public class RumRetentionQuotaWindowType extends ModelEnum { +@JsonSerialize(using = RUMRetentionQuotaWindowType.RUMRetentionQuotaWindowTypeSerializer.class) +public class RUMRetentionQuotaWindowType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("daily")); - public static final RumRetentionQuotaWindowType DAILY = new RumRetentionQuotaWindowType("daily"); + public static final RUMRetentionQuotaWindowType DAILY = new RUMRetentionQuotaWindowType("daily"); - RumRetentionQuotaWindowType(String value) { + RUMRetentionQuotaWindowType(String value) { super(value, allowedValues); } - public static class RumRetentionQuotaWindowTypeSerializer - extends StdSerializer { - public RumRetentionQuotaWindowTypeSerializer(Class t) { + public static class RUMRetentionQuotaWindowTypeSerializer + extends StdSerializer { + public RUMRetentionQuotaWindowTypeSerializer(Class t) { super(t); } - public RumRetentionQuotaWindowTypeSerializer() { + public RUMRetentionQuotaWindowTypeSerializer() { this(null); } @Override public void serialize( - RumRetentionQuotaWindowType value, JsonGenerator jgen, SerializerProvider provider) + RUMRetentionQuotaWindowType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumRetentionQuotaWindowType fromValue(String value) { - return new RumRetentionQuotaWindowType(value); + public static RUMRetentionQuotaWindowType fromValue(String value) { + return new RUMRetentionQuotaWindowType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigAttributes.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigAttributes.java index a06da351261..93b301bd559 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigAttributes.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Attributes of the RUM SDK configuration. */ -@JsonPropertyOrder({RumSdkConfigAttributes.JSON_PROPERTY_RUM}) +@JsonPropertyOrder({RUMSdkConfigAttributes.JSON_PROPERTY_RUM}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigAttributes { +public class RUMSdkConfigAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_RUM = "rum"; - private RumSdkConfigRumAttributes rum; + private RUMSdkConfigRUMAttributes rum; - public RumSdkConfigAttributes() {} + public RUMSdkConfigAttributes() {} @JsonCreator - public RumSdkConfigAttributes( - @JsonProperty(required = true, value = JSON_PROPERTY_RUM) RumSdkConfigRumAttributes rum) { + public RUMSdkConfigAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_RUM) RUMSdkConfigRUMAttributes rum) { this.rum = rum; this.unparsed |= rum.unparsed; } - public RumSdkConfigAttributes rum(RumSdkConfigRumAttributes rum) { + public RUMSdkConfigAttributes rum(RUMSdkConfigRUMAttributes rum) { this.rum = rum; this.unparsed |= rum.unparsed; return this; @@ -48,11 +48,11 @@ public RumSdkConfigAttributes rum(RumSdkConfigRumAttributes rum) { */ @JsonProperty(JSON_PROPERTY_RUM) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigRumAttributes getRum() { + public RUMSdkConfigRUMAttributes getRum() { return rum; } - public void setRum(RumSdkConfigRumAttributes rum) { + public void setRum(RUMSdkConfigRUMAttributes rum) { this.rum = rum; if (rum != null) { this.unparsed |= rum.unparsed; @@ -71,10 +71,10 @@ public void setRum(RumSdkConfigRumAttributes rum) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigAttributes + * @return RUMSdkConfigAttributes */ @JsonAnySetter - public RumSdkConfigAttributes putAdditionalProperty(String key, Object value) { + public RUMSdkConfigAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigAttributes object is equal to o. */ + /** Return true if this RUMSdkConfigAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigAttributes rumSdkConfigAttributes = (RumSdkConfigAttributes) o; + RUMSdkConfigAttributes rumSdkConfigAttributes = (RUMSdkConfigAttributes) o; return Objects.equals(this.rum, rumSdkConfigAttributes.rum) && Objects.equals(this.additionalProperties, rumSdkConfigAttributes.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigAttributes {\n"); + sb.append("class RUMSdkConfigAttributes {\n"); sb.append(" rum: ").append(toIndentedString(rum)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigData.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigData.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigData.java index a4809c27eba..c12448a0f33 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigData.java @@ -19,35 +19,35 @@ /** The RUM SDK configuration data object. */ @JsonPropertyOrder({ - RumSdkConfigData.JSON_PROPERTY_ATTRIBUTES, - RumSdkConfigData.JSON_PROPERTY_ID, - RumSdkConfigData.JSON_PROPERTY_META, - RumSdkConfigData.JSON_PROPERTY_TYPE + RUMSdkConfigData.JSON_PROPERTY_ATTRIBUTES, + RUMSdkConfigData.JSON_PROPERTY_ID, + RUMSdkConfigData.JSON_PROPERTY_META, + RUMSdkConfigData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigData { +public class RUMSdkConfigData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumSdkConfigAttributes attributes; + private RUMSdkConfigAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_META = "meta"; - private RumSdkConfigMeta meta; + private RUMSdkConfigMeta meta; public static final String JSON_PROPERTY_TYPE = "type"; - private RumSdkConfigType type = RumSdkConfigType.RUM_SDK_CONFIG; + private RUMSdkConfigType type = RUMSdkConfigType.RUM_SDK_CONFIG; - public RumSdkConfigData() {} + public RUMSdkConfigData() {} @JsonCreator - public RumSdkConfigData( + public RUMSdkConfigData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumSdkConfigAttributes attributes, + RUMSdkConfigAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumSdkConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMSdkConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -55,7 +55,7 @@ public RumSdkConfigData( this.unparsed |= !type.isValid(); } - public RumSdkConfigData attributes(RumSdkConfigAttributes attributes) { + public RUMSdkConfigData attributes(RUMSdkConfigAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -68,18 +68,18 @@ public RumSdkConfigData attributes(RumSdkConfigAttributes attributes) { */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigAttributes getAttributes() { + public RUMSdkConfigAttributes getAttributes() { return attributes; } - public void setAttributes(RumSdkConfigAttributes attributes) { + public void setAttributes(RUMSdkConfigAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumSdkConfigData id(String id) { + public RUMSdkConfigData id(String id) { this.id = id; return this; } @@ -99,7 +99,7 @@ public void setId(String id) { this.id = id; } - public RumSdkConfigData meta(RumSdkConfigMeta meta) { + public RUMSdkConfigData meta(RUMSdkConfigMeta meta) { this.meta = meta; this.unparsed |= meta.unparsed; return this; @@ -113,18 +113,18 @@ public RumSdkConfigData meta(RumSdkConfigMeta meta) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_META) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumSdkConfigMeta getMeta() { + public RUMSdkConfigMeta getMeta() { return meta; } - public void setMeta(RumSdkConfigMeta meta) { + public void setMeta(RUMSdkConfigMeta meta) { this.meta = meta; if (meta != null) { this.unparsed |= meta.unparsed; } } - public RumSdkConfigData type(RumSdkConfigType type) { + public RUMSdkConfigData type(RUMSdkConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -137,11 +137,11 @@ public RumSdkConfigData type(RumSdkConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigType getType() { + public RUMSdkConfigType getType() { return type; } - public void setType(RumSdkConfigType type) { + public void setType(RUMSdkConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -160,10 +160,10 @@ public void setType(RumSdkConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigData + * @return RUMSdkConfigData */ @JsonAnySetter - public RumSdkConfigData putAdditionalProperty(String key, Object value) { + public RUMSdkConfigData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -194,7 +194,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigData object is equal to o. */ + /** Return true if this RUMSdkConfigData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -203,7 +203,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigData rumSdkConfigData = (RumSdkConfigData) o; + RUMSdkConfigData rumSdkConfigData = (RUMSdkConfigData) o; return Objects.equals(this.attributes, rumSdkConfigData.attributes) && Objects.equals(this.id, rumSdkConfigData.id) && Objects.equals(this.meta, rumSdkConfigData.meta) @@ -219,7 +219,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigData {\n"); + sb.append("class RUMSdkConfigData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" meta: ").append(toIndentedString(meta)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOption.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOption.java similarity index 82% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOption.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOption.java index 6238ef38957..8520bbdd042 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOption.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOption.java @@ -19,24 +19,24 @@ /** A dynamic configuration option that extracts a value at runtime using a specified strategy. */ @JsonPropertyOrder({ - RumSdkConfigDynamicOption.JSON_PROPERTY_ATTRIBUTE, - RumSdkConfigDynamicOption.JSON_PROPERTY_EXTRACTOR, - RumSdkConfigDynamicOption.JSON_PROPERTY_KEY, - RumSdkConfigDynamicOption.JSON_PROPERTY_NAME, - RumSdkConfigDynamicOption.JSON_PROPERTY_PATH, - RumSdkConfigDynamicOption.JSON_PROPERTY_RC_SERIALIZED_TYPE, - RumSdkConfigDynamicOption.JSON_PROPERTY_SELECTOR, - RumSdkConfigDynamicOption.JSON_PROPERTY_STRATEGY + RUMSdkConfigDynamicOption.JSON_PROPERTY_ATTRIBUTE, + RUMSdkConfigDynamicOption.JSON_PROPERTY_EXTRACTOR, + RUMSdkConfigDynamicOption.JSON_PROPERTY_KEY, + RUMSdkConfigDynamicOption.JSON_PROPERTY_NAME, + RUMSdkConfigDynamicOption.JSON_PROPERTY_PATH, + RUMSdkConfigDynamicOption.JSON_PROPERTY_RC_SERIALIZED_TYPE, + RUMSdkConfigDynamicOption.JSON_PROPERTY_SELECTOR, + RUMSdkConfigDynamicOption.JSON_PROPERTY_STRATEGY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigDynamicOption { +public class RUMSdkConfigDynamicOption { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTE = "attribute"; private String attribute; public static final String JSON_PROPERTY_EXTRACTOR = "extractor"; - private RumSdkConfigSerializedRegex extractor; + private RUMSdkConfigSerializedRegex extractor; public static final String JSON_PROPERTY_KEY = "key"; private String key; @@ -48,29 +48,29 @@ public class RumSdkConfigDynamicOption { private String path; public static final String JSON_PROPERTY_RC_SERIALIZED_TYPE = "rc_serialized_type"; - private RumSdkConfigDynamicOptionSerializedType rcSerializedType; + private RUMSdkConfigDynamicOptionSerializedType rcSerializedType; public static final String JSON_PROPERTY_SELECTOR = "selector"; private String selector; public static final String JSON_PROPERTY_STRATEGY = "strategy"; - private RumSdkConfigDynamicOptionStrategy strategy; + private RUMSdkConfigDynamicOptionStrategy strategy; - public RumSdkConfigDynamicOption() {} + public RUMSdkConfigDynamicOption() {} @JsonCreator - public RumSdkConfigDynamicOption( + public RUMSdkConfigDynamicOption( @JsonProperty(required = true, value = JSON_PROPERTY_RC_SERIALIZED_TYPE) - RumSdkConfigDynamicOptionSerializedType rcSerializedType, + RUMSdkConfigDynamicOptionSerializedType rcSerializedType, @JsonProperty(required = true, value = JSON_PROPERTY_STRATEGY) - RumSdkConfigDynamicOptionStrategy strategy) { + RUMSdkConfigDynamicOptionStrategy strategy) { this.rcSerializedType = rcSerializedType; this.unparsed |= !rcSerializedType.isValid(); this.strategy = strategy; this.unparsed |= !strategy.isValid(); } - public RumSdkConfigDynamicOption attribute(String attribute) { + public RUMSdkConfigDynamicOption attribute(String attribute) { this.attribute = attribute; return this; } @@ -91,7 +91,7 @@ public void setAttribute(String attribute) { this.attribute = attribute; } - public RumSdkConfigDynamicOption extractor(RumSdkConfigSerializedRegex extractor) { + public RUMSdkConfigDynamicOption extractor(RUMSdkConfigSerializedRegex extractor) { this.extractor = extractor; this.unparsed |= extractor.unparsed; return this; @@ -105,18 +105,18 @@ public RumSdkConfigDynamicOption extractor(RumSdkConfigSerializedRegex extractor @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_EXTRACTOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumSdkConfigSerializedRegex getExtractor() { + public RUMSdkConfigSerializedRegex getExtractor() { return extractor; } - public void setExtractor(RumSdkConfigSerializedRegex extractor) { + public void setExtractor(RUMSdkConfigSerializedRegex extractor) { this.extractor = extractor; if (extractor != null) { this.unparsed |= extractor.unparsed; } } - public RumSdkConfigDynamicOption key(String key) { + public RUMSdkConfigDynamicOption key(String key) { this.key = key; return this; } @@ -138,7 +138,7 @@ public void setKey(String key) { this.key = key; } - public RumSdkConfigDynamicOption name(String name) { + public RUMSdkConfigDynamicOption name(String name) { this.name = name; return this; } @@ -159,7 +159,7 @@ public void setName(String name) { this.name = name; } - public RumSdkConfigDynamicOption path(String path) { + public RUMSdkConfigDynamicOption path(String path) { this.path = path; return this; } @@ -181,8 +181,8 @@ public void setPath(String path) { this.path = path; } - public RumSdkConfigDynamicOption rcSerializedType( - RumSdkConfigDynamicOptionSerializedType rcSerializedType) { + public RUMSdkConfigDynamicOption rcSerializedType( + RUMSdkConfigDynamicOptionSerializedType rcSerializedType) { this.rcSerializedType = rcSerializedType; this.unparsed |= !rcSerializedType.isValid(); return this; @@ -195,18 +195,18 @@ public RumSdkConfigDynamicOption rcSerializedType( */ @JsonProperty(JSON_PROPERTY_RC_SERIALIZED_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigDynamicOptionSerializedType getRcSerializedType() { + public RUMSdkConfigDynamicOptionSerializedType getRcSerializedType() { return rcSerializedType; } - public void setRcSerializedType(RumSdkConfigDynamicOptionSerializedType rcSerializedType) { + public void setRcSerializedType(RUMSdkConfigDynamicOptionSerializedType rcSerializedType) { if (!rcSerializedType.isValid()) { this.unparsed = true; } this.rcSerializedType = rcSerializedType; } - public RumSdkConfigDynamicOption selector(String selector) { + public RUMSdkConfigDynamicOption selector(String selector) { this.selector = selector; return this; } @@ -228,7 +228,7 @@ public void setSelector(String selector) { this.selector = selector; } - public RumSdkConfigDynamicOption strategy(RumSdkConfigDynamicOptionStrategy strategy) { + public RUMSdkConfigDynamicOption strategy(RUMSdkConfigDynamicOptionStrategy strategy) { this.strategy = strategy; this.unparsed |= !strategy.isValid(); return this; @@ -241,11 +241,11 @@ public RumSdkConfigDynamicOption strategy(RumSdkConfigDynamicOptionStrategy stra */ @JsonProperty(JSON_PROPERTY_STRATEGY) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigDynamicOptionStrategy getStrategy() { + public RUMSdkConfigDynamicOptionStrategy getStrategy() { return strategy; } - public void setStrategy(RumSdkConfigDynamicOptionStrategy strategy) { + public void setStrategy(RUMSdkConfigDynamicOptionStrategy strategy) { if (!strategy.isValid()) { this.unparsed = true; } @@ -264,10 +264,10 @@ public void setStrategy(RumSdkConfigDynamicOptionStrategy strategy) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigDynamicOption + * @return RUMSdkConfigDynamicOption */ @JsonAnySetter - public RumSdkConfigDynamicOption putAdditionalProperty(String key, Object value) { + public RUMSdkConfigDynamicOption putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -298,7 +298,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigDynamicOption object is equal to o. */ + /** Return true if this RUMSdkConfigDynamicOption object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -307,7 +307,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigDynamicOption rumSdkConfigDynamicOption = (RumSdkConfigDynamicOption) o; + RUMSdkConfigDynamicOption rumSdkConfigDynamicOption = (RUMSdkConfigDynamicOption) o; return Objects.equals(this.attribute, rumSdkConfigDynamicOption.attribute) && Objects.equals(this.extractor, rumSdkConfigDynamicOption.extractor) && Objects.equals(this.key, rumSdkConfigDynamicOption.key) @@ -337,7 +337,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigDynamicOption {\n"); + sb.append("class RUMSdkConfigDynamicOption {\n"); sb.append(" attribute: ").append(toIndentedString(attribute)).append("\n"); sb.append(" extractor: ").append(toIndentedString(extractor)).append("\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionPair.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionPair.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionPair.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionPair.java index 6545dc7423b..22f99c21693 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionPair.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionPair.java @@ -19,31 +19,31 @@ /** A key-value pair where the value is a dynamic configuration option. */ @JsonPropertyOrder({ - RumSdkConfigDynamicOptionPair.JSON_PROPERTY_KEY, - RumSdkConfigDynamicOptionPair.JSON_PROPERTY_VALUE + RUMSdkConfigDynamicOptionPair.JSON_PROPERTY_KEY, + RUMSdkConfigDynamicOptionPair.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigDynamicOptionPair { +public class RUMSdkConfigDynamicOptionPair { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_KEY = "key"; private String key; public static final String JSON_PROPERTY_VALUE = "value"; - private RumSdkConfigDynamicOption value; + private RUMSdkConfigDynamicOption value; - public RumSdkConfigDynamicOptionPair() {} + public RUMSdkConfigDynamicOptionPair() {} @JsonCreator - public RumSdkConfigDynamicOptionPair( + public RUMSdkConfigDynamicOptionPair( @JsonProperty(required = true, value = JSON_PROPERTY_KEY) String key, - @JsonProperty(required = true, value = JSON_PROPERTY_VALUE) RumSdkConfigDynamicOption value) { + @JsonProperty(required = true, value = JSON_PROPERTY_VALUE) RUMSdkConfigDynamicOption value) { this.key = key; this.value = value; this.unparsed |= value.unparsed; } - public RumSdkConfigDynamicOptionPair key(String key) { + public RUMSdkConfigDynamicOptionPair key(String key) { this.key = key; return this; } @@ -63,7 +63,7 @@ public void setKey(String key) { this.key = key; } - public RumSdkConfigDynamicOptionPair value(RumSdkConfigDynamicOption value) { + public RUMSdkConfigDynamicOptionPair value(RUMSdkConfigDynamicOption value) { this.value = value; this.unparsed |= value.unparsed; return this; @@ -76,11 +76,11 @@ public RumSdkConfigDynamicOptionPair value(RumSdkConfigDynamicOption value) { */ @JsonProperty(JSON_PROPERTY_VALUE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigDynamicOption getValue() { + public RUMSdkConfigDynamicOption getValue() { return value; } - public void setValue(RumSdkConfigDynamicOption value) { + public void setValue(RUMSdkConfigDynamicOption value) { this.value = value; if (value != null) { this.unparsed |= value.unparsed; @@ -99,10 +99,10 @@ public void setValue(RumSdkConfigDynamicOption value) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigDynamicOptionPair + * @return RUMSdkConfigDynamicOptionPair */ @JsonAnySetter - public RumSdkConfigDynamicOptionPair putAdditionalProperty(String key, Object value) { + public RUMSdkConfigDynamicOptionPair putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -133,7 +133,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigDynamicOptionPair object is equal to o. */ + /** Return true if this RUMSdkConfigDynamicOptionPair object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -142,7 +142,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigDynamicOptionPair rumSdkConfigDynamicOptionPair = (RumSdkConfigDynamicOptionPair) o; + RUMSdkConfigDynamicOptionPair rumSdkConfigDynamicOptionPair = (RUMSdkConfigDynamicOptionPair) o; return Objects.equals(this.key, rumSdkConfigDynamicOptionPair.key) && Objects.equals(this.value, rumSdkConfigDynamicOptionPair.value) && Objects.equals( @@ -157,7 +157,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigDynamicOptionPair {\n"); + sb.append("class RUMSdkConfigDynamicOptionPair {\n"); sb.append(" key: ").append(toIndentedString(key)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionSerializedType.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionSerializedType.java similarity index 63% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionSerializedType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionSerializedType.java index 75e0d3014ea..270cba5df67 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionSerializedType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionSerializedType.java @@ -21,33 +21,33 @@ /** The type identifier for a dynamic option. Always dynamic. */ @JsonSerialize( using = - RumSdkConfigDynamicOptionSerializedType.RumSdkConfigDynamicOptionSerializedTypeSerializer + RUMSdkConfigDynamicOptionSerializedType.RUMSdkConfigDynamicOptionSerializedTypeSerializer .class) -public class RumSdkConfigDynamicOptionSerializedType extends ModelEnum { +public class RUMSdkConfigDynamicOptionSerializedType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("dynamic")); - public static final RumSdkConfigDynamicOptionSerializedType DYNAMIC = - new RumSdkConfigDynamicOptionSerializedType("dynamic"); + public static final RUMSdkConfigDynamicOptionSerializedType DYNAMIC = + new RUMSdkConfigDynamicOptionSerializedType("dynamic"); - RumSdkConfigDynamicOptionSerializedType(String value) { + RUMSdkConfigDynamicOptionSerializedType(String value) { super(value, allowedValues); } - public static class RumSdkConfigDynamicOptionSerializedTypeSerializer - extends StdSerializer { - public RumSdkConfigDynamicOptionSerializedTypeSerializer( - Class t) { + public static class RUMSdkConfigDynamicOptionSerializedTypeSerializer + extends StdSerializer { + public RUMSdkConfigDynamicOptionSerializedTypeSerializer( + Class t) { super(t); } - public RumSdkConfigDynamicOptionSerializedTypeSerializer() { + public RUMSdkConfigDynamicOptionSerializedTypeSerializer() { this(null); } @Override public void serialize( - RumSdkConfigDynamicOptionSerializedType value, + RUMSdkConfigDynamicOptionSerializedType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { @@ -56,7 +56,7 @@ public void serialize( } @JsonCreator - public static RumSdkConfigDynamicOptionSerializedType fromValue(String value) { - return new RumSdkConfigDynamicOptionSerializedType(value); + public static RUMSdkConfigDynamicOptionSerializedType fromValue(String value) { + return new RUMSdkConfigDynamicOptionSerializedType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionStrategy.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionStrategy.java similarity index 55% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionStrategy.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionStrategy.java index 04b3b231ced..d7e4fb85131 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigDynamicOptionStrategy.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigDynamicOptionStrategy.java @@ -20,45 +20,45 @@ /** The strategy used to extract the dynamic value. */ @JsonSerialize( - using = RumSdkConfigDynamicOptionStrategy.RumSdkConfigDynamicOptionStrategySerializer.class) -public class RumSdkConfigDynamicOptionStrategy extends ModelEnum { + using = RUMSdkConfigDynamicOptionStrategy.RUMSdkConfigDynamicOptionStrategySerializer.class) +public class RUMSdkConfigDynamicOptionStrategy extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("js", "cookie", "dom", "localStorage")); - public static final RumSdkConfigDynamicOptionStrategy JS = - new RumSdkConfigDynamicOptionStrategy("js"); - public static final RumSdkConfigDynamicOptionStrategy COOKIE = - new RumSdkConfigDynamicOptionStrategy("cookie"); - public static final RumSdkConfigDynamicOptionStrategy DOM = - new RumSdkConfigDynamicOptionStrategy("dom"); - public static final RumSdkConfigDynamicOptionStrategy LOCAL_STORAGE = - new RumSdkConfigDynamicOptionStrategy("localStorage"); + public static final RUMSdkConfigDynamicOptionStrategy JS = + new RUMSdkConfigDynamicOptionStrategy("js"); + public static final RUMSdkConfigDynamicOptionStrategy COOKIE = + new RUMSdkConfigDynamicOptionStrategy("cookie"); + public static final RUMSdkConfigDynamicOptionStrategy DOM = + new RUMSdkConfigDynamicOptionStrategy("dom"); + public static final RUMSdkConfigDynamicOptionStrategy LOCAL_STORAGE = + new RUMSdkConfigDynamicOptionStrategy("localStorage"); - RumSdkConfigDynamicOptionStrategy(String value) { + RUMSdkConfigDynamicOptionStrategy(String value) { super(value, allowedValues); } - public static class RumSdkConfigDynamicOptionStrategySerializer - extends StdSerializer { - public RumSdkConfigDynamicOptionStrategySerializer(Class t) { + public static class RUMSdkConfigDynamicOptionStrategySerializer + extends StdSerializer { + public RUMSdkConfigDynamicOptionStrategySerializer(Class t) { super(t); } - public RumSdkConfigDynamicOptionStrategySerializer() { + public RUMSdkConfigDynamicOptionStrategySerializer() { this(null); } @Override public void serialize( - RumSdkConfigDynamicOptionStrategy value, JsonGenerator jgen, SerializerProvider provider) + RUMSdkConfigDynamicOptionStrategy value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumSdkConfigDynamicOptionStrategy fromValue(String value) { - return new RumSdkConfigDynamicOptionStrategy(value); + public static RUMSdkConfigDynamicOptionStrategy fromValue(String value) { + return new RUMSdkConfigDynamicOptionStrategy(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMatchOption.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMatchOption.java similarity index 84% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMatchOption.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMatchOption.java index a4a09e8a9e6..43bbdd8ca10 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMatchOption.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMatchOption.java @@ -19,33 +19,33 @@ /** A match option used for URL or origin pattern matching. */ @JsonPropertyOrder({ - RumSdkConfigMatchOption.JSON_PROPERTY_RC_SERIALIZED_TYPE, - RumSdkConfigMatchOption.JSON_PROPERTY_VALUE + RUMSdkConfigMatchOption.JSON_PROPERTY_RC_SERIALIZED_TYPE, + RUMSdkConfigMatchOption.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigMatchOption { +public class RUMSdkConfigMatchOption { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_RC_SERIALIZED_TYPE = "rc_serialized_type"; - private RumSdkConfigMatchOptionSerializedType rcSerializedType; + private RUMSdkConfigMatchOptionSerializedType rcSerializedType; public static final String JSON_PROPERTY_VALUE = "value"; private String value; - public RumSdkConfigMatchOption() {} + public RUMSdkConfigMatchOption() {} @JsonCreator - public RumSdkConfigMatchOption( + public RUMSdkConfigMatchOption( @JsonProperty(required = true, value = JSON_PROPERTY_RC_SERIALIZED_TYPE) - RumSdkConfigMatchOptionSerializedType rcSerializedType, + RUMSdkConfigMatchOptionSerializedType rcSerializedType, @JsonProperty(required = true, value = JSON_PROPERTY_VALUE) String value) { this.rcSerializedType = rcSerializedType; this.unparsed |= !rcSerializedType.isValid(); this.value = value; } - public RumSdkConfigMatchOption rcSerializedType( - RumSdkConfigMatchOptionSerializedType rcSerializedType) { + public RUMSdkConfigMatchOption rcSerializedType( + RUMSdkConfigMatchOptionSerializedType rcSerializedType) { this.rcSerializedType = rcSerializedType; this.unparsed |= !rcSerializedType.isValid(); return this; @@ -58,18 +58,18 @@ public RumSdkConfigMatchOption rcSerializedType( */ @JsonProperty(JSON_PROPERTY_RC_SERIALIZED_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigMatchOptionSerializedType getRcSerializedType() { + public RUMSdkConfigMatchOptionSerializedType getRcSerializedType() { return rcSerializedType; } - public void setRcSerializedType(RumSdkConfigMatchOptionSerializedType rcSerializedType) { + public void setRcSerializedType(RUMSdkConfigMatchOptionSerializedType rcSerializedType) { if (!rcSerializedType.isValid()) { this.unparsed = true; } this.rcSerializedType = rcSerializedType; } - public RumSdkConfigMatchOption value(String value) { + public RUMSdkConfigMatchOption value(String value) { this.value = value; return this; } @@ -101,10 +101,10 @@ public void setValue(String value) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigMatchOption + * @return RUMSdkConfigMatchOption */ @JsonAnySetter - public RumSdkConfigMatchOption putAdditionalProperty(String key, Object value) { + public RUMSdkConfigMatchOption putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -135,7 +135,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigMatchOption object is equal to o. */ + /** Return true if this RUMSdkConfigMatchOption object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -144,7 +144,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigMatchOption rumSdkConfigMatchOption = (RumSdkConfigMatchOption) o; + RUMSdkConfigMatchOption rumSdkConfigMatchOption = (RUMSdkConfigMatchOption) o; return Objects.equals(this.rcSerializedType, rumSdkConfigMatchOption.rcSerializedType) && Objects.equals(this.value, rumSdkConfigMatchOption.value) && Objects.equals(this.additionalProperties, rumSdkConfigMatchOption.additionalProperties); @@ -158,7 +158,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigMatchOption {\n"); + sb.append("class RUMSdkConfigMatchOption {\n"); sb.append(" rcSerializedType: ").append(toIndentedString(rcSerializedType)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMatchOptionSerializedType.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMatchOptionSerializedType.java similarity index 60% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMatchOptionSerializedType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMatchOptionSerializedType.java index a4e1e005436..b752547cda6 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMatchOptionSerializedType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMatchOptionSerializedType.java @@ -21,35 +21,35 @@ /** The type of match pattern, either a literal string or a regex. */ @JsonSerialize( using = - RumSdkConfigMatchOptionSerializedType.RumSdkConfigMatchOptionSerializedTypeSerializer.class) -public class RumSdkConfigMatchOptionSerializedType extends ModelEnum { + RUMSdkConfigMatchOptionSerializedType.RUMSdkConfigMatchOptionSerializedTypeSerializer.class) +public class RUMSdkConfigMatchOptionSerializedType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("string", "regex")); - public static final RumSdkConfigMatchOptionSerializedType STRING = - new RumSdkConfigMatchOptionSerializedType("string"); - public static final RumSdkConfigMatchOptionSerializedType REGEX = - new RumSdkConfigMatchOptionSerializedType("regex"); + public static final RUMSdkConfigMatchOptionSerializedType STRING = + new RUMSdkConfigMatchOptionSerializedType("string"); + public static final RUMSdkConfigMatchOptionSerializedType REGEX = + new RUMSdkConfigMatchOptionSerializedType("regex"); - RumSdkConfigMatchOptionSerializedType(String value) { + RUMSdkConfigMatchOptionSerializedType(String value) { super(value, allowedValues); } - public static class RumSdkConfigMatchOptionSerializedTypeSerializer - extends StdSerializer { - public RumSdkConfigMatchOptionSerializedTypeSerializer( - Class t) { + public static class RUMSdkConfigMatchOptionSerializedTypeSerializer + extends StdSerializer { + public RUMSdkConfigMatchOptionSerializedTypeSerializer( + Class t) { super(t); } - public RumSdkConfigMatchOptionSerializedTypeSerializer() { + public RUMSdkConfigMatchOptionSerializedTypeSerializer() { this(null); } @Override public void serialize( - RumSdkConfigMatchOptionSerializedType value, + RUMSdkConfigMatchOptionSerializedType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { @@ -58,7 +58,7 @@ public void serialize( } @JsonCreator - public static RumSdkConfigMatchOptionSerializedType fromValue(String value) { - return new RumSdkConfigMatchOptionSerializedType(value); + public static RUMSdkConfigMatchOptionSerializedType fromValue(String value) { + return new RUMSdkConfigMatchOptionSerializedType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMeta.java similarity index 89% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMeta.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMeta.java index a22e424b346..3ce16e2801b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigMeta.java @@ -20,12 +20,12 @@ /** Metadata associated with a RUM SDK configuration. */ @JsonPropertyOrder({ - RumSdkConfigMeta.JSON_PROPERTY_UPDATED_AT, - RumSdkConfigMeta.JSON_PROPERTY_UPDATED_BY + RUMSdkConfigMeta.JSON_PROPERTY_UPDATED_AT, + RUMSdkConfigMeta.JSON_PROPERTY_UPDATED_BY }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigMeta { +public class RUMSdkConfigMeta { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_UPDATED_AT = "updated_at"; private OffsetDateTime updatedAt; @@ -33,17 +33,17 @@ public class RumSdkConfigMeta { public static final String JSON_PROPERTY_UPDATED_BY = "updated_by"; private String updatedBy; - public RumSdkConfigMeta() {} + public RUMSdkConfigMeta() {} @JsonCreator - public RumSdkConfigMeta( + public RUMSdkConfigMeta( @JsonProperty(required = true, value = JSON_PROPERTY_UPDATED_AT) OffsetDateTime updatedAt, @JsonProperty(required = true, value = JSON_PROPERTY_UPDATED_BY) String updatedBy) { this.updatedAt = updatedAt; this.updatedBy = updatedBy; } - public RumSdkConfigMeta updatedAt(OffsetDateTime updatedAt) { + public RUMSdkConfigMeta updatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; return this; } @@ -63,7 +63,7 @@ public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; } - public RumSdkConfigMeta updatedBy(String updatedBy) { + public RUMSdkConfigMeta updatedBy(String updatedBy) { this.updatedBy = updatedBy; return this; } @@ -95,10 +95,10 @@ public void setUpdatedBy(String updatedBy) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigMeta + * @return RUMSdkConfigMeta */ @JsonAnySetter - public RumSdkConfigMeta putAdditionalProperty(String key, Object value) { + public RUMSdkConfigMeta putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -129,7 +129,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigMeta object is equal to o. */ + /** Return true if this RUMSdkConfigMeta object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -138,7 +138,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigMeta rumSdkConfigMeta = (RumSdkConfigMeta) o; + RUMSdkConfigMeta rumSdkConfigMeta = (RUMSdkConfigMeta) o; return Objects.equals(this.updatedAt, rumSdkConfigMeta.updatedAt) && Objects.equals(this.updatedBy, rumSdkConfigMeta.updatedBy) && Objects.equals(this.additionalProperties, rumSdkConfigMeta.additionalProperties); @@ -152,7 +152,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigMeta {\n"); + sb.append("class RUMSdkConfigMeta {\n"); sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append(" updatedBy: ").append(toIndentedString(updatedBy)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigRumAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigRUMAttributes.java similarity index 81% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigRumAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigRUMAttributes.java index f9795dac237..097f065a8a5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigRumAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigRUMAttributes.java @@ -21,36 +21,36 @@ /** The RUM SDK settings for a configuration. */ @JsonPropertyOrder({ - RumSdkConfigRumAttributes.JSON_PROPERTY_ALLOWED_TRACING_URLS, - RumSdkConfigRumAttributes.JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS, - RumSdkConfigRumAttributes.JSON_PROPERTY_APPLICATION_ID, - RumSdkConfigRumAttributes.JSON_PROPERTY_CONTEXT, - RumSdkConfigRumAttributes.JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL, - RumSdkConfigRumAttributes.JSON_PROPERTY_ENABLE_PRIVACY_FOR_ACTION_NAME, - RumSdkConfigRumAttributes.JSON_PROPERTY_ENV, - RumSdkConfigRumAttributes.JSON_PROPERTY_SERVICE, - RumSdkConfigRumAttributes.JSON_PROPERTY_SESSION_REPLAY_SAMPLE_RATE, - RumSdkConfigRumAttributes.JSON_PROPERTY_SESSION_SAMPLE_RATE, - RumSdkConfigRumAttributes.JSON_PROPERTY_TRACE_SAMPLE_RATE, - RumSdkConfigRumAttributes.JSON_PROPERTY_TRACK_SESSION_ACROSS_SUBDOMAINS, - RumSdkConfigRumAttributes.JSON_PROPERTY_USER, - RumSdkConfigRumAttributes.JSON_PROPERTY_VERSION + RUMSdkConfigRUMAttributes.JSON_PROPERTY_ALLOWED_TRACING_URLS, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_APPLICATION_ID, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_CONTEXT, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_ENABLE_PRIVACY_FOR_ACTION_NAME, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_ENV, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_SERVICE, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_SESSION_REPLAY_SAMPLE_RATE, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_SESSION_SAMPLE_RATE, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_TRACE_SAMPLE_RATE, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_TRACK_SESSION_ACROSS_SUBDOMAINS, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_USER, + RUMSdkConfigRUMAttributes.JSON_PROPERTY_VERSION }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigRumAttributes { +public class RUMSdkConfigRUMAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ALLOWED_TRACING_URLS = "allowed_tracing_urls"; - private List allowedTracingUrls = null; + private List allowedTracingUrls = null; public static final String JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS = "allowed_tracking_origins"; - private List allowedTrackingOrigins = null; + private List allowedTrackingOrigins = null; public static final String JSON_PROPERTY_APPLICATION_ID = "application_id"; private String applicationId; public static final String JSON_PROPERTY_CONTEXT = "context"; - private List context = null; + private List context = null; public static final String JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL = "default_privacy_level"; private String defaultPrivacyLevel; @@ -80,15 +80,15 @@ public class RumSdkConfigRumAttributes { private Boolean trackSessionAcrossSubdomains; public static final String JSON_PROPERTY_USER = "user"; - private List user = null; + private List user = null; public static final String JSON_PROPERTY_VERSION = "version"; - private RumSdkConfigDynamicOption version; + private RUMSdkConfigDynamicOption version; - public RumSdkConfigRumAttributes() {} + public RUMSdkConfigRUMAttributes() {} @JsonCreator - public RumSdkConfigRumAttributes( + public RUMSdkConfigRUMAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_APPLICATION_ID) String applicationId, @JsonProperty(required = true, value = JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL) String defaultPrivacyLevel, @@ -105,19 +105,19 @@ public RumSdkConfigRumAttributes( this.sessionSampleRate = sessionSampleRate; } - public RumSdkConfigRumAttributes allowedTracingUrls( - List allowedTracingUrls) { + public RUMSdkConfigRUMAttributes allowedTracingUrls( + List allowedTracingUrls) { this.allowedTracingUrls = allowedTracingUrls; if (allowedTracingUrls != null) { - for (RumSdkConfigTracingUrlConfig item : allowedTracingUrls) { + for (RUMSdkConfigTracingUrlConfig item : allowedTracingUrls) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumAttributes addAllowedTracingUrlsItem( - RumSdkConfigTracingUrlConfig allowedTracingUrlsItem) { + public RUMSdkConfigRUMAttributes addAllowedTracingUrlsItem( + RUMSdkConfigTracingUrlConfig allowedTracingUrlsItem) { if (this.allowedTracingUrls == null) { this.allowedTracingUrls = new ArrayList<>(); } @@ -134,32 +134,32 @@ public RumSdkConfigRumAttributes addAllowedTracingUrlsItem( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ALLOWED_TRACING_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedTracingUrls() { + public List getAllowedTracingUrls() { return allowedTracingUrls; } - public void setAllowedTracingUrls(List allowedTracingUrls) { + public void setAllowedTracingUrls(List allowedTracingUrls) { this.allowedTracingUrls = allowedTracingUrls; if (allowedTracingUrls != null) { - for (RumSdkConfigTracingUrlConfig item : allowedTracingUrls) { + for (RUMSdkConfigTracingUrlConfig item : allowedTracingUrls) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumAttributes allowedTrackingOrigins( - List allowedTrackingOrigins) { + public RUMSdkConfigRUMAttributes allowedTrackingOrigins( + List allowedTrackingOrigins) { this.allowedTrackingOrigins = allowedTrackingOrigins; if (allowedTrackingOrigins != null) { - for (RumSdkConfigMatchOption item : allowedTrackingOrigins) { + for (RUMSdkConfigMatchOption item : allowedTrackingOrigins) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumAttributes addAllowedTrackingOriginsItem( - RumSdkConfigMatchOption allowedTrackingOriginsItem) { + public RUMSdkConfigRUMAttributes addAllowedTrackingOriginsItem( + RUMSdkConfigMatchOption allowedTrackingOriginsItem) { if (this.allowedTrackingOrigins == null) { this.allowedTrackingOrigins = new ArrayList<>(); } @@ -176,20 +176,20 @@ public RumSdkConfigRumAttributes addAllowedTrackingOriginsItem( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedTrackingOrigins() { + public List getAllowedTrackingOrigins() { return allowedTrackingOrigins; } - public void setAllowedTrackingOrigins(List allowedTrackingOrigins) { + public void setAllowedTrackingOrigins(List allowedTrackingOrigins) { this.allowedTrackingOrigins = allowedTrackingOrigins; if (allowedTrackingOrigins != null) { - for (RumSdkConfigMatchOption item : allowedTrackingOrigins) { + for (RUMSdkConfigMatchOption item : allowedTrackingOrigins) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumAttributes applicationId(String applicationId) { + public RUMSdkConfigRUMAttributes applicationId(String applicationId) { this.applicationId = applicationId; return this; } @@ -209,17 +209,17 @@ public void setApplicationId(String applicationId) { this.applicationId = applicationId; } - public RumSdkConfigRumAttributes context(List context) { + public RUMSdkConfigRUMAttributes context(List context) { this.context = context; if (context != null) { - for (RumSdkConfigDynamicOptionPair item : context) { + for (RUMSdkConfigDynamicOptionPair item : context) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumAttributes addContextItem(RumSdkConfigDynamicOptionPair contextItem) { + public RUMSdkConfigRUMAttributes addContextItem(RUMSdkConfigDynamicOptionPair contextItem) { if (this.context == null) { this.context = new ArrayList<>(); } @@ -236,20 +236,20 @@ public RumSdkConfigRumAttributes addContextItem(RumSdkConfigDynamicOptionPair co @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CONTEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getContext() { + public List getContext() { return context; } - public void setContext(List context) { + public void setContext(List context) { this.context = context; if (context != null) { - for (RumSdkConfigDynamicOptionPair item : context) { + for (RUMSdkConfigDynamicOptionPair item : context) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumAttributes defaultPrivacyLevel(String defaultPrivacyLevel) { + public RUMSdkConfigRUMAttributes defaultPrivacyLevel(String defaultPrivacyLevel) { this.defaultPrivacyLevel = defaultPrivacyLevel; return this; } @@ -269,7 +269,7 @@ public void setDefaultPrivacyLevel(String defaultPrivacyLevel) { this.defaultPrivacyLevel = defaultPrivacyLevel; } - public RumSdkConfigRumAttributes enablePrivacyForActionName(Boolean enablePrivacyForActionName) { + public RUMSdkConfigRUMAttributes enablePrivacyForActionName(Boolean enablePrivacyForActionName) { this.enablePrivacyForActionName = enablePrivacyForActionName; return this; } @@ -289,7 +289,7 @@ public void setEnablePrivacyForActionName(Boolean enablePrivacyForActionName) { this.enablePrivacyForActionName = enablePrivacyForActionName; } - public RumSdkConfigRumAttributes env(String env) { + public RUMSdkConfigRUMAttributes env(String env) { this.env = env; return this; } @@ -310,7 +310,7 @@ public void setEnv(String env) { this.env = env; } - public RumSdkConfigRumAttributes service(String service) { + public RUMSdkConfigRUMAttributes service(String service) { this.service = service; return this; } @@ -331,7 +331,7 @@ public void setService(String service) { this.service = service; } - public RumSdkConfigRumAttributes sessionReplaySampleRate(Long sessionReplaySampleRate) { + public RUMSdkConfigRUMAttributes sessionReplaySampleRate(Long sessionReplaySampleRate) { this.sessionReplaySampleRate = sessionReplaySampleRate; return this; } @@ -352,7 +352,7 @@ public void setSessionReplaySampleRate(Long sessionReplaySampleRate) { this.sessionReplaySampleRate = sessionReplaySampleRate; } - public RumSdkConfigRumAttributes sessionSampleRate(Long sessionSampleRate) { + public RUMSdkConfigRUMAttributes sessionSampleRate(Long sessionSampleRate) { this.sessionSampleRate = sessionSampleRate; return this; } @@ -372,7 +372,7 @@ public void setSessionSampleRate(Long sessionSampleRate) { this.sessionSampleRate = sessionSampleRate; } - public RumSdkConfigRumAttributes traceSampleRate(Long traceSampleRate) { + public RUMSdkConfigRUMAttributes traceSampleRate(Long traceSampleRate) { this.traceSampleRate = traceSampleRate; return this; } @@ -393,7 +393,7 @@ public void setTraceSampleRate(Long traceSampleRate) { this.traceSampleRate = traceSampleRate; } - public RumSdkConfigRumAttributes trackSessionAcrossSubdomains( + public RUMSdkConfigRUMAttributes trackSessionAcrossSubdomains( Boolean trackSessionAcrossSubdomains) { this.trackSessionAcrossSubdomains = trackSessionAcrossSubdomains; return this; @@ -415,17 +415,17 @@ public void setTrackSessionAcrossSubdomains(Boolean trackSessionAcrossSubdomains this.trackSessionAcrossSubdomains = trackSessionAcrossSubdomains; } - public RumSdkConfigRumAttributes user(List user) { + public RUMSdkConfigRUMAttributes user(List user) { this.user = user; if (user != null) { - for (RumSdkConfigDynamicOptionPair item : user) { + for (RUMSdkConfigDynamicOptionPair item : user) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumAttributes addUserItem(RumSdkConfigDynamicOptionPair userItem) { + public RUMSdkConfigRUMAttributes addUserItem(RUMSdkConfigDynamicOptionPair userItem) { if (this.user == null) { this.user = new ArrayList<>(); } @@ -442,20 +442,20 @@ public RumSdkConfigRumAttributes addUserItem(RumSdkConfigDynamicOptionPair userI @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUser() { + public List getUser() { return user; } - public void setUser(List user) { + public void setUser(List user) { this.user = user; if (user != null) { - for (RumSdkConfigDynamicOptionPair item : user) { + for (RUMSdkConfigDynamicOptionPair item : user) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumAttributes version(RumSdkConfigDynamicOption version) { + public RUMSdkConfigRUMAttributes version(RUMSdkConfigDynamicOption version) { this.version = version; this.unparsed |= version.unparsed; return this; @@ -469,11 +469,11 @@ public RumSdkConfigRumAttributes version(RumSdkConfigDynamicOption version) { @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumSdkConfigDynamicOption getVersion() { + public RUMSdkConfigDynamicOption getVersion() { return version; } - public void setVersion(RumSdkConfigDynamicOption version) { + public void setVersion(RUMSdkConfigDynamicOption version) { this.version = version; if (version != null) { this.unparsed |= version.unparsed; @@ -492,10 +492,10 @@ public void setVersion(RumSdkConfigDynamicOption version) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigRumAttributes + * @return RUMSdkConfigRUMAttributes */ @JsonAnySetter - public RumSdkConfigRumAttributes putAdditionalProperty(String key, Object value) { + public RUMSdkConfigRUMAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -526,7 +526,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigRumAttributes object is equal to o. */ + /** Return true if this RUMSdkConfigRUMAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -535,7 +535,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigRumAttributes rumSdkConfigRumAttributes = (RumSdkConfigRumAttributes) o; + RUMSdkConfigRUMAttributes rumSdkConfigRumAttributes = (RUMSdkConfigRUMAttributes) o; return Objects.equals(this.allowedTracingUrls, rumSdkConfigRumAttributes.allowedTracingUrls) && Objects.equals( this.allowedTrackingOrigins, rumSdkConfigRumAttributes.allowedTrackingOrigins) @@ -582,7 +582,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigRumAttributes {\n"); + sb.append("class RUMSdkConfigRUMAttributes {\n"); sb.append(" allowedTracingUrls: ").append(toIndentedString(allowedTracingUrls)).append("\n"); sb.append(" allowedTrackingOrigins: ") .append(toIndentedString(allowedTrackingOrigins)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigRumUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigRUMUpdateAttributes.java similarity index 80% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigRumUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigRUMUpdateAttributes.java index 42552b47dcd..8a454c2ceae 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigRumUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigRUMUpdateAttributes.java @@ -21,32 +21,32 @@ /** The RUM SDK settings to apply when updating a configuration. */ @JsonPropertyOrder({ - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_ALLOWED_TRACING_URLS, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_CONTEXT, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_ENABLE_PRIVACY_FOR_ACTION_NAME, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_ENV, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_SERVICE, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_SESSION_REPLAY_SAMPLE_RATE, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_SESSION_SAMPLE_RATE, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_TRACE_SAMPLE_RATE, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_TRACK_SESSION_ACROSS_SUBDOMAINS, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_USER, - RumSdkConfigRumUpdateAttributes.JSON_PROPERTY_VERSION + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_ALLOWED_TRACING_URLS, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_CONTEXT, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_ENABLE_PRIVACY_FOR_ACTION_NAME, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_ENV, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_SERVICE, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_SESSION_REPLAY_SAMPLE_RATE, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_SESSION_SAMPLE_RATE, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_TRACE_SAMPLE_RATE, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_TRACK_SESSION_ACROSS_SUBDOMAINS, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_USER, + RUMSdkConfigRUMUpdateAttributes.JSON_PROPERTY_VERSION }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigRumUpdateAttributes { +public class RUMSdkConfigRUMUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ALLOWED_TRACING_URLS = "allowed_tracing_urls"; - private List allowedTracingUrls = null; + private List allowedTracingUrls = null; public static final String JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS = "allowed_tracking_origins"; - private List allowedTrackingOrigins = null; + private List allowedTrackingOrigins = null; public static final String JSON_PROPERTY_CONTEXT = "context"; - private List context = null; + private List context = null; public static final String JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL = "default_privacy_level"; private String defaultPrivacyLevel; @@ -76,15 +76,15 @@ public class RumSdkConfigRumUpdateAttributes { private Boolean trackSessionAcrossSubdomains; public static final String JSON_PROPERTY_USER = "user"; - private List user = null; + private List user = null; public static final String JSON_PROPERTY_VERSION = "version"; - private RumSdkConfigDynamicOption version; + private RUMSdkConfigDynamicOption version; - public RumSdkConfigRumUpdateAttributes() {} + public RUMSdkConfigRUMUpdateAttributes() {} @JsonCreator - public RumSdkConfigRumUpdateAttributes( + public RUMSdkConfigRUMUpdateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_DEFAULT_PRIVACY_LEVEL) String defaultPrivacyLevel, @JsonProperty(required = true, value = JSON_PROPERTY_ENABLE_PRIVACY_FOR_ACTION_NAME) @@ -99,19 +99,19 @@ public RumSdkConfigRumUpdateAttributes( this.sessionSampleRate = sessionSampleRate; } - public RumSdkConfigRumUpdateAttributes allowedTracingUrls( - List allowedTracingUrls) { + public RUMSdkConfigRUMUpdateAttributes allowedTracingUrls( + List allowedTracingUrls) { this.allowedTracingUrls = allowedTracingUrls; if (allowedTracingUrls != null) { - for (RumSdkConfigTracingUrlConfig item : allowedTracingUrls) { + for (RUMSdkConfigTracingUrlConfig item : allowedTracingUrls) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumUpdateAttributes addAllowedTracingUrlsItem( - RumSdkConfigTracingUrlConfig allowedTracingUrlsItem) { + public RUMSdkConfigRUMUpdateAttributes addAllowedTracingUrlsItem( + RUMSdkConfigTracingUrlConfig allowedTracingUrlsItem) { if (this.allowedTracingUrls == null) { this.allowedTracingUrls = new ArrayList<>(); } @@ -128,32 +128,32 @@ public RumSdkConfigRumUpdateAttributes addAllowedTracingUrlsItem( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ALLOWED_TRACING_URLS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedTracingUrls() { + public List getAllowedTracingUrls() { return allowedTracingUrls; } - public void setAllowedTracingUrls(List allowedTracingUrls) { + public void setAllowedTracingUrls(List allowedTracingUrls) { this.allowedTracingUrls = allowedTracingUrls; if (allowedTracingUrls != null) { - for (RumSdkConfigTracingUrlConfig item : allowedTracingUrls) { + for (RUMSdkConfigTracingUrlConfig item : allowedTracingUrls) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumUpdateAttributes allowedTrackingOrigins( - List allowedTrackingOrigins) { + public RUMSdkConfigRUMUpdateAttributes allowedTrackingOrigins( + List allowedTrackingOrigins) { this.allowedTrackingOrigins = allowedTrackingOrigins; if (allowedTrackingOrigins != null) { - for (RumSdkConfigMatchOption item : allowedTrackingOrigins) { + for (RUMSdkConfigMatchOption item : allowedTrackingOrigins) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumUpdateAttributes addAllowedTrackingOriginsItem( - RumSdkConfigMatchOption allowedTrackingOriginsItem) { + public RUMSdkConfigRUMUpdateAttributes addAllowedTrackingOriginsItem( + RUMSdkConfigMatchOption allowedTrackingOriginsItem) { if (this.allowedTrackingOrigins == null) { this.allowedTrackingOrigins = new ArrayList<>(); } @@ -170,30 +170,30 @@ public RumSdkConfigRumUpdateAttributes addAllowedTrackingOriginsItem( @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_ALLOWED_TRACKING_ORIGINS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getAllowedTrackingOrigins() { + public List getAllowedTrackingOrigins() { return allowedTrackingOrigins; } - public void setAllowedTrackingOrigins(List allowedTrackingOrigins) { + public void setAllowedTrackingOrigins(List allowedTrackingOrigins) { this.allowedTrackingOrigins = allowedTrackingOrigins; if (allowedTrackingOrigins != null) { - for (RumSdkConfigMatchOption item : allowedTrackingOrigins) { + for (RUMSdkConfigMatchOption item : allowedTrackingOrigins) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumUpdateAttributes context(List context) { + public RUMSdkConfigRUMUpdateAttributes context(List context) { this.context = context; if (context != null) { - for (RumSdkConfigDynamicOptionPair item : context) { + for (RUMSdkConfigDynamicOptionPair item : context) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumUpdateAttributes addContextItem(RumSdkConfigDynamicOptionPair contextItem) { + public RUMSdkConfigRUMUpdateAttributes addContextItem(RUMSdkConfigDynamicOptionPair contextItem) { if (this.context == null) { this.context = new ArrayList<>(); } @@ -210,20 +210,20 @@ public RumSdkConfigRumUpdateAttributes addContextItem(RumSdkConfigDynamicOptionP @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_CONTEXT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getContext() { + public List getContext() { return context; } - public void setContext(List context) { + public void setContext(List context) { this.context = context; if (context != null) { - for (RumSdkConfigDynamicOptionPair item : context) { + for (RUMSdkConfigDynamicOptionPair item : context) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumUpdateAttributes defaultPrivacyLevel(String defaultPrivacyLevel) { + public RUMSdkConfigRUMUpdateAttributes defaultPrivacyLevel(String defaultPrivacyLevel) { this.defaultPrivacyLevel = defaultPrivacyLevel; return this; } @@ -243,7 +243,7 @@ public void setDefaultPrivacyLevel(String defaultPrivacyLevel) { this.defaultPrivacyLevel = defaultPrivacyLevel; } - public RumSdkConfigRumUpdateAttributes enablePrivacyForActionName( + public RUMSdkConfigRUMUpdateAttributes enablePrivacyForActionName( Boolean enablePrivacyForActionName) { this.enablePrivacyForActionName = enablePrivacyForActionName; return this; @@ -264,7 +264,7 @@ public void setEnablePrivacyForActionName(Boolean enablePrivacyForActionName) { this.enablePrivacyForActionName = enablePrivacyForActionName; } - public RumSdkConfigRumUpdateAttributes env(String env) { + public RUMSdkConfigRUMUpdateAttributes env(String env) { this.env = env; return this; } @@ -285,7 +285,7 @@ public void setEnv(String env) { this.env = env; } - public RumSdkConfigRumUpdateAttributes service(String service) { + public RUMSdkConfigRUMUpdateAttributes service(String service) { this.service = service; return this; } @@ -306,7 +306,7 @@ public void setService(String service) { this.service = service; } - public RumSdkConfigRumUpdateAttributes sessionReplaySampleRate(Long sessionReplaySampleRate) { + public RUMSdkConfigRUMUpdateAttributes sessionReplaySampleRate(Long sessionReplaySampleRate) { this.sessionReplaySampleRate = sessionReplaySampleRate; return this; } @@ -327,7 +327,7 @@ public void setSessionReplaySampleRate(Long sessionReplaySampleRate) { this.sessionReplaySampleRate = sessionReplaySampleRate; } - public RumSdkConfigRumUpdateAttributes sessionSampleRate(Long sessionSampleRate) { + public RUMSdkConfigRUMUpdateAttributes sessionSampleRate(Long sessionSampleRate) { this.sessionSampleRate = sessionSampleRate; return this; } @@ -347,7 +347,7 @@ public void setSessionSampleRate(Long sessionSampleRate) { this.sessionSampleRate = sessionSampleRate; } - public RumSdkConfigRumUpdateAttributes traceSampleRate(Long traceSampleRate) { + public RUMSdkConfigRUMUpdateAttributes traceSampleRate(Long traceSampleRate) { this.traceSampleRate = traceSampleRate; return this; } @@ -368,7 +368,7 @@ public void setTraceSampleRate(Long traceSampleRate) { this.traceSampleRate = traceSampleRate; } - public RumSdkConfigRumUpdateAttributes trackSessionAcrossSubdomains( + public RUMSdkConfigRUMUpdateAttributes trackSessionAcrossSubdomains( Boolean trackSessionAcrossSubdomains) { this.trackSessionAcrossSubdomains = trackSessionAcrossSubdomains; return this; @@ -390,17 +390,17 @@ public void setTrackSessionAcrossSubdomains(Boolean trackSessionAcrossSubdomains this.trackSessionAcrossSubdomains = trackSessionAcrossSubdomains; } - public RumSdkConfigRumUpdateAttributes user(List user) { + public RUMSdkConfigRUMUpdateAttributes user(List user) { this.user = user; if (user != null) { - for (RumSdkConfigDynamicOptionPair item : user) { + for (RUMSdkConfigDynamicOptionPair item : user) { this.unparsed |= item.unparsed; } } return this; } - public RumSdkConfigRumUpdateAttributes addUserItem(RumSdkConfigDynamicOptionPair userItem) { + public RUMSdkConfigRUMUpdateAttributes addUserItem(RUMSdkConfigDynamicOptionPair userItem) { if (this.user == null) { this.user = new ArrayList<>(); } @@ -417,20 +417,20 @@ public RumSdkConfigRumUpdateAttributes addUserItem(RumSdkConfigDynamicOptionPair @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_USER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getUser() { + public List getUser() { return user; } - public void setUser(List user) { + public void setUser(List user) { this.user = user; if (user != null) { - for (RumSdkConfigDynamicOptionPair item : user) { + for (RUMSdkConfigDynamicOptionPair item : user) { this.unparsed |= item.unparsed; } } } - public RumSdkConfigRumUpdateAttributes version(RumSdkConfigDynamicOption version) { + public RUMSdkConfigRUMUpdateAttributes version(RUMSdkConfigDynamicOption version) { this.version = version; this.unparsed |= version.unparsed; return this; @@ -444,11 +444,11 @@ public RumSdkConfigRumUpdateAttributes version(RumSdkConfigDynamicOption version @jakarta.annotation.Nullable @JsonProperty(JSON_PROPERTY_VERSION) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public RumSdkConfigDynamicOption getVersion() { + public RUMSdkConfigDynamicOption getVersion() { return version; } - public void setVersion(RumSdkConfigDynamicOption version) { + public void setVersion(RUMSdkConfigDynamicOption version) { this.version = version; if (version != null) { this.unparsed |= version.unparsed; @@ -467,10 +467,10 @@ public void setVersion(RumSdkConfigDynamicOption version) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigRumUpdateAttributes + * @return RUMSdkConfigRUMUpdateAttributes */ @JsonAnySetter - public RumSdkConfigRumUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMSdkConfigRUMUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -501,7 +501,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigRumUpdateAttributes object is equal to o. */ + /** Return true if this RUMSdkConfigRUMUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -510,8 +510,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigRumUpdateAttributes rumSdkConfigRumUpdateAttributes = - (RumSdkConfigRumUpdateAttributes) o; + RUMSdkConfigRUMUpdateAttributes rumSdkConfigRumUpdateAttributes = + (RUMSdkConfigRUMUpdateAttributes) o; return Objects.equals( this.allowedTracingUrls, rumSdkConfigRumUpdateAttributes.allowedTracingUrls) && Objects.equals( @@ -559,7 +559,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigRumUpdateAttributes {\n"); + sb.append("class RUMSdkConfigRUMUpdateAttributes {\n"); sb.append(" allowedTracingUrls: ").append(toIndentedString(allowedTracingUrls)).append("\n"); sb.append(" allowedTrackingOrigins: ") .append(toIndentedString(allowedTrackingOrigins)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigResponse.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigResponse.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigResponse.java index 2860f92f5e2..1336ef3bc3b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigResponse.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Response containing a RUM SDK configuration. */ -@JsonPropertyOrder({RumSdkConfigResponse.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMSdkConfigResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigResponse { +public class RUMSdkConfigResponse { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumSdkConfigData data; + private RUMSdkConfigData data; - public RumSdkConfigResponse() {} + public RUMSdkConfigResponse() {} @JsonCreator - public RumSdkConfigResponse( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumSdkConfigData data) { + public RUMSdkConfigResponse( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMSdkConfigData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumSdkConfigResponse data(RumSdkConfigData data) { + public RUMSdkConfigResponse data(RUMSdkConfigData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumSdkConfigResponse data(RumSdkConfigData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigData getData() { + public RUMSdkConfigData getData() { return data; } - public void setData(RumSdkConfigData data) { + public void setData(RUMSdkConfigData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumSdkConfigData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigResponse + * @return RUMSdkConfigResponse */ @JsonAnySetter - public RumSdkConfigResponse putAdditionalProperty(String key, Object value) { + public RUMSdkConfigResponse putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigResponse object is equal to o. */ + /** Return true if this RUMSdkConfigResponse object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigResponse rumSdkConfigResponse = (RumSdkConfigResponse) o; + RUMSdkConfigResponse rumSdkConfigResponse = (RUMSdkConfigResponse) o; return Objects.equals(this.data, rumSdkConfigResponse.data) && Objects.equals(this.additionalProperties, rumSdkConfigResponse.additionalProperties); } @@ -127,7 +127,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigResponse {\n"); + sb.append("class RUMSdkConfigResponse {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigSerializedRegex.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigSerializedRegex.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigSerializedRegex.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigSerializedRegex.java index d408260a5ed..88123cc4e5a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigSerializedRegex.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigSerializedRegex.java @@ -19,33 +19,33 @@ /** A serialized regex used as an extractor in dynamic options. */ @JsonPropertyOrder({ - RumSdkConfigSerializedRegex.JSON_PROPERTY_RC_SERIALIZED_TYPE, - RumSdkConfigSerializedRegex.JSON_PROPERTY_VALUE + RUMSdkConfigSerializedRegex.JSON_PROPERTY_RC_SERIALIZED_TYPE, + RUMSdkConfigSerializedRegex.JSON_PROPERTY_VALUE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigSerializedRegex { +public class RUMSdkConfigSerializedRegex { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_RC_SERIALIZED_TYPE = "rc_serialized_type"; - private RumSdkConfigSerializedRegexType rcSerializedType; + private RUMSdkConfigSerializedRegexType rcSerializedType; public static final String JSON_PROPERTY_VALUE = "value"; private String value; - public RumSdkConfigSerializedRegex() {} + public RUMSdkConfigSerializedRegex() {} @JsonCreator - public RumSdkConfigSerializedRegex( + public RUMSdkConfigSerializedRegex( @JsonProperty(required = true, value = JSON_PROPERTY_RC_SERIALIZED_TYPE) - RumSdkConfigSerializedRegexType rcSerializedType, + RUMSdkConfigSerializedRegexType rcSerializedType, @JsonProperty(required = true, value = JSON_PROPERTY_VALUE) String value) { this.rcSerializedType = rcSerializedType; this.unparsed |= !rcSerializedType.isValid(); this.value = value; } - public RumSdkConfigSerializedRegex rcSerializedType( - RumSdkConfigSerializedRegexType rcSerializedType) { + public RUMSdkConfigSerializedRegex rcSerializedType( + RUMSdkConfigSerializedRegexType rcSerializedType) { this.rcSerializedType = rcSerializedType; this.unparsed |= !rcSerializedType.isValid(); return this; @@ -58,18 +58,18 @@ public RumSdkConfigSerializedRegex rcSerializedType( */ @JsonProperty(JSON_PROPERTY_RC_SERIALIZED_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigSerializedRegexType getRcSerializedType() { + public RUMSdkConfigSerializedRegexType getRcSerializedType() { return rcSerializedType; } - public void setRcSerializedType(RumSdkConfigSerializedRegexType rcSerializedType) { + public void setRcSerializedType(RUMSdkConfigSerializedRegexType rcSerializedType) { if (!rcSerializedType.isValid()) { this.unparsed = true; } this.rcSerializedType = rcSerializedType; } - public RumSdkConfigSerializedRegex value(String value) { + public RUMSdkConfigSerializedRegex value(String value) { this.value = value; return this; } @@ -101,10 +101,10 @@ public void setValue(String value) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigSerializedRegex + * @return RUMSdkConfigSerializedRegex */ @JsonAnySetter - public RumSdkConfigSerializedRegex putAdditionalProperty(String key, Object value) { + public RUMSdkConfigSerializedRegex putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -135,7 +135,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigSerializedRegex object is equal to o. */ + /** Return true if this RUMSdkConfigSerializedRegex object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -144,7 +144,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigSerializedRegex rumSdkConfigSerializedRegex = (RumSdkConfigSerializedRegex) o; + RUMSdkConfigSerializedRegex rumSdkConfigSerializedRegex = (RUMSdkConfigSerializedRegex) o; return Objects.equals(this.rcSerializedType, rumSdkConfigSerializedRegex.rcSerializedType) && Objects.equals(this.value, rumSdkConfigSerializedRegex.value) && Objects.equals( @@ -159,7 +159,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigSerializedRegex {\n"); + sb.append("class RUMSdkConfigSerializedRegex {\n"); sb.append(" rcSerializedType: ").append(toIndentedString(rcSerializedType)).append("\n"); sb.append(" value: ").append(toIndentedString(value)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigSerializedRegexType.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigSerializedRegexType.java similarity index 64% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigSerializedRegexType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigSerializedRegexType.java index 9bd18620232..3d267ff4166 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigSerializedRegexType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigSerializedRegexType.java @@ -20,38 +20,38 @@ /** The type identifier for a serialized regex. Always regex. */ @JsonSerialize( - using = RumSdkConfigSerializedRegexType.RumSdkConfigSerializedRegexTypeSerializer.class) -public class RumSdkConfigSerializedRegexType extends ModelEnum { + using = RUMSdkConfigSerializedRegexType.RUMSdkConfigSerializedRegexTypeSerializer.class) +public class RUMSdkConfigSerializedRegexType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("regex")); - public static final RumSdkConfigSerializedRegexType REGEX = - new RumSdkConfigSerializedRegexType("regex"); + public static final RUMSdkConfigSerializedRegexType REGEX = + new RUMSdkConfigSerializedRegexType("regex"); - RumSdkConfigSerializedRegexType(String value) { + RUMSdkConfigSerializedRegexType(String value) { super(value, allowedValues); } - public static class RumSdkConfigSerializedRegexTypeSerializer - extends StdSerializer { - public RumSdkConfigSerializedRegexTypeSerializer(Class t) { + public static class RUMSdkConfigSerializedRegexTypeSerializer + extends StdSerializer { + public RUMSdkConfigSerializedRegexTypeSerializer(Class t) { super(t); } - public RumSdkConfigSerializedRegexTypeSerializer() { + public RUMSdkConfigSerializedRegexTypeSerializer() { this(null); } @Override public void serialize( - RumSdkConfigSerializedRegexType value, JsonGenerator jgen, SerializerProvider provider) + RUMSdkConfigSerializedRegexType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumSdkConfigSerializedRegexType fromValue(String value) { - return new RumSdkConfigSerializedRegexType(value); + public static RUMSdkConfigSerializedRegexType fromValue(String value) { + return new RUMSdkConfigSerializedRegexType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigTracingUrlConfig.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigTracingUrlConfig.java similarity index 79% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigTracingUrlConfig.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigTracingUrlConfig.java index a8deeed7210..0cf0d44022f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigTracingUrlConfig.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigTracingUrlConfig.java @@ -21,32 +21,32 @@ /** Configuration for a URL that should have distributed tracing enabled. */ @JsonPropertyOrder({ - RumSdkConfigTracingUrlConfig.JSON_PROPERTY_MATCH, - RumSdkConfigTracingUrlConfig.JSON_PROPERTY_PROPAGATOR_TYPES + RUMSdkConfigTracingUrlConfig.JSON_PROPERTY_MATCH, + RUMSdkConfigTracingUrlConfig.JSON_PROPERTY_PROPAGATOR_TYPES }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigTracingUrlConfig { +public class RUMSdkConfigTracingUrlConfig { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_MATCH = "match"; - private RumSdkConfigMatchOption match; + private RUMSdkConfigMatchOption match; public static final String JSON_PROPERTY_PROPAGATOR_TYPES = "propagator_types"; - private List propagatorTypes = new ArrayList<>(); + private List propagatorTypes = new ArrayList<>(); - public RumSdkConfigTracingUrlConfig() {} + public RUMSdkConfigTracingUrlConfig() {} @JsonCreator - public RumSdkConfigTracingUrlConfig( - @JsonProperty(required = true, value = JSON_PROPERTY_MATCH) RumSdkConfigMatchOption match, + public RUMSdkConfigTracingUrlConfig( + @JsonProperty(required = true, value = JSON_PROPERTY_MATCH) RUMSdkConfigMatchOption match, @JsonProperty(required = true, value = JSON_PROPERTY_PROPAGATOR_TYPES) - List propagatorTypes) { + List propagatorTypes) { this.match = match; this.unparsed |= match.unparsed; this.propagatorTypes = propagatorTypes; } - public RumSdkConfigTracingUrlConfig match(RumSdkConfigMatchOption match) { + public RUMSdkConfigTracingUrlConfig match(RUMSdkConfigMatchOption match) { this.match = match; this.unparsed |= match.unparsed; return this; @@ -59,25 +59,25 @@ public RumSdkConfigTracingUrlConfig match(RumSdkConfigMatchOption match) { */ @JsonProperty(JSON_PROPERTY_MATCH) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigMatchOption getMatch() { + public RUMSdkConfigMatchOption getMatch() { return match; } - public void setMatch(RumSdkConfigMatchOption match) { + public void setMatch(RUMSdkConfigMatchOption match) { this.match = match; if (match != null) { this.unparsed |= match.unparsed; } } - public RumSdkConfigTracingUrlConfig propagatorTypes( - List propagatorTypes) { + public RUMSdkConfigTracingUrlConfig propagatorTypes( + List propagatorTypes) { this.propagatorTypes = propagatorTypes; return this; } - public RumSdkConfigTracingUrlConfig addPropagatorTypesItem( - RumSdkConfigTracingUrlPropagatorType propagatorTypesItem) { + public RUMSdkConfigTracingUrlConfig addPropagatorTypesItem( + RUMSdkConfigTracingUrlPropagatorType propagatorTypesItem) { this.propagatorTypes.add(propagatorTypesItem); this.unparsed |= !propagatorTypesItem.isValid(); return this; @@ -90,11 +90,11 @@ public RumSdkConfigTracingUrlConfig addPropagatorTypesItem( */ @JsonProperty(JSON_PROPERTY_PROPAGATOR_TYPES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public List getPropagatorTypes() { + public List getPropagatorTypes() { return propagatorTypes; } - public void setPropagatorTypes(List propagatorTypes) { + public void setPropagatorTypes(List propagatorTypes) { this.propagatorTypes = propagatorTypes; } @@ -110,10 +110,10 @@ public void setPropagatorTypes(List propag * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigTracingUrlConfig + * @return RUMSdkConfigTracingUrlConfig */ @JsonAnySetter - public RumSdkConfigTracingUrlConfig putAdditionalProperty(String key, Object value) { + public RUMSdkConfigTracingUrlConfig putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -144,7 +144,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigTracingUrlConfig object is equal to o. */ + /** Return true if this RUMSdkConfigTracingUrlConfig object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -153,7 +153,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigTracingUrlConfig rumSdkConfigTracingUrlConfig = (RumSdkConfigTracingUrlConfig) o; + RUMSdkConfigTracingUrlConfig rumSdkConfigTracingUrlConfig = (RUMSdkConfigTracingUrlConfig) o; return Objects.equals(this.match, rumSdkConfigTracingUrlConfig.match) && Objects.equals(this.propagatorTypes, rumSdkConfigTracingUrlConfig.propagatorTypes) && Objects.equals( @@ -168,7 +168,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigTracingUrlConfig {\n"); + sb.append("class RUMSdkConfigTracingUrlConfig {\n"); sb.append(" match: ").append(toIndentedString(match)).append("\n"); sb.append(" propagatorTypes: ").append(toIndentedString(propagatorTypes)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigTracingUrlPropagatorType.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigTracingUrlPropagatorType.java similarity index 53% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigTracingUrlPropagatorType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigTracingUrlPropagatorType.java index 73cea00c34c..12755936fc8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigTracingUrlPropagatorType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigTracingUrlPropagatorType.java @@ -21,46 +21,46 @@ /** A trace propagator type. */ @JsonSerialize( using = - RumSdkConfigTracingUrlPropagatorType.RumSdkConfigTracingUrlPropagatorTypeSerializer.class) -public class RumSdkConfigTracingUrlPropagatorType extends ModelEnum { + RUMSdkConfigTracingUrlPropagatorType.RUMSdkConfigTracingUrlPropagatorTypeSerializer.class) +public class RUMSdkConfigTracingUrlPropagatorType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("datadog", "b3", "b3multi", "tracecontext")); - public static final RumSdkConfigTracingUrlPropagatorType DATADOG = - new RumSdkConfigTracingUrlPropagatorType("datadog"); - public static final RumSdkConfigTracingUrlPropagatorType B3 = - new RumSdkConfigTracingUrlPropagatorType("b3"); - public static final RumSdkConfigTracingUrlPropagatorType B3MULTI = - new RumSdkConfigTracingUrlPropagatorType("b3multi"); - public static final RumSdkConfigTracingUrlPropagatorType TRACECONTEXT = - new RumSdkConfigTracingUrlPropagatorType("tracecontext"); + public static final RUMSdkConfigTracingUrlPropagatorType DATADOG = + new RUMSdkConfigTracingUrlPropagatorType("datadog"); + public static final RUMSdkConfigTracingUrlPropagatorType B3 = + new RUMSdkConfigTracingUrlPropagatorType("b3"); + public static final RUMSdkConfigTracingUrlPropagatorType B3MULTI = + new RUMSdkConfigTracingUrlPropagatorType("b3multi"); + public static final RUMSdkConfigTracingUrlPropagatorType TRACECONTEXT = + new RUMSdkConfigTracingUrlPropagatorType("tracecontext"); - RumSdkConfigTracingUrlPropagatorType(String value) { + RUMSdkConfigTracingUrlPropagatorType(String value) { super(value, allowedValues); } - public static class RumSdkConfigTracingUrlPropagatorTypeSerializer - extends StdSerializer { - public RumSdkConfigTracingUrlPropagatorTypeSerializer( - Class t) { + public static class RUMSdkConfigTracingUrlPropagatorTypeSerializer + extends StdSerializer { + public RUMSdkConfigTracingUrlPropagatorTypeSerializer( + Class t) { super(t); } - public RumSdkConfigTracingUrlPropagatorTypeSerializer() { + public RUMSdkConfigTracingUrlPropagatorTypeSerializer() { this(null); } @Override public void serialize( - RumSdkConfigTracingUrlPropagatorType value, JsonGenerator jgen, SerializerProvider provider) + RUMSdkConfigTracingUrlPropagatorType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumSdkConfigTracingUrlPropagatorType fromValue(String value) { - return new RumSdkConfigTracingUrlPropagatorType(value); + public static RUMSdkConfigTracingUrlPropagatorType fromValue(String value) { + return new RUMSdkConfigTracingUrlPropagatorType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigType.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigType.java similarity index 68% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigType.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigType.java index eabcea54928..f02fc700ddd 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigType.java @@ -19,36 +19,36 @@ import java.util.Set; /** The type of the resource. The value should always be rum_sdk_config. */ -@JsonSerialize(using = RumSdkConfigType.RumSdkConfigTypeSerializer.class) -public class RumSdkConfigType extends ModelEnum { +@JsonSerialize(using = RUMSdkConfigType.RUMSdkConfigTypeSerializer.class) +public class RUMSdkConfigType extends ModelEnum { private static final Set allowedValues = new HashSet(Arrays.asList("rum_sdk_config")); - public static final RumSdkConfigType RUM_SDK_CONFIG = new RumSdkConfigType("rum_sdk_config"); + public static final RUMSdkConfigType RUM_SDK_CONFIG = new RUMSdkConfigType("rum_sdk_config"); - RumSdkConfigType(String value) { + RUMSdkConfigType(String value) { super(value, allowedValues); } - public static class RumSdkConfigTypeSerializer extends StdSerializer { - public RumSdkConfigTypeSerializer(Class t) { + public static class RUMSdkConfigTypeSerializer extends StdSerializer { + public RUMSdkConfigTypeSerializer(Class t) { super(t); } - public RumSdkConfigTypeSerializer() { + public RUMSdkConfigTypeSerializer() { this(null); } @Override - public void serialize(RumSdkConfigType value, JsonGenerator jgen, SerializerProvider provider) + public void serialize(RUMSdkConfigType value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException { jgen.writeObject(value.value); } } @JsonCreator - public static RumSdkConfigType fromValue(String value) { - return new RumSdkConfigType(value); + public static RUMSdkConfigType fromValue(String value) { + return new RUMSdkConfigType(value); } } diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateAttributes.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateAttributes.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateAttributes.java index ff08b61d2db..5402e6429d8 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateAttributes.java @@ -18,25 +18,25 @@ import java.util.Objects; /** Attributes of the RUM SDK configuration to update. */ -@JsonPropertyOrder({RumSdkConfigUpdateAttributes.JSON_PROPERTY_RUM}) +@JsonPropertyOrder({RUMSdkConfigUpdateAttributes.JSON_PROPERTY_RUM}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigUpdateAttributes { +public class RUMSdkConfigUpdateAttributes { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_RUM = "rum"; - private RumSdkConfigRumUpdateAttributes rum; + private RUMSdkConfigRUMUpdateAttributes rum; - public RumSdkConfigUpdateAttributes() {} + public RUMSdkConfigUpdateAttributes() {} @JsonCreator - public RumSdkConfigUpdateAttributes( + public RUMSdkConfigUpdateAttributes( @JsonProperty(required = true, value = JSON_PROPERTY_RUM) - RumSdkConfigRumUpdateAttributes rum) { + RUMSdkConfigRUMUpdateAttributes rum) { this.rum = rum; this.unparsed |= rum.unparsed; } - public RumSdkConfigUpdateAttributes rum(RumSdkConfigRumUpdateAttributes rum) { + public RUMSdkConfigUpdateAttributes rum(RUMSdkConfigRUMUpdateAttributes rum) { this.rum = rum; this.unparsed |= rum.unparsed; return this; @@ -49,11 +49,11 @@ public RumSdkConfigUpdateAttributes rum(RumSdkConfigRumUpdateAttributes rum) { */ @JsonProperty(JSON_PROPERTY_RUM) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigRumUpdateAttributes getRum() { + public RUMSdkConfigRUMUpdateAttributes getRum() { return rum; } - public void setRum(RumSdkConfigRumUpdateAttributes rum) { + public void setRum(RUMSdkConfigRUMUpdateAttributes rum) { this.rum = rum; if (rum != null) { this.unparsed |= rum.unparsed; @@ -72,10 +72,10 @@ public void setRum(RumSdkConfigRumUpdateAttributes rum) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigUpdateAttributes + * @return RUMSdkConfigUpdateAttributes */ @JsonAnySetter - public RumSdkConfigUpdateAttributes putAdditionalProperty(String key, Object value) { + public RUMSdkConfigUpdateAttributes putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -106,7 +106,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigUpdateAttributes object is equal to o. */ + /** Return true if this RUMSdkConfigUpdateAttributes object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -115,7 +115,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigUpdateAttributes rumSdkConfigUpdateAttributes = (RumSdkConfigUpdateAttributes) o; + RUMSdkConfigUpdateAttributes rumSdkConfigUpdateAttributes = (RUMSdkConfigUpdateAttributes) o; return Objects.equals(this.rum, rumSdkConfigUpdateAttributes.rum) && Objects.equals( this.additionalProperties, rumSdkConfigUpdateAttributes.additionalProperties); @@ -129,7 +129,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigUpdateAttributes {\n"); + sb.append("class RUMSdkConfigUpdateAttributes {\n"); sb.append(" rum: ").append(toIndentedString(rum)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateData.java similarity index 83% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateData.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateData.java index 40222bf15e0..57840d19d24 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateData.java @@ -19,31 +19,31 @@ /** The data object for updating a RUM SDK configuration. */ @JsonPropertyOrder({ - RumSdkConfigUpdateData.JSON_PROPERTY_ATTRIBUTES, - RumSdkConfigUpdateData.JSON_PROPERTY_ID, - RumSdkConfigUpdateData.JSON_PROPERTY_TYPE + RUMSdkConfigUpdateData.JSON_PROPERTY_ATTRIBUTES, + RUMSdkConfigUpdateData.JSON_PROPERTY_ID, + RUMSdkConfigUpdateData.JSON_PROPERTY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigUpdateData { +public class RUMSdkConfigUpdateData { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; - private RumSdkConfigUpdateAttributes attributes; + private RUMSdkConfigUpdateAttributes attributes; public static final String JSON_PROPERTY_ID = "id"; private String id; public static final String JSON_PROPERTY_TYPE = "type"; - private RumSdkConfigType type = RumSdkConfigType.RUM_SDK_CONFIG; + private RUMSdkConfigType type = RUMSdkConfigType.RUM_SDK_CONFIG; - public RumSdkConfigUpdateData() {} + public RUMSdkConfigUpdateData() {} @JsonCreator - public RumSdkConfigUpdateData( + public RUMSdkConfigUpdateData( @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) - RumSdkConfigUpdateAttributes attributes, + RUMSdkConfigUpdateAttributes attributes, @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, - @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RumSdkConfigType type) { + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) RUMSdkConfigType type) { this.attributes = attributes; this.unparsed |= attributes.unparsed; this.id = id; @@ -51,7 +51,7 @@ public RumSdkConfigUpdateData( this.unparsed |= !type.isValid(); } - public RumSdkConfigUpdateData attributes(RumSdkConfigUpdateAttributes attributes) { + public RUMSdkConfigUpdateData attributes(RUMSdkConfigUpdateAttributes attributes) { this.attributes = attributes; this.unparsed |= attributes.unparsed; return this; @@ -64,18 +64,18 @@ public RumSdkConfigUpdateData attributes(RumSdkConfigUpdateAttributes attributes */ @JsonProperty(JSON_PROPERTY_ATTRIBUTES) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigUpdateAttributes getAttributes() { + public RUMSdkConfigUpdateAttributes getAttributes() { return attributes; } - public void setAttributes(RumSdkConfigUpdateAttributes attributes) { + public void setAttributes(RUMSdkConfigUpdateAttributes attributes) { this.attributes = attributes; if (attributes != null) { this.unparsed |= attributes.unparsed; } } - public RumSdkConfigUpdateData id(String id) { + public RUMSdkConfigUpdateData id(String id) { this.id = id; return this; } @@ -95,7 +95,7 @@ public void setId(String id) { this.id = id; } - public RumSdkConfigUpdateData type(RumSdkConfigType type) { + public RUMSdkConfigUpdateData type(RUMSdkConfigType type) { this.type = type; this.unparsed |= !type.isValid(); return this; @@ -108,11 +108,11 @@ public RumSdkConfigUpdateData type(RumSdkConfigType type) { */ @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigType getType() { + public RUMSdkConfigType getType() { return type; } - public void setType(RumSdkConfigType type) { + public void setType(RUMSdkConfigType type) { if (!type.isValid()) { this.unparsed = true; } @@ -131,10 +131,10 @@ public void setType(RumSdkConfigType type) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigUpdateData + * @return RUMSdkConfigUpdateData */ @JsonAnySetter - public RumSdkConfigUpdateData putAdditionalProperty(String key, Object value) { + public RUMSdkConfigUpdateData putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -165,7 +165,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigUpdateData object is equal to o. */ + /** Return true if this RUMSdkConfigUpdateData object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -174,7 +174,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigUpdateData rumSdkConfigUpdateData = (RumSdkConfigUpdateData) o; + RUMSdkConfigUpdateData rumSdkConfigUpdateData = (RUMSdkConfigUpdateData) o; return Objects.equals(this.attributes, rumSdkConfigUpdateData.attributes) && Objects.equals(this.id, rumSdkConfigUpdateData.id) && Objects.equals(this.type, rumSdkConfigUpdateData.type) @@ -189,7 +189,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigUpdateData {\n"); + sb.append("class RUMSdkConfigUpdateData {\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateRequest.java similarity index 85% rename from src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateRequest.java rename to src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateRequest.java index 12f3cb671ff..e6d64570e93 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RumSdkConfigUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMSdkConfigUpdateRequest.java @@ -18,24 +18,24 @@ import java.util.Objects; /** Request body for updating a RUM SDK configuration. */ -@JsonPropertyOrder({RumSdkConfigUpdateRequest.JSON_PROPERTY_DATA}) +@JsonPropertyOrder({RUMSdkConfigUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") -public class RumSdkConfigUpdateRequest { +public class RUMSdkConfigUpdateRequest { @JsonIgnore public boolean unparsed = false; public static final String JSON_PROPERTY_DATA = "data"; - private RumSdkConfigUpdateData data; + private RUMSdkConfigUpdateData data; - public RumSdkConfigUpdateRequest() {} + public RUMSdkConfigUpdateRequest() {} @JsonCreator - public RumSdkConfigUpdateRequest( - @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RumSdkConfigUpdateData data) { + public RUMSdkConfigUpdateRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) RUMSdkConfigUpdateData data) { this.data = data; this.unparsed |= data.unparsed; } - public RumSdkConfigUpdateRequest data(RumSdkConfigUpdateData data) { + public RUMSdkConfigUpdateRequest data(RUMSdkConfigUpdateData data) { this.data = data; this.unparsed |= data.unparsed; return this; @@ -48,11 +48,11 @@ public RumSdkConfigUpdateRequest data(RumSdkConfigUpdateData data) { */ @JsonProperty(JSON_PROPERTY_DATA) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public RumSdkConfigUpdateData getData() { + public RUMSdkConfigUpdateData getData() { return data; } - public void setData(RumSdkConfigUpdateData data) { + public void setData(RUMSdkConfigUpdateData data) { this.data = data; if (data != null) { this.unparsed |= data.unparsed; @@ -71,10 +71,10 @@ public void setData(RumSdkConfigUpdateData data) { * * @param key The arbitrary key to set * @param value The associated value - * @return RumSdkConfigUpdateRequest + * @return RUMSdkConfigUpdateRequest */ @JsonAnySetter - public RumSdkConfigUpdateRequest putAdditionalProperty(String key, Object value) { + public RUMSdkConfigUpdateRequest putAdditionalProperty(String key, Object value) { if (this.additionalProperties == null) { this.additionalProperties = new HashMap(); } @@ -105,7 +105,7 @@ public Object getAdditionalProperty(String key) { return this.additionalProperties.get(key); } - /** Return true if this RumSdkConfigUpdateRequest object is equal to o. */ + /** Return true if this RUMSdkConfigUpdateRequest object is equal to o. */ @Override public boolean equals(Object o) { if (this == o) { @@ -114,7 +114,7 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - RumSdkConfigUpdateRequest rumSdkConfigUpdateRequest = (RumSdkConfigUpdateRequest) o; + RUMSdkConfigUpdateRequest rumSdkConfigUpdateRequest = (RUMSdkConfigUpdateRequest) o; return Objects.equals(this.data, rumSdkConfigUpdateRequest.data) && Objects.equals( this.additionalProperties, rumSdkConfigUpdateRequest.additionalProperties); @@ -128,7 +128,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class RumSdkConfigUpdateRequest {\n"); + sb.append("class RUMSdkConfigUpdateRequest {\n"); sb.append(" data: ").append(toIndentedString(data)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) 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 668e13f4ae2..7358e351643 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 @@ -68,7 +68,7 @@ public SessionIdData type(ViewershipHistorySessionDataType type) { } /** - * Rum replay session resource type. + * RUM replay session resource type. * * @return type */ 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 1dfa4e3a3c4..5c5cd4a52b1 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 @@ -105,7 +105,7 @@ public ViewershipHistorySessionData type(ViewershipHistorySessionDataType type) } /** - * Rum replay session resource type. + * RUM replay session resource type. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataType.java b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataType.java index c44959789fa..331101e22a4 100644 --- a/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataType.java +++ b/src/main/java/com/datadog/api/client/v2/model/ViewershipHistorySessionDataType.java @@ -18,7 +18,7 @@ import java.util.HashSet; import java.util.Set; -/** Rum replay session resource type. */ +/** RUM replay session resource type. */ @JsonSerialize( using = ViewershipHistorySessionDataType.ViewershipHistorySessionDataTypeSerializer.class) public class ViewershipHistorySessionDataType extends ModelEnum { 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 3eb738276d5..5880c5ac79e 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 @@ -100,7 +100,7 @@ public WatchData type(WatchDataType type) { } /** - * Rum replay watch resource type. + * RUM replay watch resource type. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatchDataType.java b/src/main/java/com/datadog/api/client/v2/model/WatchDataType.java index d8c583d26ef..17fc916330a 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatchDataType.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatchDataType.java @@ -18,7 +18,7 @@ import java.util.HashSet; import java.util.Set; -/** Rum replay watch resource type. */ +/** RUM replay watch resource type. */ @JsonSerialize(using = WatchDataType.WatchDataTypeSerializer.class) public class WatchDataType extends ModelEnum { 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 304fc864efd..7ccae8481dc 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 @@ -99,7 +99,7 @@ public WatcherData type(WatcherDataType type) { } /** - * Rum replay watcher resource type. + * RUM replay watcher resource type. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/WatcherDataType.java b/src/main/java/com/datadog/api/client/v2/model/WatcherDataType.java index b87644f2b1c..e00f9329086 100644 --- a/src/main/java/com/datadog/api/client/v2/model/WatcherDataType.java +++ b/src/main/java/com/datadog/api/client/v2/model/WatcherDataType.java @@ -18,7 +18,7 @@ import java.util.HashSet; import java.util.Set; -/** Rum replay watcher resource type. */ +/** RUM replay watcher resource type. */ @JsonSerialize(using = WatcherDataType.WatcherDataTypeSerializer.class) public class WatcherDataType extends ModelEnum { diff --git a/src/test/resources/com/datadog/api/client/v2/api/given.json b/src/test/resources/com/datadog/api/client/v2/api/given.json index bdc1607121f..dc3a747663a 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/given.json +++ b/src/test/resources/com/datadog/api/client/v2/api/given.json @@ -1435,7 +1435,7 @@ }, { "key": "rum_metric", - "operationId": "CreateRumMetric", + "operationId": "CreateRUMMetric", "parameters": [ { "name": "body", @@ -1443,7 +1443,7 @@ } ], "step": "there is a valid \"rum_metric\" in the system", - "tag": "Rum Metrics" + "tag": "RUM Metrics" }, { "key": "teams_ownership_mapping", @@ -1455,7 +1455,7 @@ } ], "step": "there is a valid \"teams_ownership_mapping\" in the system", - "tag": "Rum Teams Ownership" + "tag": "RUM Teams Ownership" }, { "key": "create_scorecard_rule", diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_audience_management.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_audience_management.feature index e4514231dfe..10cab802eb0 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_audience_management.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_audience_management.feature @@ -1,11 +1,11 @@ @endpoint(rum-audience-management) @endpoint(rum-audience-management-v2) -Feature: Rum Audience Management - Auto-generated tag Rum Audience Management +Feature: RUM Audience Management + Auto-generated tag RUM Audience Management Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumAudienceManagement" API + And an instance of "RUMAudienceManagement" API @generated @skip @team:ddoghq/audience-management-backend @team:ddoghq/product-analytics-ingestion Scenario: Create connection returns "Connection created successfully" response diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_config.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_config.feature index 3d34e0451e1..d32262594cb 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_config.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_config.feature @@ -11,39 +11,39 @@ Feature: RUM Config @generated @skip @team:ddoghq/rum-backend Scenario: Create the RUM configuration returns "Bad Request" response - Given operation "CreateRumConfig" enabled - And new "CreateRumConfig" request + Given operation "CreateRUMConfig" enabled + And new "CreateRUMConfig" request And body with value {"data": {"attributes": {"enforced_application_tags": true}, "type": "rum_config"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:ddoghq/rum-backend Scenario: Create the RUM configuration returns "Created" response - Given operation "CreateRumConfig" enabled - And new "CreateRumConfig" request + Given operation "CreateRUMConfig" enabled + And new "CreateRUMConfig" request And body with value {"data": {"attributes": {"enforced_application_tags": true}, "type": "rum_config"}} When the request is sent Then the response status is 201 Created @generated @skip @team:ddoghq/rum-backend Scenario: Get the RUM configuration returns "OK" response - Given operation "GetRumConfig" enabled - And new "GetRumConfig" request + Given operation "GetRUMConfig" enabled + And new "GetRUMConfig" request When the request is sent Then the response status is 200 OK @generated @skip @team:ddoghq/rum-backend Scenario: Update the RUM configuration returns "Bad Request" response - Given operation "UpdateRumConfig" enabled - And new "UpdateRumConfig" request + Given operation "UpdateRUMConfig" enabled + And new "UpdateRUMConfig" request And body with value {"data": {"attributes": {"enforced_application_tags": true}, "type": "rum_config"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:ddoghq/rum-backend Scenario: Update the RUM configuration returns "OK" response - Given operation "UpdateRumConfig" enabled - And new "UpdateRumConfig" request + Given operation "UpdateRUMConfig" enabled + And new "UpdateRUMConfig" request And body with value {"data": {"attributes": {"enforced_application_tags": true}, "type": "rum_config"}} When the request is sent Then the response status is 200 OK diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_metrics.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_metrics.feature index 771a8599c45..e3ef3aea5cb 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_metrics.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_metrics.feature @@ -1,5 +1,5 @@ @endpoint(rum-metrics) @endpoint(rum-metrics-v2) -Feature: Rum Metrics +Feature: RUM Metrics Manage configuration of [RUM-based metrics](https://app.datadoghq.com/rum/generate-metrics) for your organization. @@ -7,11 +7,11 @@ Feature: Rum Metrics Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumMetrics" API + And an instance of "RUMMetrics" API @team:ddoghq/rum-backend Scenario: Create a RUM-based metric returns "Bad Request" response - Given new "CreateRumMetric" request + Given new "CreateRUMMetric" request And body with value {"data": {"id": "rum.actions.invalid", "type": "rum_metrics", "attributes": {"event_type": "action", "compute": {"aggregation_type": "count"}, "uniqueness":{"when": "match"}}}} When the request is sent Then the response status is 400 Bad Request @@ -19,14 +19,14 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Create a RUM-based metric returns "Conflict" response Given there is a valid "rum_metric" in the system - And new "CreateRumMetric" request + And new "CreateRUMMetric" request And body with value {"data": {"id": "{{ rum_metric.data.id }}", "type": "rum_metrics", "attributes": {"compute": {"aggregation_type": "count"}, "event_type": "action"}}} When the request is sent Then the response status is 409 Conflict @team:ddoghq/rum-backend Scenario: Create a RUM-based metric returns "Created" response - Given new "CreateRumMetric" request + Given new "CreateRUMMetric" request And body with value {"data": {"attributes": {"compute": {"aggregation_type": "distribution", "include_percentiles": true, "path": "@duration"}, "event_type": "session", "filter": {"query": "@service:web-ui"}, "group_by": [{"path": "@browser.name", "tag_name": "browser_name"}], "uniqueness": {"when": "match"}}, "id": "{{ unique_lower_alnum }}", "type": "rum_metrics"}} When the request is sent Then the response status is 201 Created @@ -44,21 +44,21 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Delete a RUM-based metric returns "No Content" response Given there is a valid "rum_metric" in the system - And new "DeleteRumMetric" request + And new "DeleteRUMMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" When the request is sent Then the response status is 204 No Content @team:ddoghq/rum-backend Scenario: Delete a RUM-based metric returns "Not Found" response - Given new "DeleteRumMetric" request + Given new "DeleteRUMMetric" request And request contains "metric_id" parameter with value "{{ unique }}" When the request is sent Then the response status is 404 Not Found @team:ddoghq/rum-backend Scenario: Get a RUM-based metric returns "Not Found" response - Given new "GetRumMetric" request + Given new "GetRUMMetric" request And request contains "metric_id" parameter with value "{{ unique }}" When the request is sent Then the response status is 404 Not Found @@ -66,7 +66,7 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Get a RUM-based metric returns "OK" response Given there is a valid "rum_metric" in the system - And new "GetRumMetric" request + And new "GetRUMMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" When the request is sent Then the response status is 200 OK @@ -83,14 +83,14 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Get all RUM-based metrics returns "OK" response - Given new "ListRumMetrics" request + Given new "ListRUMMetrics" request When the request is sent Then the response status is 200 OK @team:ddoghq/rum-backend Scenario: Update a RUM-based metric returns "Bad Request" response Given there is a valid "rum_metric" in the system - And new "UpdateRumMetric" request + And new "UpdateRUMMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" And body with value {"data": {"id": "rum.sessions.webui.count", "type": "unknown_metrics", "attributes": {"compute": {"include_percentiles": true}}}} When the request is sent @@ -99,7 +99,7 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Update a RUM-based metric returns "Conflict" response Given there is a valid "rum_metric" in the system - And new "UpdateRumMetric" request + And new "UpdateRUMMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" And body with value {"data": {"id": "conflicting.id", "type": "rum_metrics", "attributes": {"compute": {"include_percentiles": true}}}} When the request is sent @@ -108,7 +108,7 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Update a RUM-based metric returns "Not Found" response Given there is a valid "rum_metric" in the system - And new "UpdateRumMetric" request + And new "UpdateRUMMetric" request And request contains "metric_id" parameter with value "8fc991bf-967e-4652-8a5b-0711a985abe3" And body with value {"data": {"id": "8fc991bf-967e-4652-8a5b-0711a985abe3", "type": "rum_metrics", "attributes": {"compute": {"include_percentiles": true}}}} When the request is sent @@ -117,7 +117,7 @@ Feature: Rum Metrics @team:ddoghq/rum-backend Scenario: Update a RUM-based metric returns "OK" response Given there is a valid "rum_metric" in the system - And new "UpdateRumMetric" request + And new "UpdateRUMMetric" request And request contains "metric_id" parameter from "rum_metric.data.id" And body with value {"data": {"id": "{{ rum_metric.data.id }}", "type": "rum_metrics", "attributes": {"compute": {"include_percentiles": false}, "filter": {"query": "@service:rum-config"}, "group_by": [{"path": "@browser.version", "tag_name": "browser_version"}]}}} When the request is sent diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_remote_config.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_remote_config.feature index 57ff5cfd7fb..6da2b24ae7a 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_remote_config.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_remote_config.feature @@ -11,32 +11,32 @@ Feature: RUM Remote Config @team:ddoghq/rum-backend Scenario: Get a RUM SDK configuration returns "Forbidden" response - Given operation "GetRumSdkConfig" enabled - And new "GetRumSdkConfig" request + Given operation "GetRUMSdkConfig" enabled + And new "GetRUMSdkConfig" request And request contains "config_id" parameter with value "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" When the request is sent Then the response status is 403 Forbidden @generated @skip @team:ddoghq/rum-backend Scenario: Get a RUM SDK configuration returns "Not Found" response - Given operation "GetRumSdkConfig" enabled - And new "GetRumSdkConfig" request + Given operation "GetRUMSdkConfig" enabled + And new "GetRUMSdkConfig" request And request contains "config_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:ddoghq/rum-backend Scenario: Get a RUM SDK configuration returns "OK" response - Given operation "GetRumSdkConfig" enabled - And new "GetRumSdkConfig" request + Given operation "GetRUMSdkConfig" enabled + And new "GetRUMSdkConfig" request And request contains "config_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:ddoghq/rum-backend Scenario: Update a RUM SDK configuration returns "Bad Request" response - Given operation "UpdateRumSdkConfig" enabled - And new "UpdateRumSdkConfig" request + Given operation "UpdateRUMSdkConfig" enabled + And new "UpdateRUMSdkConfig" request And request contains "config_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"rum": {"allowed_tracing_urls": [{"match": {"rc_serialized_type": "string", "value": "https://app.datadoghq.com"}, "propagator_types": ["datadog", "tracecontext"]}], "allowed_tracking_origins": [{"rc_serialized_type": "string", "value": "https://app.datadoghq.com"}], "context": [{"key": "id", "value": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}], "default_privacy_level": "mask", "enable_privacy_for_action_name": true, "env": "production", "service": "my-service", "session_replay_sample_rate": 20, "session_sample_rate": 75, "trace_sample_rate": 100, "track_session_across_subdomains": false, "user": [{"key": "id", "value": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}], "version": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}}, "id": "abc12345-1234-5678-abcd-ef1234567890", "type": "rum_sdk_config"}} When the request is sent @@ -44,8 +44,8 @@ Feature: RUM Remote Config @team:ddoghq/rum-backend Scenario: Update a RUM SDK configuration returns "Forbidden" response - Given operation "UpdateRumSdkConfig" enabled - And new "UpdateRumSdkConfig" request + Given operation "UpdateRUMSdkConfig" enabled + And new "UpdateRUMSdkConfig" request And request contains "config_id" parameter with value "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa" And body with value {"data": {"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa", "type": "rum_sdk_config", "attributes": {"rum": {"session_sample_rate": 75, "session_replay_sample_rate": 20, "default_privacy_level": "mask", "enable_privacy_for_action_name": true}}}} When the request is sent @@ -53,8 +53,8 @@ Feature: RUM Remote Config @generated @skip @team:ddoghq/rum-backend Scenario: Update a RUM SDK configuration returns "Not Found" response - Given operation "UpdateRumSdkConfig" enabled - And new "UpdateRumSdkConfig" request + Given operation "UpdateRUMSdkConfig" enabled + And new "UpdateRUMSdkConfig" request And request contains "config_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"rum": {"allowed_tracing_urls": [{"match": {"rc_serialized_type": "string", "value": "https://app.datadoghq.com"}, "propagator_types": ["datadog", "tracecontext"]}], "allowed_tracking_origins": [{"rc_serialized_type": "string", "value": "https://app.datadoghq.com"}], "context": [{"key": "id", "value": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}], "default_privacy_level": "mask", "enable_privacy_for_action_name": true, "env": "production", "service": "my-service", "session_replay_sample_rate": 20, "session_sample_rate": 75, "trace_sample_rate": 100, "track_session_across_subdomains": false, "user": [{"key": "id", "value": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}], "version": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}}, "id": "abc12345-1234-5678-abcd-ef1234567890", "type": "rum_sdk_config"}} When the request is sent @@ -62,8 +62,8 @@ Feature: RUM Remote Config @generated @skip @team:ddoghq/rum-backend Scenario: Update a RUM SDK configuration returns "OK" response - Given operation "UpdateRumSdkConfig" enabled - And new "UpdateRumSdkConfig" request + Given operation "UpdateRUMSdkConfig" enabled + And new "UpdateRUMSdkConfig" request And request contains "config_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"rum": {"allowed_tracing_urls": [{"match": {"rc_serialized_type": "string", "value": "https://app.datadoghq.com"}, "propagator_types": ["datadog", "tracecontext"]}], "allowed_tracking_origins": [{"rc_serialized_type": "string", "value": "https://app.datadoghq.com"}], "context": [{"key": "id", "value": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}], "default_privacy_level": "mask", "enable_privacy_for_action_name": true, "env": "production", "service": "my-service", "session_replay_sample_rate": 20, "session_sample_rate": 75, "trace_sample_rate": 100, "track_session_across_subdomains": false, "user": [{"key": "id", "value": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}], "version": {"attribute": "data-version", "extractor": {"rc_serialized_type": "regex", "value": "^https://app-.*.datadoghq.com"}, "key": "app.version", "name": "app_version", "path": "application.version", "rc_serialized_type": "dynamic", "selector": "#app-version", "strategy": "js"}}}, "id": "abc12345-1234-5678-abcd-ef1234567890", "type": "rum_sdk_config"}} When the request is sent diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_heatmaps.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_heatmaps.feature index b2dbedd7526..e62c712dc91 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_heatmaps.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_heatmaps.feature @@ -1,12 +1,12 @@ @endpoint(rum-replay-heatmaps) @endpoint(rum-replay-heatmaps-v2) -Feature: Rum Replay Heatmaps +Feature: RUM Replay Heatmaps Manage heatmap snapshots for RUM replay sessions. Create, update, delete, and retrieve snapshots to visualize user interactions on specific views. Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumReplayHeatmaps" API + And an instance of "RUMReplayHeatmaps" API @generated @skip @team:ddoghq/session-replay Scenario: Create replay heatmap snapshot returns "Created" response diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_playlists.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_playlists.feature index fcdf495cf70..89f8750be20 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_playlists.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_playlists.feature @@ -1,16 +1,16 @@ @endpoint(rum-replay-playlists) @endpoint(rum-replay-playlists-v2) -Feature: Rum Replay Playlists +Feature: RUM Replay Playlists Create and manage playlists of RUM replay sessions. Organize, categorize, and share collections of replay sessions for analysis and collaboration. Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumReplayPlaylists" API + And an instance of "RUMReplayPlaylists" API @generated @skip @team:ddoghq/session-replay Scenario: Add RUM replay session to playlist returns "Created" response - Given new "AddRumReplaySessionToPlaylist" request + Given new "AddRUMReplaySessionToPlaylist" request And request contains "ts" parameter from "REPLACE.ME" And request contains "playlist_id" parameter from "REPLACE.ME" And request contains "session_id" parameter from "REPLACE.ME" @@ -19,7 +19,7 @@ Feature: Rum Replay Playlists @generated @skip @team:ddoghq/session-replay Scenario: Add RUM replay session to playlist returns "OK" response - Given new "AddRumReplaySessionToPlaylist" request + Given new "AddRUMReplaySessionToPlaylist" request And request contains "ts" parameter from "REPLACE.ME" And request contains "playlist_id" parameter from "REPLACE.ME" And request contains "session_id" parameter from "REPLACE.ME" @@ -28,7 +28,7 @@ Feature: Rum Replay Playlists @generated @skip @team:ddoghq/session-replay Scenario: Bulk remove RUM replay playlist sessions returns "No Content" response - Given new "BulkRemoveRumReplayPlaylistSessions" request + Given new "BulkRemoveRUMReplayPlaylistSessions" request And request contains "playlist_id" parameter from "REPLACE.ME" And body with value {"data": [{"id": "00000000-0000-0000-0000-000000000001", "type": "rum_replay_session"}]} When the request is sent @@ -36,41 +36,41 @@ Feature: Rum Replay Playlists @generated @skip @team:ddoghq/session-replay Scenario: Create RUM replay playlist returns "Created" response - Given new "CreateRumReplayPlaylist" request + Given new "CreateRUMReplayPlaylist" request And body with value {"data": {"attributes": {"created_by": {"handle": "john.doe@example.com", "id": "00000000-0000-0000-0000-000000000001", "uuid": "00000000-0000-0000-0000-000000000001"}, "name": "My Playlist"}, "type": "rum_replay_playlist"}} When the request is sent Then the response status is 201 Created @generated @skip @team:ddoghq/session-replay Scenario: Delete RUM replay playlist returns "No Content" response - Given new "DeleteRumReplayPlaylist" request + Given new "DeleteRUMReplayPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:ddoghq/session-replay Scenario: Get RUM replay playlist returns "OK" response - Given new "GetRumReplayPlaylist" request + Given new "GetRUMReplayPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:ddoghq/session-replay Scenario: List RUM replay playlist sessions returns "OK" response - Given new "ListRumReplayPlaylistSessions" request + Given new "ListRUMReplayPlaylistSessions" request And request contains "playlist_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:ddoghq/session-replay Scenario: List RUM replay playlists returns "OK" response - Given new "ListRumReplayPlaylists" request + Given new "ListRUMReplayPlaylists" request When the request is sent Then the response status is 200 OK @generated @skip @team:ddoghq/session-replay Scenario: Remove RUM replay session from playlist returns "No Content" response - Given new "RemoveRumReplaySessionFromPlaylist" request + Given new "RemoveRUMReplaySessionFromPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" And request contains "session_id" parameter from "REPLACE.ME" When the request is sent @@ -78,7 +78,7 @@ Feature: Rum Replay Playlists @generated @skip @team:ddoghq/session-replay Scenario: Update RUM replay playlist returns "OK" response - Given new "UpdateRumReplayPlaylist" request + Given new "UpdateRUMReplayPlaylist" request And request contains "playlist_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"created_by": {"handle": "john.doe@example.com", "id": "00000000-0000-0000-0000-000000000001", "uuid": "00000000-0000-0000-0000-000000000001"}, "name": "My Playlist"}, "type": "rum_replay_playlist"}} When the request is sent diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_sessions.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_sessions.feature index 7d71cec4e2f..784b0ab9b21 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_sessions.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_sessions.feature @@ -1,5 +1,5 @@ @endpoint(rum-replay-sessions) @endpoint(rum-replay-sessions-v2) -Feature: Rum Replay Sessions +Feature: RUM Replay Sessions Retrieve segments for RUM replay sessions. Access session replay data stored in event platform or blob storage. @@ -7,7 +7,7 @@ Feature: Rum Replay Sessions Scenario: Get segments returns "OK" response Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumReplaySessions" API + And an instance of "RUMReplaySessions" API And new "GetSegments" request And request contains "view_id" parameter from "REPLACE.ME" And request contains "session_id" parameter from "REPLACE.ME" diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_viewership.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_viewership.feature index 9885fe5c42d..4a7219fcbae 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_replay_viewership.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_replay_viewership.feature @@ -1,16 +1,16 @@ @endpoint(rum-replay-viewership) @endpoint(rum-replay-viewership-v2) -Feature: Rum Replay Viewership +Feature: RUM Replay Viewership Track and manage RUM replay session viewership. Monitor who watches replay sessions and maintain watch history for audit and analytics purposes. Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumReplayViewership" API + And an instance of "RUMReplayViewership" API @generated @skip @team:ddoghq/session-replay Scenario: Create RUM replay session watch returns "Created" response - Given new "CreateRumReplaySessionWatch" request + Given new "CreateRUMReplaySessionWatch" request And request contains "session_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"application_id": "aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb", "event_id": "11111111-2222-3333-4444-555555555555", "timestamp": "2026-01-13T17:15:53.208340Z"}, "type": "rum_replay_watch"}} When the request is sent @@ -18,20 +18,20 @@ Feature: Rum Replay Viewership @generated @skip @team:ddoghq/session-replay Scenario: Delete RUM replay session watch returns "No Content" response - Given new "DeleteRumReplaySessionWatch" request + Given new "DeleteRUMReplaySessionWatch" request And request contains "session_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 204 No Content @generated @skip @team:ddoghq/session-replay Scenario: List RUM replay session watchers returns "OK" response - Given new "ListRumReplaySessionWatchers" request + Given new "ListRUMReplaySessionWatchers" request And request contains "session_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:ddoghq/session-replay Scenario: List RUM replay viewership history sessions returns "OK" response - Given new "ListRumReplayViewershipHistorySessions" request + Given new "ListRUMReplayViewershipHistorySessions" request When the request is sent Then the response status is 200 OK diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature index 89acd6e53af..89cd1b09818 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_retention_filters.feature @@ -1,5 +1,5 @@ @endpoint(rum-retention-filters) @endpoint(rum-retention-filters-v2) -Feature: Rum Retention Filters +Feature: RUM Retention Filters Manage retention filters through [Manage Applications](https://app.datadoghq.com/rum/list) of RUM for your organization. @@ -7,7 +7,7 @@ Feature: Rum Retention Filters Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumRetentionFilters" API + And an instance of "RUMRetentionFilters" API @generated @skip @team:ddoghq/rum-backend Scenario: Create a RUM exclusion filter returns "Bad Request" response diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_retention_quotas.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_retention_quotas.feature index fe4a80ae28a..1fd52a8091e 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_retention_quotas.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_retention_quotas.feature @@ -10,7 +10,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Create or update a RUM retention quota config returns "Bad Request" response - Given new "UpsertRumQuotaConfig" request + Given new "UpsertRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"custom": {"daily_reset_time": "08:00", "daily_reset_timezone": "+09:00", "quota_reached_action": "stop", "session_limit": 1000000, "window_type": "daily"}, "mode": "custom"}, "id": "cd73a516-a481-4af5-8352-9b577465c77b", "type": "rum_quota_config"}} @@ -19,7 +19,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Create or update a RUM retention quota config returns "Not Found" response - Given new "UpsertRumQuotaConfig" request + Given new "UpsertRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"custom": {"daily_reset_time": "08:00", "daily_reset_timezone": "+09:00", "quota_reached_action": "stop", "session_limit": 1000000, "window_type": "daily"}, "mode": "custom"}, "id": "cd73a516-a481-4af5-8352-9b577465c77b", "type": "rum_quota_config"}} @@ -28,7 +28,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Create or update a RUM retention quota config returns "OK" response - Given new "UpsertRumQuotaConfig" request + Given new "UpsertRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"custom": {"daily_reset_time": "08:00", "daily_reset_timezone": "+09:00", "quota_reached_action": "stop", "session_limit": 1000000, "window_type": "daily"}, "mode": "custom"}, "id": "cd73a516-a481-4af5-8352-9b577465c77b", "type": "rum_quota_config"}} @@ -37,7 +37,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Delete a RUM retention quota configuration returns "Bad Request" response - Given new "DeleteRumQuotaConfig" request + Given new "DeleteRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" When the request is sent @@ -45,7 +45,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Delete a RUM retention quota configuration returns "No Content" response - Given new "DeleteRumQuotaConfig" request + Given new "DeleteRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" When the request is sent @@ -53,7 +53,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Delete a RUM retention quota configuration returns "Not Found" response - Given new "DeleteRumQuotaConfig" request + Given new "DeleteRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" When the request is sent @@ -61,7 +61,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Get a RUM retention quota configuration returns "Bad Request" response - Given new "GetRumQuotaConfig" request + Given new "GetRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" When the request is sent @@ -69,7 +69,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Get a RUM retention quota configuration returns "Not Found" response - Given new "GetRumQuotaConfig" request + Given new "GetRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" When the request is sent @@ -77,7 +77,7 @@ Feature: RUM Retention Quotas @generated @skip @team:ddoghq/rum-backend Scenario: Get a RUM retention quota configuration returns "OK" response - Given new "GetRumQuotaConfig" request + Given new "GetRUMQuotaConfig" request And request contains "scope_type" parameter from "REPLACE.ME" And request contains "scope_id" parameter from "REPLACE.ME" When the request is sent diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_teams_ownership.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_teams_ownership.feature index 39c2dce95f3..929d959815f 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_teams_ownership.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_teams_ownership.feature @@ -1,5 +1,5 @@ @endpoint(rum-teams-ownership) @endpoint(rum-teams-ownership-v2) -Feature: Rum Teams Ownership +Feature: RUM Teams Ownership Manage teams ownership mappings between RUM views and the teams that own them. See . @@ -7,7 +7,7 @@ Feature: Rum Teams Ownership Background: Given a valid "apiKeyAuth" key in the system And a valid "appKeyAuth" key in the system - And an instance of "RumTeamsOwnership" API + And an instance of "RUMTeamsOwnership" API @skip @team:ddoghq/rum-backend Scenario: Bulk create and remove teams ownership mappings returns "Bad Request" response diff --git a/src/test/resources/com/datadog/api/client/v2/api/undo.json b/src/test/resources/com/datadog/api/client/v2/api/undo.json index 6371f7ac7e8..32c0d0fae17 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/undo.json +++ b/src/test/resources/com/datadog/api/client/v2/api/undo.json @@ -62,6 +62,12 @@ "type": "safe" } }, + "AddRUMReplaySessionToPlaylist": { + "tag": "RUM Replay Playlists", + "undo": { + "type": "idempotent" + } + }, "AddReadRoleToArchive": { "tag": "Logs Archives", "undo": { @@ -74,12 +80,6 @@ "type": "safe" } }, - "AddRumReplaySessionToPlaylist": { - "tag": "Rum Replay Playlists", - "undo": { - "type": "idempotent" - } - }, "AddSTIXThreatIntel": { "tag": "Threat Intelligence", "undo": { @@ -343,8 +343,8 @@ "type": "safe" } }, - "BulkRemoveRumReplayPlaylistSessions": { - "tag": "Rum Replay Playlists", + "BulkRemoveRUMReplayPlaylistSessions": { + "tag": "RUM Replay Playlists", "undo": { "type": "idempotent" } @@ -1051,7 +1051,7 @@ } }, "CreateConnection": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "operationId": "DeleteConnection", "parameters": [ @@ -1385,7 +1385,7 @@ } }, "CreateExclusionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "operationId": "DeleteExclusionFilter", "parameters": [ @@ -2550,6 +2550,25 @@ "type": "unsafe" } }, + "CreateRUMConfig": { + "tag": "RUM Config", + "undo": { + "type": "idempotent" + } + }, + "CreateRUMMetric": { + "tag": "RUM Metrics", + "undo": { + "operationId": "DeleteRUMMetric", + "parameters": [ + { + "name": "metric_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, "CreateRUMOperation": { "tag": "RUM Operations", "undo": { @@ -2568,6 +2587,33 @@ "type": "unsafe" } }, + "CreateRUMReplayPlaylist": { + "tag": "RUM Replay Playlists", + "undo": { + "operationId": "DeleteRUMReplayPlaylist", + "parameters": [ + { + "name": "playlist_id", + "source": "data.id" + } + ], + "type": "unsafe" + } + }, + "CreateRUMReplaySessionWatch": { + "tag": "RUM Replay Viewership", + "undo": { + "operationId": "DeleteRUMReplaySessionWatch", + "parameters": [ + { + "name": "session_id", + "origin": "path", + "source": "session_id" + } + ], + "type": "unsafe" + } + }, "CreateReferenceTable": { "tag": "Reference Tables", "undo": { @@ -2588,7 +2634,7 @@ } }, "CreateReplayHeatmapSnapshot": { - "tag": "Rum Replay Heatmaps", + "tag": "RUM Replay Heatmaps", "undo": { "operationId": "DeleteReplayHeatmapSnapshot", "parameters": [ @@ -2627,7 +2673,7 @@ } }, "CreateRetentionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "operationId": "DeleteRetentionFilter", "parameters": [ @@ -2657,52 +2703,6 @@ "type": "unsafe" } }, - "CreateRumConfig": { - "tag": "RUM Config", - "undo": { - "type": "idempotent" - } - }, - "CreateRumMetric": { - "tag": "Rum Metrics", - "undo": { - "operationId": "DeleteRumMetric", - "parameters": [ - { - "name": "metric_id", - "source": "data.id" - } - ], - "type": "unsafe" - } - }, - "CreateRumReplayPlaylist": { - "tag": "Rum Replay Playlists", - "undo": { - "operationId": "DeleteRumReplayPlaylist", - "parameters": [ - { - "name": "playlist_id", - "source": "data.id" - } - ], - "type": "unsafe" - } - }, - "CreateRumReplaySessionWatch": { - "tag": "Rum Replay Viewership", - "undo": { - "operationId": "DeleteRumReplaySessionWatch", - "parameters": [ - { - "name": "session_id", - "origin": "path", - "source": "session_id" - } - ], - "type": "unsafe" - } - }, "CreateSCAResolveVulnerableSymbols": { "tag": "Static Analysis", "undo": { @@ -3324,7 +3324,7 @@ } }, "CreateTeamsOwnershipMapping": { - "tag": "Rum Teams Ownership", + "tag": "RUM Teams Ownership", "undo": { "operationId": "DeleteTeamsOwnershipMapping", "parameters": [ @@ -3337,7 +3337,7 @@ } }, "CreateTeamsOwnershipMappingsBatch": { - "tag": "Rum Teams Ownership", + "tag": "RUM Teams Ownership", "undo": { "operationId": "DeleteTeamsOwnershipMapping", "parameters": [ @@ -3881,7 +3881,7 @@ } }, "DeleteConnection": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "idempotent" } @@ -4061,7 +4061,7 @@ } }, "DeleteExclusionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "idempotent" } @@ -4593,6 +4593,12 @@ "type": "idempotent" } }, + "DeleteRUMMetric": { + "tag": "RUM Metrics", + "undo": { + "type": "idempotent" + } + }, "DeleteRUMOperation": { "tag": "RUM Operations", "undo": { @@ -4605,8 +4611,26 @@ "type": "idempotent" } }, + "DeleteRUMQuotaConfig": { + "tag": "RUM Retention Quotas", + "undo": { + "type": "idempotent" + } + }, + "DeleteRUMReplayPlaylist": { + "tag": "RUM Replay Playlists", + "undo": { + "type": "idempotent" + } + }, + "DeleteRUMReplaySessionWatch": { + "tag": "RUM Replay Viewership", + "undo": { + "type": "idempotent" + } + }, "DeleteReplayHeatmapSnapshot": { - "tag": "Rum Replay Heatmaps", + "tag": "RUM Replay Heatmaps", "undo": { "type": "idempotent" } @@ -4636,7 +4660,7 @@ } }, "DeleteRetentionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "idempotent" } @@ -4653,30 +4677,6 @@ "type": "idempotent" } }, - "DeleteRumMetric": { - "tag": "Rum Metrics", - "undo": { - "type": "idempotent" - } - }, - "DeleteRumQuotaConfig": { - "tag": "RUM Retention Quotas", - "undo": { - "type": "idempotent" - } - }, - "DeleteRumReplayPlaylist": { - "tag": "Rum Replay Playlists", - "undo": { - "type": "idempotent" - } - }, - "DeleteRumReplaySessionWatch": { - "tag": "Rum Replay Viewership", - "undo": { - "type": "idempotent" - } - }, "DeleteSampleLogGenerationSubscription": { "tag": "Security Monitoring", "undo": { @@ -4954,7 +4954,7 @@ } }, "DeleteTeamsOwnershipMapping": { - "tag": "Rum Teams Ownership", + "tag": "RUM Teams Ownership", "undo": { "type": "idempotent" } @@ -5040,7 +5040,7 @@ } }, "DeleteUserProfile": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "idempotent" } @@ -5294,7 +5294,7 @@ } }, "GetAccountFacetInfo": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -6086,7 +6086,7 @@ } }, "GetExclusionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "safe" } @@ -6536,7 +6536,7 @@ } }, "GetMapping": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -6776,7 +6776,7 @@ } }, "GetPermanentRetentionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "safe" } @@ -6853,6 +6853,18 @@ "type": "safe" } }, + "GetRUMConfig": { + "tag": "RUM Config", + "undo": { + "type": "safe" + } + }, + "GetRUMMetric": { + "tag": "RUM Metrics", + "undo": { + "type": "safe" + } + }, "GetRUMOperation": { "tag": "RUM Operations", "undo": { @@ -6865,6 +6877,12 @@ "type": "safe" } }, + "GetRUMQuotaConfig": { + "tag": "RUM Retention Quotas", + "undo": { + "type": "safe" + } + }, "GetRUMRecoveryRequest": { "tag": "RUM Recovery", "undo": { @@ -6877,6 +6895,18 @@ "type": "safe" } }, + "GetRUMReplayPlaylist": { + "tag": "RUM Replay Playlists", + "undo": { + "type": "safe" + } + }, + "GetRUMSdkConfig": { + "tag": "RUM Remote Config", + "undo": { + "type": "safe" + } + }, "GetReportSchedule": { "tag": "Report Schedules", "undo": { @@ -6908,7 +6938,7 @@ } }, "GetRetentionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "safe" } @@ -6943,36 +6973,6 @@ "type": "safe" } }, - "GetRumConfig": { - "tag": "RUM Config", - "undo": { - "type": "safe" - } - }, - "GetRumMetric": { - "tag": "Rum Metrics", - "undo": { - "type": "safe" - } - }, - "GetRumQuotaConfig": { - "tag": "RUM Retention Quotas", - "undo": { - "type": "safe" - } - }, - "GetRumReplayPlaylist": { - "tag": "Rum Replay Playlists", - "undo": { - "type": "safe" - } - }, - "GetRumSdkConfig": { - "tag": "RUM Remote Config", - "undo": { - "type": "safe" - } - }, "GetSAMLConfiguration": { "tag": "Organizations", "undo": { @@ -7172,7 +7172,7 @@ } }, "GetSegments": { - "tag": "Rum Replay Sessions", + "tag": "RUM Replay Sessions", "undo": { "type": "safe" } @@ -7478,7 +7478,7 @@ } }, "GetTeamsOwnershipMapping": { - "tag": "Rum Teams Ownership", + "tag": "RUM Teams Ownership", "undo": { "type": "safe" } @@ -7610,7 +7610,7 @@ } }, "GetUserFacetInfo": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -8177,7 +8177,7 @@ } }, "ListConnections": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -8435,7 +8435,7 @@ } }, "ListExclusionFilters": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "safe" } @@ -9179,7 +9179,7 @@ } }, "ListPermanentRetentionFilters": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "safe" } @@ -9238,6 +9238,12 @@ "type": "safe" } }, + "ListRUMMetrics": { + "tag": "RUM Metrics", + "undo": { + "type": "safe" + } + }, "ListRUMOperationStrongLinks": { "tag": "RUM Operations", "undo": { @@ -9256,6 +9262,30 @@ "type": "safe" } }, + "ListRUMReplayPlaylistSessions": { + "tag": "RUM Replay Playlists", + "undo": { + "type": "safe" + } + }, + "ListRUMReplayPlaylists": { + "tag": "RUM Replay Playlists", + "undo": { + "type": "safe" + } + }, + "ListRUMReplaySessionWatchers": { + "tag": "RUM Replay Viewership", + "undo": { + "type": "safe" + } + }, + "ListRUMReplayViewershipHistorySessions": { + "tag": "RUM Replay Viewership", + "undo": { + "type": "safe" + } + }, "ListReferenceTableRows": { "tag": "Reference Tables", "undo": { @@ -9263,7 +9293,7 @@ } }, "ListReplayHeatmapSnapshots": { - "tag": "Rum Replay Heatmaps", + "tag": "RUM Replay Heatmaps", "undo": { "type": "safe" } @@ -9287,7 +9317,7 @@ } }, "ListRetentionFilters": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "safe" } @@ -9316,36 +9346,6 @@ "type": "safe" } }, - "ListRumMetrics": { - "tag": "Rum Metrics", - "undo": { - "type": "safe" - } - }, - "ListRumReplayPlaylistSessions": { - "tag": "Rum Replay Playlists", - "undo": { - "type": "safe" - } - }, - "ListRumReplayPlaylists": { - "tag": "Rum Replay Playlists", - "undo": { - "type": "safe" - } - }, - "ListRumReplaySessionWatchers": { - "tag": "Rum Replay Viewership", - "undo": { - "type": "safe" - } - }, - "ListRumReplayViewershipHistorySessions": { - "tag": "Rum Replay Viewership", - "undo": { - "type": "safe" - } - }, "ListSAMLConfigurations": { "tag": "Organizations", "undo": { @@ -9767,13 +9767,13 @@ } }, "ListTeamsOwnershipMappings": { - "tag": "Rum Teams Ownership", + "tag": "RUM Teams Ownership", "undo": { "type": "safe" } }, "ListTeamsOwnershipRules": { - "tag": "Rum Teams Ownership", + "tag": "RUM Teams Ownership", "undo": { "type": "safe" } @@ -9941,7 +9941,7 @@ } }, "OrderRetentionFilters": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "idempotent" } @@ -10131,7 +10131,7 @@ } }, "QueryAccounts": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -10149,7 +10149,7 @@ } }, "QueryEventFilteredUsers": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -10239,7 +10239,7 @@ } }, "QueryUsers": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "safe" } @@ -10304,20 +10304,20 @@ "type": "idempotent" } }, - "RemoveRoleFromArchive": { - "tag": "Logs Archives", + "RemoveRUMReplaySessionFromPlaylist": { + "tag": "RUM Replay Playlists", "undo": { "type": "idempotent" } }, - "RemoveRoleFromRestrictionQuery": { - "tag": "Logs Restriction Queries", + "RemoveRoleFromArchive": { + "tag": "Logs Archives", "undo": { "type": "idempotent" } }, - "RemoveRumReplaySessionFromPlaylist": { - "tag": "Rum Replay Playlists", + "RemoveRoleFromRestrictionQuery": { + "tag": "Logs Restriction Queries", "undo": { "type": "idempotent" } @@ -11216,7 +11216,7 @@ } }, "UpdateConnection": { - "tag": "Rum Audience Management", + "tag": "RUM Audience Management", "undo": { "type": "idempotent" } @@ -11385,7 +11385,7 @@ } }, "UpdateExclusionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "idempotent" } @@ -11891,7 +11891,7 @@ } }, "UpdatePermanentRetentionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "idempotent" } @@ -11956,6 +11956,18 @@ "type": "idempotent" } }, + "UpdateRUMConfig": { + "tag": "RUM Config", + "undo": { + "type": "idempotent" + } + }, + "UpdateRUMMetric": { + "tag": "RUM Metrics", + "undo": { + "type": "idempotent" + } + }, "UpdateRUMOperation": { "tag": "RUM Operations", "undo": { @@ -11974,6 +11986,18 @@ "type": "idempotent" } }, + "UpdateRUMReplayPlaylist": { + "tag": "RUM Replay Playlists", + "undo": { + "type": "idempotent" + } + }, + "UpdateRUMSdkConfig": { + "tag": "RUM Remote Config", + "undo": { + "type": "idempotent" + } + }, "UpdateReferenceTable": { "tag": "Reference Tables", "undo": { @@ -11981,7 +12005,7 @@ } }, "UpdateReplayHeatmapSnapshot": { - "tag": "Rum Replay Heatmaps", + "tag": "RUM Replay Heatmaps", "undo": { "type": "idempotent" } @@ -12005,7 +12029,7 @@ } }, "UpdateRetentionFilter": { - "tag": "Rum Retention Filters", + "tag": "RUM Retention Filters", "undo": { "type": "idempotent" } @@ -12016,30 +12040,6 @@ "type": "idempotent" } }, - "UpdateRumConfig": { - "tag": "RUM Config", - "undo": { - "type": "idempotent" - } - }, - "UpdateRumMetric": { - "tag": "Rum Metrics", - "undo": { - "type": "idempotent" - } - }, - "UpdateRumReplayPlaylist": { - "tag": "Rum Replay Playlists", - "undo": { - "type": "idempotent" - } - }, - "UpdateRumSdkConfig": { - "tag": "RUM Remote Config", - "undo": { - "type": "idempotent" - } - }, "UpdateSAMLConfiguration": { "tag": "Organizations", "undo": { @@ -12499,6 +12499,12 @@ "type": "idempotent" } }, + "UpsertRUMQuotaConfig": { + "tag": "RUM Retention Quotas", + "undo": { + "type": "idempotent" + } + }, "UpsertRows": { "tag": "Reference Tables", "undo": { @@ -12507,12 +12513,6 @@ "type": "unsafe" } }, - "UpsertRumQuotaConfig": { - "tag": "RUM Retention Quotas", - "undo": { - "type": "idempotent" - } - }, "UpsertScopesRestriction": { "tag": "OAuth2 Client Public", "undo": { diff --git a/src/test/resources/generated-test/test-runner-data/manifest.json b/src/test/resources/generated-test/test-runner-data/manifest.json index 2d30f82bcdc..a0f53511751 100644 --- a/src/test/resources/generated-test/test-runner-data/manifest.json +++ b/src/test/resources/generated-test/test-runner-data/manifest.json @@ -10564,84 +10564,84 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/create-a-rum-based-metric-returns-bad-request-response.json", "scenario": "Create a RUM-based metric returns \"Bad Request\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/create-a-rum-based-metric-returns-conflict-response.json", "scenario": "Create a RUM-based metric returns \"Conflict\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/create-a-rum-based-metric-returns-created-response.json", "scenario": "Create a RUM-based metric returns \"Created\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/delete-a-rum-based-metric-returns-no-content-response.json", "scenario": "Delete a RUM-based metric returns \"No Content\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/delete-a-rum-based-metric-returns-not-found-response.json", "scenario": "Delete a RUM-based metric returns \"Not Found\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/get-a-rum-based-metric-returns-not-found-response.json", "scenario": "Get a RUM-based metric returns \"Not Found\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/get-a-rum-based-metric-returns-ok-response.json", "scenario": "Get a RUM-based metric returns \"OK\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/get-all-rum-based-metrics-returns-ok-response.json", "scenario": "Get all RUM-based metrics returns \"OK\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/update-a-rum-based-metric-returns-bad-request-response.json", "scenario": "Update a RUM-based metric returns \"Bad Request\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/update-a-rum-based-metric-returns-conflict-response.json", "scenario": "Update a RUM-based metric returns \"Conflict\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/update-a-rum-based-metric-returns-not-found-response.json", "scenario": "Update a RUM-based metric returns \"Not Found\" response", "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "feature_file": "../../com/datadog/api/client/v2/api/rum_metrics.feature", "file": "v2/rum-metrics/update-a-rum-based-metric-returns-ok-response.json", "scenario": "Update a RUM-based metric returns \"OK\" response", @@ -10746,84 +10746,84 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/create-a-rum-retention-filter-returns-bad-request-response.json", "scenario": "Create a RUM retention filter returns \"Bad Request\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/create-a-rum-retention-filter-returns-created-response.json", "scenario": "Create a RUM retention filter returns \"Created\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/delete-a-rum-retention-filter-returns-no-content-response.json", "scenario": "Delete a RUM retention filter returns \"No Content\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/delete-a-rum-retention-filter-returns-not-found-response.json", "scenario": "Delete a RUM retention filter returns \"Not Found\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/get-a-rum-retention-filter-returns-not-found-response.json", "scenario": "Get a RUM retention filter returns \"Not Found\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/get-a-rum-retention-filter-returns-ok-response.json", "scenario": "Get a RUM retention filter returns \"OK\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/get-all-rum-retention-filters-returns-ok-response.json", "scenario": "Get all RUM retention filters returns \"OK\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/order-rum-retention-filters-returns-bad-request-response.json", "scenario": "Order RUM retention filters returns \"Bad Request\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/order-rum-retention-filters-returns-ordered-response.json", "scenario": "Order RUM retention filters returns \"Ordered\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/update-a-rum-retention-filter-returns-bad-request-response.json", "scenario": "Update a RUM retention filter returns \"Bad Request\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/update-a-rum-retention-filter-returns-not-found-response.json", "scenario": "Update a RUM retention filter returns \"Not Found\" response", "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "feature_file": "../../com/datadog/api/client/v2/api/rum_retention_filters.feature", "file": "v2/rum-retention-filters/update-a-rum-retention-filter-returns-updated-response.json", "scenario": "Update a RUM retention filter returns \"Updated\" response", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-managed-archives/update-archive-configuration-with-unsupported-enabled-retention-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-managed-archives/update-archive-configuration-with-unsupported-enabled-retention-returns-bad-request-response.json index 372e55aa4e8..6235837ec9a 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-managed-archives/update-archive-configuration-with-unsupported-enabled-retention-returns-bad-request-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-managed-archives/update-archive-configuration-with-unsupported-enabled-retention-returns-bad-request-response.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumArchiveConfigUpsertRequest", + "ref": "RUMArchiveConfigUpsertRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-bad-request-response.json index 9898b5f4124..1ca09aeb57d 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-bad-request-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-bad-request-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 400, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Create a RUM-based metric returns \"Bad Request\" response", - "operation_id": "CreateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Create a RUM-based metric returns \"Bad Request\" response", + "operation_id": "CreateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricCreateRequest", + "ref": "RUMMetricCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-conflict-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-conflict-response.json index b09df348469..928348803de 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-conflict-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-conflict-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 409, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Create a RUM-based metric returns \"Conflict\" response", - "operation_id": "CreateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Create a RUM-based metric returns \"Conflict\" response", + "operation_id": "CreateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricCreateRequest", + "ref": "RUMMetricCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-created-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-created-response.json index 4f4e7c377bd..4abbd13818b 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-created-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/create-a-rum-based-metric-returns-created-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 201, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Create a RUM-based metric returns \"Created\" response", - "operation_id": "CreateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Create a RUM-based metric returns \"Created\" response", + "operation_id": "CreateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricCreateRequest", + "ref": "RUMMetricCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-no-content-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-no-content-response.json index 68db5b26657..52fac45f33a 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-no-content-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-no-content-response.json @@ -1,9 +1,9 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 204, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Delete a RUM-based metric returns \"No Content\" response", - "operation_id": "DeleteRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Delete a RUM-based metric returns \"No Content\" response", + "operation_id": "DeleteRUMMetric", "request": { "body": null, "content_type": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-not-found-response.json index 2b68b82b5ab..40942468ce2 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/delete-a-rum-based-metric-returns-not-found-response.json @@ -1,9 +1,9 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 404, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Delete a RUM-based metric returns \"Not Found\" response", - "operation_id": "DeleteRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Delete a RUM-based metric returns \"Not Found\" response", + "operation_id": "DeleteRUMMetric", "request": { "body": null, "content_type": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-not-found-response.json index edd8d8197d3..e4fc2e76c95 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-not-found-response.json @@ -1,9 +1,9 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 404, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Get a RUM-based metric returns \"Not Found\" response", - "operation_id": "GetRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Get a RUM-based metric returns \"Not Found\" response", + "operation_id": "GetRUMMetric", "request": { "body": null, "content_type": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-ok-response.json index 669dc835c18..95cb765c6ca 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-ok-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-a-rum-based-metric-returns-ok-response.json @@ -1,9 +1,9 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 200, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Get a RUM-based metric returns \"OK\" response", - "operation_id": "GetRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Get a RUM-based metric returns \"OK\" response", + "operation_id": "GetRUMMetric", "request": { "body": null, "content_type": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-all-rum-based-metrics-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-all-rum-based-metrics-returns-ok-response.json index 3942c2a5891..173732e9866 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-all-rum-based-metrics-returns-ok-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/get-all-rum-based-metrics-returns-ok-response.json @@ -1,9 +1,9 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 200, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Get all RUM-based metrics returns \"OK\" response", - "operation_id": "ListRumMetrics", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Get all RUM-based metrics returns \"OK\" response", + "operation_id": "ListRUMMetrics", "request": { "body": null, "content_type": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-bad-request-response.json index 1ecb5729789..39a8ad7f400 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-bad-request-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-bad-request-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 400, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Update a RUM-based metric returns \"Bad Request\" response", - "operation_id": "UpdateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Update a RUM-based metric returns \"Bad Request\" response", + "operation_id": "UpdateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricUpdateRequest", + "ref": "RUMMetricUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-conflict-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-conflict-response.json index f81c5d565cd..7b9d9253457 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-conflict-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-conflict-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 409, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Update a RUM-based metric returns \"Conflict\" response", - "operation_id": "UpdateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Update a RUM-based metric returns \"Conflict\" response", + "operation_id": "UpdateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricUpdateRequest", + "ref": "RUMMetricUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-not-found-response.json index f238056613f..e2da82bdbea 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-not-found-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 404, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Update a RUM-based metric returns \"Not Found\" response", - "operation_id": "UpdateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Update a RUM-based metric returns \"Not Found\" response", + "operation_id": "UpdateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricUpdateRequest", + "ref": "RUMMetricUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-ok-response.json index f14e26aff42..30154f270a7 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-ok-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-metrics/update-a-rum-based-metric-returns-ok-response.json @@ -1,14 +1,14 @@ { - "api": "RumMetrics", + "api": "RUMMetrics", "expected_status": 200, - "feature": "Rum Metrics", - "id": "v2/Rum Metrics/Update a RUM-based metric returns \"OK\" response", - "operation_id": "UpdateRumMetric", + "feature": "RUM Metrics", + "id": "v2/RUM Metrics/Update a RUM-based metric returns \"OK\" response", + "operation_id": "UpdateRUMMetric", "request": { "body": { "schema": { "format": null, - "ref": "RumMetricUpdateRequest", + "ref": "RUMMetricUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/cancel-an-unknown-batch-recovery-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/cancel-an-unknown-batch-recovery-returns-not-found-response.json index 890d0d9202b..019676439b4 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/cancel-an-unknown-batch-recovery-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/cancel-an-unknown-batch-recovery-returns-not-found-response.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumRecoveryCancelRequest", + "ref": "RUMRecoveryCancelRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-accepts-exactly-180-days.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-accepts-exactly-180-days.json index e941f7019ad..62113502612 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-accepts-exactly-180-days.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-accepts-exactly-180-days.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumRecoveryCountRequest", + "ref": "RUMRecoveryCountRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-rejects-a-range-wider-than-180-days.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-rejects-a-range-wider-than-180-days.json index 2347d02de04..45d2f6c6a3d 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-rejects-a-range-wider-than-180-days.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/count-recoverable-sessions-rejects-a-range-wider-than-180-days.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumRecoveryCountRequest", + "ref": "RUMRecoveryCountRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-batch-recovery-rejects-a-range-wider-than-180-days.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-batch-recovery-rejects-a-range-wider-than-180-days.json index f576ded77f8..7521e62988a 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-batch-recovery-rejects-a-range-wider-than-180-days.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-batch-recovery-rejects-a-range-wider-than-180-days.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumRecoveryCreateRequest", + "ref": "RUMRecoveryCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-targeted-recovery-rejects-an-empty-sessions-array.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-targeted-recovery-rejects-an-empty-sessions-array.json index 8e9fa546773..8a71e2e8e96 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-targeted-recovery-rejects-an-empty-sessions-array.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/create-targeted-recovery-rejects-an-empty-sessions-array.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumRecoveryCreateRequest", + "ref": "RUMRecoveryCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-filters-request-creation-time-independently-of-session-time.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-filters-request-creation-time-independently-of-session-time.json index cd4da81b6e9..0509d1c08ae 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-filters-request-creation-time-independently-of-session-time.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-filters-request-creation-time-independently-of-session-time.json @@ -17,7 +17,7 @@ "required": true, "schema": { "format": null, - "ref": "RumRecoveryBatchRequestType", + "ref": "RUMRecoveryBatchRequestType", "type": "string" }, "source": { diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-an-invalid-cursor.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-an-invalid-cursor.json index 343eeb7d6f6..27eb8c29435 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-an-invalid-cursor.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-an-invalid-cursor.json @@ -17,7 +17,7 @@ "required": true, "schema": { "format": null, - "ref": "RumRecoveryBatchRequestType", + "ref": "RUMRecoveryBatchRequestType", "type": "string" }, "source": { diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-equal-creation-time-bounds.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-equal-creation-time-bounds.json index fa777ad84ca..76bb0feedc9 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-equal-creation-time-bounds.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-equal-creation-time-bounds.json @@ -17,7 +17,7 @@ "required": true, "schema": { "format": null, - "ref": "RumRecoveryBatchRequestType", + "ref": "RUMRecoveryBatchRequestType", "type": "string" }, "source": { diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-or-between-filter-terms.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-or-between-filter-terms.json index 59b08098714..ae2b2df0dbf 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-or-between-filter-terms.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/list-batch-history-rejects-or-between-filter-terms.json @@ -17,7 +17,7 @@ "required": true, "schema": { "format": null, - "ref": "RumRecoveryBatchRequestType", + "ref": "RUMRecoveryBatchRequestType", "type": "string" }, "source": { diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-rejects-an-empty-query.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-rejects-an-empty-query.json index 3a1532c9a19..d000ad1ed25 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-rejects-an-empty-query.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-rejects-an-empty-query.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumArchiveSessionsSearchRequest", + "ref": "RUMArchiveSessionsSearchRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-returns-canonical-data-and-first-page-metadata.json b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-returns-canonical-data-and-first-page-metadata.json index 56d3f695dd4..41f2c65cd7c 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-returns-canonical-data-and-first-page-metadata.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-recovery/search-archived-sessions-returns-canonical-data-and-first-page-metadata.json @@ -8,7 +8,7 @@ "body": { "schema": { "format": null, - "ref": "RumArchiveSessionsSearchRequest", + "ref": "RUMArchiveSessionsSearchRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/get-a-rum-sdk-configuration-returns-forbidden-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/get-a-rum-sdk-configuration-returns-forbidden-response.json index 977f4f1a52a..de5b16912f2 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/get-a-rum-sdk-configuration-returns-forbidden-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/get-a-rum-sdk-configuration-returns-forbidden-response.json @@ -3,7 +3,7 @@ "expected_status": 403, "feature": "RUM Remote Config", "id": "v2/RUM Remote Config/Get a RUM SDK configuration returns \"Forbidden\" response", - "operation_id": "GetRumSdkConfig", + "operation_id": "GetRUMSdkConfig", "request": { "body": null, "content_type": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/update-a-rum-sdk-configuration-returns-forbidden-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/update-a-rum-sdk-configuration-returns-forbidden-response.json index f83a292dff9..9883e781315 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/update-a-rum-sdk-configuration-returns-forbidden-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-remote-config/update-a-rum-sdk-configuration-returns-forbidden-response.json @@ -3,12 +3,12 @@ "expected_status": 403, "feature": "RUM Remote Config", "id": "v2/RUM Remote Config/Update a RUM SDK configuration returns \"Forbidden\" response", - "operation_id": "UpdateRumSdkConfig", + "operation_id": "UpdateRUMSdkConfig", "request": { "body": { "schema": { "format": null, - "ref": "RumSdkConfigUpdateRequest", + "ref": "RUMSdkConfigUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-bad-request-response.json index c8b175f5c46..d1540aeb8b3 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-bad-request-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-bad-request-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 400, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Create a RUM retention filter returns \"Bad Request\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Create a RUM retention filter returns \"Bad Request\" response", "operation_id": "CreateRetentionFilter", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFilterCreateRequest", + "ref": "RUMRetentionFilterCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-created-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-created-response.json index 6b0d0a5baf8..4ac2715ebb6 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-created-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/create-a-rum-retention-filter-returns-created-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 201, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Create a RUM retention filter returns \"Created\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Create a RUM retention filter returns \"Created\" response", "operation_id": "CreateRetentionFilter", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFilterCreateRequest", + "ref": "RUMRetentionFilterCreateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-no-content-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-no-content-response.json index 0d4003de763..105af1d8690 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-no-content-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-no-content-response.json @@ -1,8 +1,8 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 204, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Delete a RUM retention filter returns \"No Content\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Delete a RUM retention filter returns \"No Content\" response", "operation_id": "DeleteRetentionFilter", "request": { "body": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-not-found-response.json index 13d01e5fa8c..6f7f6a11767 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/delete-a-rum-retention-filter-returns-not-found-response.json @@ -1,8 +1,8 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 404, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Delete a RUM retention filter returns \"Not Found\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Delete a RUM retention filter returns \"Not Found\" response", "operation_id": "DeleteRetentionFilter", "request": { "body": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-not-found-response.json index cf401b6d093..1ef7c037642 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-not-found-response.json @@ -1,8 +1,8 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 404, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Get a RUM retention filter returns \"Not Found\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Get a RUM retention filter returns \"Not Found\" response", "operation_id": "GetRetentionFilter", "request": { "body": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-ok-response.json index d8f82462e54..00af83a6391 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-ok-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-a-rum-retention-filter-returns-ok-response.json @@ -1,8 +1,8 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 200, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Get a RUM retention filter returns \"OK\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Get a RUM retention filter returns \"OK\" response", "operation_id": "GetRetentionFilter", "request": { "body": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-retention-filters-returns-ok-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-retention-filters-returns-ok-response.json index 1f787ecbded..01923bc787b 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-retention-filters-returns-ok-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/get-all-rum-retention-filters-returns-ok-response.json @@ -1,8 +1,8 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 200, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Get all RUM retention filters returns \"OK\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Get all RUM retention filters returns \"OK\" response", "operation_id": "ListRetentionFilters", "request": { "body": null, diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-bad-request-response.json index 95d36491c01..116c47af0d1 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-bad-request-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-bad-request-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 400, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Order RUM retention filters returns \"Bad Request\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Order RUM retention filters returns \"Bad Request\" response", "operation_id": "OrderRetentionFilters", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFiltersOrderRequest", + "ref": "RUMRetentionFiltersOrderRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-ordered-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-ordered-response.json index 6935033e6af..6e68c785772 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-ordered-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/order-rum-retention-filters-returns-ordered-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 200, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Order RUM retention filters returns \"Ordered\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Order RUM retention filters returns \"Ordered\" response", "operation_id": "OrderRetentionFilters", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFiltersOrderRequest", + "ref": "RUMRetentionFiltersOrderRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-bad-request-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-bad-request-response.json index 701be3adc7b..5c8e97f6116 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-bad-request-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-bad-request-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 400, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Update a RUM retention filter returns \"Bad Request\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Update a RUM retention filter returns \"Bad Request\" response", "operation_id": "UpdateRetentionFilter", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFilterUpdateRequest", + "ref": "RUMRetentionFilterUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-not-found-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-not-found-response.json index f7001927861..a33d4844ca9 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-not-found-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-not-found-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 404, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Update a RUM retention filter returns \"Not Found\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Update a RUM retention filter returns \"Not Found\" response", "operation_id": "UpdateRetentionFilter", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFilterUpdateRequest", + "ref": "RUMRetentionFilterUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-updated-response.json b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-updated-response.json index 74d909ce7c3..3923d2c153f 100644 --- a/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-updated-response.json +++ b/src/test/resources/generated-test/test-runner-data/v2/rum-retention-filters/update-a-rum-retention-filter-returns-updated-response.json @@ -1,14 +1,14 @@ { - "api": "RumRetentionFilters", + "api": "RUMRetentionFilters", "expected_status": 200, - "feature": "Rum Retention Filters", - "id": "v2/Rum Retention Filters/Update a RUM retention filter returns \"Updated\" response", + "feature": "RUM Retention Filters", + "id": "v2/RUM Retention Filters/Update a RUM retention filter returns \"Updated\" response", "operation_id": "UpdateRetentionFilter", "request": { "body": { "schema": { "format": null, - "ref": "RumRetentionFilterUpdateRequest", + "ref": "RUMRetentionFilterUpdateRequest", "type": "object" }, "source": "inline", diff --git a/src/test/resources/generated-test/test-server-data/manifest.json b/src/test/resources/generated-test/test-server-data/manifest.json index 710fadb6b85..45dc80e6570 100644 --- a/src/test/resources/generated-test/test-server-data/manifest.json +++ b/src/test/resources/generated-test/test-server-data/manifest.json @@ -465,6 +465,11 @@ "file": "v2/rum-managed-archives.json", "version": "v2" }, + { + "feature": "RUM Metrics", + "file": "v2/rum-metrics.json", + "version": "v2" + }, { "feature": "RUM Recovery", "file": "v2/rum-recovery.json", @@ -475,6 +480,11 @@ "file": "v2/rum-remote-config.json", "version": "v2" }, + { + "feature": "RUM Retention Filters", + "file": "v2/rum-retention-filters.json", + "version": "v2" + }, { "feature": "Reference Tables", "file": "v2/reference-tables.json", @@ -490,16 +500,6 @@ "file": "v2/roles.json", "version": "v2" }, - { - "feature": "Rum Metrics", - "file": "v2/rum-metrics.json", - "version": "v2" - }, - { - "feature": "Rum Retention Filters", - "file": "v2/rum-retention-filters.json", - "version": "v2" - }, { "feature": "Scorecards", "file": "v2/scorecards.json", diff --git a/src/test/resources/generated-test/test-server-data/v2/rum-metrics.json b/src/test/resources/generated-test/test-server-data/v2/rum-metrics.json index 5684bd2d0f4..f5d5f293b3d 100644 --- a/src/test/resources/generated-test/test-server-data/v2/rum-metrics.json +++ b/src/test/resources/generated-test/test-server-data/v2/rum-metrics.json @@ -1,8 +1,8 @@ { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "recordings": [ { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:35.224Z", "interactions": [ { @@ -47,7 +47,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:35.746Z", "interactions": [ { @@ -158,7 +158,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:37.019Z", "interactions": [ { @@ -235,7 +235,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:38.038Z", "interactions": [ { @@ -335,7 +335,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:39.442Z", "interactions": [ { @@ -366,7 +366,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:39.828Z", "interactions": [ { @@ -397,7 +397,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:40.188Z", "interactions": [ { @@ -497,7 +497,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:41.286Z", "interactions": [ { @@ -528,7 +528,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:41.688Z", "interactions": [ { @@ -638,7 +638,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:42.946Z", "interactions": [ { @@ -748,7 +748,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:44.259Z", "interactions": [ { @@ -858,7 +858,7 @@ "version": "v2" }, { - "feature": "Rum Metrics", + "feature": "RUM Metrics", "frozen_at": "2026-06-02T12:32:46.608Z", "interactions": [ { diff --git a/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json b/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json index e18777446e9..51b95b45a37 100644 --- a/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json +++ b/src/test/resources/generated-test/test-server-data/v2/rum-retention-filters.json @@ -1,8 +1,8 @@ { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "recordings": [ { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:22.678Z", "interactions": [ { @@ -44,7 +44,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2026-11-18T09:34:10.044Z", "interactions": [ { @@ -107,7 +107,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-05T20:03:40.119Z", "interactions": [ { @@ -136,7 +136,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:23.296Z", "interactions": [ { @@ -167,7 +167,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:23.382Z", "interactions": [ { @@ -198,7 +198,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-05T20:05:06.468Z", "interactions": [ { @@ -229,7 +229,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:23.741Z", "interactions": [ { @@ -260,7 +260,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:23.865Z", "interactions": [ { @@ -298,7 +298,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:23.931Z", "interactions": [ { @@ -344,7 +344,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-05T20:23:29.589Z", "interactions": [ { @@ -387,7 +387,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-03T21:21:24.104Z", "interactions": [ { @@ -430,7 +430,7 @@ "version": "v2" }, { - "feature": "Rum Retention Filters", + "feature": "RUM Retention Filters", "frozen_at": "2025-03-05T20:09:00.396Z", "interactions": [ {