File tree Expand file tree Collapse file tree 7 files changed +124
-4
lines changed
packages/datadog-api-client-v2 Expand file tree Collapse file tree 7 files changed +124
-4
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"apigentools_version": "1.6.5",
7
- "regenerated": "2023-07-13 21:23:39.909700 ",
8
- "spec_repo_commit": "70f8c389 "
7
+ "regenerated": "2023-07-14 13:32:03.054187 ",
8
+ "spec_repo_commit": "2bd58701 "
9
9
},
10
10
"v2": {
11
11
"apigentools_version": "1.6.5",
12
- "regenerated": "2023-07-13 21:23:39.924986 ",
13
- "spec_repo_commit": "70f8c389 "
12
+ "regenerated": "2023-07-14 13:32:03.073621 ",
13
+ "spec_repo_commit": "2bd58701 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -14217,6 +14217,9 @@ components:
14217
14217
properties:
14218
14218
attributes:
14219
14219
$ref: '#/components/schemas/ServiceDefinitionDataAttributes'
14220
+ id:
14221
+ description: Service definition id.
14222
+ type: string
14220
14223
type:
14221
14224
description: Service definition type.
14222
14225
type: string
@@ -14250,6 +14253,30 @@ components:
14250
14253
last-modified-time:
14251
14254
description: Last modified time of the service definition.
14252
14255
type: string
14256
+ origin:
14257
+ description: User defined origin of the service definition.
14258
+ type: string
14259
+ origin-detail:
14260
+ description: User defined origin's detail of the service definition.
14261
+ type: string
14262
+ warnings:
14263
+ description: A list of schema validation warnings.
14264
+ items:
14265
+ $ref: '#/components/schemas/ServiceDefinitionMetaWarnings'
14266
+ type: array
14267
+ type: object
14268
+ ServiceDefinitionMetaWarnings:
14269
+ description: Schema validation warnings.
14270
+ properties:
14271
+ instance-location:
14272
+ description: The warning instance location.
14273
+ type: string
14274
+ keyword-location:
14275
+ description: The warning keyword location.
14276
+ type: string
14277
+ message:
14278
+ description: The warning message.
14279
+ type: string
14253
14280
type: object
14254
14281
ServiceDefinitionRaw:
14255
14282
description: Service Definition in raw JSON/YAML representation.
Original file line number Diff line number Diff line change @@ -1285,6 +1285,7 @@ export { ServiceDefinitionData } from "./models/ServiceDefinitionData";
1285
1285
export { ServiceDefinitionDataAttributes } from "./models/ServiceDefinitionDataAttributes" ;
1286
1286
export { ServiceDefinitionGetResponse } from "./models/ServiceDefinitionGetResponse" ;
1287
1287
export { ServiceDefinitionMeta } from "./models/ServiceDefinitionMeta" ;
1288
+ export { ServiceDefinitionMetaWarnings } from "./models/ServiceDefinitionMetaWarnings" ;
1288
1289
export { ServiceDefinitionSchema } from "./models/ServiceDefinitionSchema" ;
1289
1290
export { ServiceDefinitionSchemaVersions } from "./models/ServiceDefinitionSchemaVersions" ;
1290
1291
export { ServiceDefinitionsCreateRequest } from "./models/ServiceDefinitionsCreateRequest" ;
Original file line number Diff line number Diff line change @@ -691,6 +691,7 @@ import { ServiceDefinitionData } from "./ServiceDefinitionData";
691
691
import { ServiceDefinitionDataAttributes } from "./ServiceDefinitionDataAttributes" ;
692
692
import { ServiceDefinitionGetResponse } from "./ServiceDefinitionGetResponse" ;
693
693
import { ServiceDefinitionMeta } from "./ServiceDefinitionMeta" ;
694
+ import { ServiceDefinitionMetaWarnings } from "./ServiceDefinitionMetaWarnings" ;
694
695
import { ServiceDefinitionV1 } from "./ServiceDefinitionV1" ;
695
696
import { ServiceDefinitionV1Contact } from "./ServiceDefinitionV1Contact" ;
696
697
import { ServiceDefinitionV1Info } from "./ServiceDefinitionV1Info" ;
@@ -2087,6 +2088,7 @@ const typeMap: { [index: string]: any } = {
2087
2088
ServiceDefinitionDataAttributes : ServiceDefinitionDataAttributes ,
2088
2089
ServiceDefinitionGetResponse : ServiceDefinitionGetResponse ,
2089
2090
ServiceDefinitionMeta : ServiceDefinitionMeta ,
2091
+ ServiceDefinitionMetaWarnings : ServiceDefinitionMetaWarnings ,
2090
2092
ServiceDefinitionV1 : ServiceDefinitionV1 ,
2091
2093
ServiceDefinitionV1Contact : ServiceDefinitionV1Contact ,
2092
2094
ServiceDefinitionV1Info : ServiceDefinitionV1Info ,
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ export class ServiceDefinitionData {
15
15
* Service definition attributes.
16
16
*/
17
17
"attributes" ?: ServiceDefinitionDataAttributes ;
18
+ /**
19
+ * Service definition id.
20
+ */
21
+ "id" ?: string ;
18
22
/**
19
23
* Service definition type.
20
24
*/
@@ -33,6 +37,10 @@ export class ServiceDefinitionData {
33
37
baseName : "attributes" ,
34
38
type : "ServiceDefinitionDataAttributes" ,
35
39
} ,
40
+ id : {
41
+ baseName : "id" ,
42
+ type : "string" ,
43
+ } ,
36
44
type : {
37
45
baseName : "type" ,
38
46
type : "string" ,
Original file line number Diff line number Diff line change 3
3
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4
4
* Copyright 2020-Present Datadog, Inc.
5
5
*/
6
+ import { ServiceDefinitionMetaWarnings } from "./ServiceDefinitionMetaWarnings" ;
6
7
7
8
import { AttributeTypeMap } from "../../datadog-api-client-common/util" ;
8
9
@@ -26,6 +27,18 @@ export class ServiceDefinitionMeta {
26
27
* Last modified time of the service definition.
27
28
*/
28
29
"lastModifiedTime" ?: string ;
30
+ /**
31
+ * User defined origin of the service definition.
32
+ */
33
+ "origin" ?: string ;
34
+ /**
35
+ * User defined origin's detail of the service definition.
36
+ */
37
+ "originDetail" ?: string ;
38
+ /**
39
+ * A list of schema validation warnings.
40
+ */
41
+ "warnings" ?: Array < ServiceDefinitionMetaWarnings > ;
29
42
30
43
/**
31
44
* @ignore
@@ -52,6 +65,18 @@ export class ServiceDefinitionMeta {
52
65
baseName : "last-modified-time" ,
53
66
type : "string" ,
54
67
} ,
68
+ origin : {
69
+ baseName : "origin" ,
70
+ type : "string" ,
71
+ } ,
72
+ originDetail : {
73
+ baseName : "origin-detail" ,
74
+ type : "string" ,
75
+ } ,
76
+ warnings : {
77
+ baseName : "warnings" ,
78
+ type : "Array<ServiceDefinitionMetaWarnings>" ,
79
+ } ,
55
80
} ;
56
81
57
82
/**
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 { AttributeTypeMap } from "../../datadog-api-client-common/util" ;
8
+
9
+ /**
10
+ * Schema validation warnings.
11
+ */
12
+ export class ServiceDefinitionMetaWarnings {
13
+ /**
14
+ * The warning instance location.
15
+ */
16
+ "instanceLocation" ?: string ;
17
+ /**
18
+ * The warning keyword location.
19
+ */
20
+ "keywordLocation" ?: string ;
21
+ /**
22
+ * The warning message.
23
+ */
24
+ "message" ?: string ;
25
+
26
+ /**
27
+ * @ignore
28
+ */
29
+ "_unparsed" ?: boolean ;
30
+
31
+ /**
32
+ * @ignore
33
+ */
34
+ static readonly attributeTypeMap : AttributeTypeMap = {
35
+ instanceLocation : {
36
+ baseName : "instance-location" ,
37
+ type : "string" ,
38
+ } ,
39
+ keywordLocation : {
40
+ baseName : "keyword-location" ,
41
+ type : "string" ,
42
+ } ,
43
+ message : {
44
+ baseName : "message" ,
45
+ type : "string" ,
46
+ } ,
47
+ } ;
48
+
49
+ /**
50
+ * @ignore
51
+ */
52
+ static getAttributeTypeMap ( ) : AttributeTypeMap {
53
+ return ServiceDefinitionMetaWarnings . attributeTypeMap ;
54
+ }
55
+
56
+ public constructor ( ) { }
57
+ }
You can’t perform that action at this time.
0 commit comments