File tree Expand file tree Collapse file tree 7 files changed +37
-14
lines changed
packages/datadog-api-client-v2 Expand file tree Collapse file tree 7 files changed +37
-14
lines changed Original file line number Diff line number Diff line change 11{
2- "spec_repo_commit": "c38287b ",
3- "generated": "2025-08-15 18:55:02.903 "
2+ "spec_repo_commit": "7851858 ",
3+ "generated": "2025-08-18 14:48:45.228 "
44}
Original file line number Diff line number Diff line change @@ -13258,9 +13258,7 @@ components:
1325813258 attributes:
1325913259 $ref: '#/components/schemas/DatasetAttributesRequest'
1326013260 type:
13261- description: Resource type, always "dataset".
13262- example: dataset
13263- type: string
13261+ $ref: '#/components/schemas/DatasetType'
1326413262 required:
1326513263 - type
1326613264 - attributes
@@ -13282,9 +13280,7 @@ components:
1328213280 example: 123e4567-e89b-12d3-a456-426614174000
1328313281 type: string
1328413282 type:
13285- description: Resource type, always "dataset".
13286- example: dataset
13287- type: string
13283+ $ref: '#/components/schemas/DatasetType'
1328813284 type: object
1328913285 DatasetResponseMulti:
1329013286 description: Response containing a list of datasets.
@@ -13301,6 +13297,15 @@ components:
1330113297 data:
1330213298 $ref: '#/components/schemas/DatasetResponse'
1330313299 type: object
13300+ DatasetType:
13301+ default: dataset
13302+ description: Resource type, always set to `dataset`.
13303+ enum:
13304+ - dataset
13305+ example: dataset
13306+ type: string
13307+ x-enum-varnames:
13308+ - DATASET
1330413309 DatasetUpdateRequest:
1330513310 description: Edit request for a dataset.
1330613311 properties:
Original file line number Diff line number Diff line change @@ -1514,6 +1514,7 @@ export { DatasetRequest } from "./models/DatasetRequest";
15141514export { DatasetResponse } from "./models/DatasetResponse" ;
15151515export { DatasetResponseMulti } from "./models/DatasetResponseMulti" ;
15161516export { DatasetResponseSingle } from "./models/DatasetResponseSingle" ;
1517+ export { DatasetType } from "./models/DatasetType" ;
15171518export { DatasetUpdateRequest } from "./models/DatasetUpdateRequest" ;
15181519export { DataTransform } from "./models/DataTransform" ;
15191520export { DataTransformProperties } from "./models/DataTransformProperties" ;
Original file line number Diff line number Diff line change 44 * Copyright 2020-Present Datadog, Inc.
55 */
66import { DatasetAttributesRequest } from "./DatasetAttributesRequest" ;
7+ import { DatasetType } from "./DatasetType" ;
78
89import { AttributeTypeMap } from "../../datadog-api-client-common/util" ;
910
@@ -26,9 +27,9 @@ export class DatasetRequest {
2627 */
2728 "attributes" : DatasetAttributesRequest ;
2829 /**
29- * Resource type, always " dataset" .
30+ * Resource type, always set to ` dataset` .
3031 */
31- "type" : string ;
32+ "type" : DatasetType ;
3233
3334 /**
3435 * A container for additional, undeclared properties.
@@ -53,7 +54,7 @@ export class DatasetRequest {
5354 } ,
5455 type : {
5556 baseName : "type" ,
56- type : "string " ,
57+ type : "DatasetType " ,
5758 required : true ,
5859 } ,
5960 additionalProperties : {
Original file line number Diff line number Diff line change 44 * Copyright 2020-Present Datadog, Inc.
55 */
66import { DatasetAttributesResponse } from "./DatasetAttributesResponse" ;
7+ import { DatasetType } from "./DatasetType" ;
78
89import { AttributeTypeMap } from "../../datadog-api-client-common/util" ;
910
@@ -30,9 +31,9 @@ export class DatasetResponse {
3031 */
3132 "id" ?: string ;
3233 /**
33- * Resource type, always " dataset" .
34+ * Resource type, always set to ` dataset` .
3435 */
35- "type" ?: string ;
36+ "type" ?: DatasetType ;
3637
3738 /**
3839 * A container for additional, undeclared properties.
@@ -60,7 +61,7 @@ export class DatasetResponse {
6061 } ,
6162 type : {
6263 baseName : "type" ,
63- type : "string " ,
64+ type : "DatasetType " ,
6465 } ,
6566 additionalProperties : {
6667 baseName : "additionalProperties" ,
Original file line number Diff line number Diff line change 1+ /**
2+ * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+ * This product includes software developed at Datadog (https://www.datadoghq.com/).
4+ * Copyright 2020-Present Datadog, Inc.
5+ */
6+
7+ import { UnparsedObject } from "../../datadog-api-client-common/util" ;
8+
9+ /**
10+ * Resource type, always set to `dataset`.
11+ */
12+
13+ export type DatasetType = typeof DATASET | UnparsedObject ;
14+ export const DATASET = "dataset" ;
Original file line number Diff line number Diff line change @@ -2484,6 +2484,7 @@ const enumsMap: { [key: string]: any[] } = {
24842484 DataTransformType : [ "dataTransform" ] ,
24852485 DatadogAPIKeyType : [ "DatadogAPIKey" ] ,
24862486 DatadogIntegrationType : [ "Datadog" ] ,
2487+ DatasetType : [ "dataset" ] ,
24872488 DetailedFindingType : [ "detailed_finding" ] ,
24882489 DnsMetricKey : [
24892490 "dns_total_requests" ,
You can’t perform that action at this time.
0 commit comments