@@ -17,7 +17,8 @@ pub struct UsageBillableSummaryHour {
1717 /// The account public ID.
1818 #[ serde( rename = "account_public_id" ) ]
1919 pub account_public_id : Option < String > ,
20- /// The billing plan.
20+ /// The billing plan (metadata). (Deprecated from May 2026)
21+ #[ deprecated]
2122 #[ serde( rename = "billing_plan" ) ]
2223 pub billing_plan : Option < String > ,
2324 /// Shows the last date of usage.
@@ -53,6 +54,7 @@ pub struct UsageBillableSummaryHour {
5354
5455impl UsageBillableSummaryHour {
5556 pub fn new ( ) -> UsageBillableSummaryHour {
57+ #[ allow( deprecated) ]
5658 UsageBillableSummaryHour {
5759 account_name : None ,
5860 account_public_id : None ,
@@ -70,56 +72,67 @@ impl UsageBillableSummaryHour {
7072 }
7173 }
7274
75+ #[ allow( deprecated) ]
7376 pub fn account_name ( mut self , value : String ) -> Self {
7477 self . account_name = Some ( value) ;
7578 self
7679 }
7780
81+ #[ allow( deprecated) ]
7882 pub fn account_public_id ( mut self , value : String ) -> Self {
7983 self . account_public_id = Some ( value) ;
8084 self
8185 }
8286
87+ #[ allow( deprecated) ]
8388 pub fn billing_plan ( mut self , value : String ) -> Self {
8489 self . billing_plan = Some ( value) ;
8590 self
8691 }
8792
93+ #[ allow( deprecated) ]
8894 pub fn end_date ( mut self , value : chrono:: DateTime < chrono:: Utc > ) -> Self {
8995 self . end_date = Some ( value) ;
9096 self
9197 }
9298
99+ #[ allow( deprecated) ]
93100 pub fn num_orgs ( mut self , value : i64 ) -> Self {
94101 self . num_orgs = Some ( value) ;
95102 self
96103 }
97104
105+ #[ allow( deprecated) ]
98106 pub fn org_name ( mut self , value : String ) -> Self {
99107 self . org_name = Some ( value) ;
100108 self
101109 }
102110
111+ #[ allow( deprecated) ]
103112 pub fn public_id ( mut self , value : String ) -> Self {
104113 self . public_id = Some ( value) ;
105114 self
106115 }
107116
117+ #[ allow( deprecated) ]
108118 pub fn ratio_in_month ( mut self , value : f64 ) -> Self {
109119 self . ratio_in_month = Some ( value) ;
110120 self
111121 }
112122
123+ #[ allow( deprecated) ]
113124 pub fn region ( mut self , value : String ) -> Self {
114125 self . region = Some ( value) ;
115126 self
116127 }
117128
129+ #[ allow( deprecated) ]
118130 pub fn start_date ( mut self , value : chrono:: DateTime < chrono:: Utc > ) -> Self {
119131 self . start_date = Some ( value) ;
120132 self
121133 }
122134
135+ #[ allow( deprecated) ]
123136 pub fn usage ( mut self , value : crate :: datadogV1:: model:: UsageBillableSummaryKeys ) -> Self {
124137 self . usage = Some ( value) ;
125138 self
@@ -254,6 +267,7 @@ impl<'de> Deserialize<'de> for UsageBillableSummaryHour {
254267 }
255268 }
256269
270+ #[ allow( deprecated) ]
257271 let content = UsageBillableSummaryHour {
258272 account_name,
259273 account_public_id,
0 commit comments