Skip to content

Commit c1f76c1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add region to estimated cost and historical cost response (#1006)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 8d988a8 commit c1f76c1

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2023-02-06 19:15:26.824553",
8-
"spec_repo_commit": "7d2f8965"
7+
"regenerated": "2023-02-06 19:26:35.920163",
8+
"spec_repo_commit": "61fed166"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2023-02-06 19:15:26.840151",
13-
"spec_repo_commit": "7d2f8965"
12+
"regenerated": "2023-02-06 19:26:35.933473",
13+
"spec_repo_commit": "61fed166"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,6 +2626,10 @@ components:
26262626
public_id:
26272627
description: The organization public ID.
26282628
type: string
2629+
region:
2630+
description: The region of the Datadog instance that the organization belongs
2631+
to.
2632+
type: string
26292633
total_cost:
26302634
description: The total cost of products for the month.
26312635
format: double

packages/datadog-api-client-v2/models/CostByOrgAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ export class CostByOrgAttributes {
2727
* The organization public ID.
2828
*/
2929
"publicId"?: string;
30+
/**
31+
* The region of the Datadog instance that the organization belongs to.
32+
*/
33+
"region"?: string;
3034
/**
3135
* The total cost of products for the month.
3236
*/
@@ -58,6 +62,10 @@ export class CostByOrgAttributes {
5862
baseName: "public_id",
5963
type: "string",
6064
},
65+
region: {
66+
baseName: "region",
67+
type: "string",
68+
},
6169
totalCost: {
6270
baseName: "total_cost",
6371
type: "number",

0 commit comments

Comments
 (0)