Skip to content

Commit 998879f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0fee65c of spec repo
1 parent d70f765 commit 998879f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71267,7 +71267,7 @@ paths:
7126771267
content:
7126871268
application/json:
7126971269
schema:
71270-
$ref: '#/components/schemas/BudgetValidationRequest'
71270+
$ref: '#/components/schemas/BudgetWithEntries'
7127171271
description: OK
7127271272
'429':
7127371273
$ref: '#/components/responses/TooManyRequestsResponse'

src/datadog_api_client/v2/api/cloud_cost_management_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def __init__(self, api_client=None):
320320

321321
self._get_budget_endpoint = _Endpoint(
322322
settings={
323-
"response_type": (BudgetValidationRequest,),
323+
"response_type": (BudgetWithEntries,),
324324
"auth": ["apiKeyAuth", "appKeyAuth"],
325325
"endpoint_path": "/api/v2/cost/budget/{budget_id}",
326326
"operation_id": "get_budget",
@@ -1095,14 +1095,14 @@ def delete_tag_pipelines_ruleset(
10951095
def get_budget(
10961096
self,
10971097
budget_id: str,
1098-
) -> BudgetValidationRequest:
1098+
) -> BudgetWithEntries:
10991099
"""Get budget.
11001100
11011101
Get a budget
11021102
11031103
:param budget_id: Budget id.
11041104
:type budget_id: str
1105-
:rtype: BudgetValidationRequest
1105+
:rtype: BudgetWithEntries
11061106
"""
11071107
kwargs: Dict[str, Any] = {}
11081108
kwargs["budget_id"] = budget_id

0 commit comments

Comments
 (0)