Skip to content

Commit 220cd83

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
billing_plan field deprecation in billable-summary endpoint (#3538)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent cfbd0c4 commit 220cd83

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20019,7 +20019,8 @@ components:
2001920019
description: The account public ID.
2002020020
type: string
2002120021
billing_plan:
20022-
description: The billing plan.
20022+
deprecated: true
20023+
description: The billing plan (metadata). (Deprecated from May 2026)
2002320024
type: string
2002420025
end_date:
2002520026
description: Shows the last date of usage.

src/main/java/com/datadog/api/client/v1/model/UsageBillableSummaryHour.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,20 @@ public UsageBillableSummaryHour billingPlan(String billingPlan) {
116116
}
117117

118118
/**
119-
* The billing plan.
119+
* The billing plan (metadata). (Deprecated from May 2026)
120120
*
121121
* @return billingPlan
122+
* @deprecated
122123
*/
124+
@Deprecated
123125
@jakarta.annotation.Nullable
124126
@JsonProperty(JSON_PROPERTY_BILLING_PLAN)
125127
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
126128
public String getBillingPlan() {
127129
return billingPlan;
128130
}
129131

132+
@Deprecated
130133
public void setBillingPlan(String billingPlan) {
131134
this.billingPlan = billingPlan;
132135
}

0 commit comments

Comments
 (0)