@@ -14,9 +14,6 @@ pub struct RecommendationsFilterRequest {
1414 /// Filter expression applied to the recommendations.
1515 #[ serde( rename = "filter" ) ]
1616 pub filter : Option < String > ,
17- /// Recommendations scope. Defaults to `ccm`; use `experiment` for experimental recommendations or `*` for both.
18- #[ serde( rename = "scope" ) ]
19- pub scope : Option < String > ,
2017 /// Ordered list of sort clauses applied to the result set.
2118 #[ serde( rename = "sort" ) ]
2219 pub sort : Option < Vec < crate :: datadogV2:: model:: RecommendationsFilterRequestSortItems > > ,
@@ -34,7 +31,6 @@ impl RecommendationsFilterRequest {
3431 pub fn new ( ) -> RecommendationsFilterRequest {
3532 RecommendationsFilterRequest {
3633 filter : None ,
37- scope : None ,
3834 sort : None ,
3935 view : None ,
4036 additional_properties : std:: collections:: BTreeMap :: new ( ) ,
@@ -47,11 +43,6 @@ impl RecommendationsFilterRequest {
4743 self
4844 }
4945
50- pub fn scope ( mut self , value : String ) -> Self {
51- self . scope = Some ( value) ;
52- self
53- }
54-
5546 pub fn sort (
5647 mut self ,
5748 value : Vec < crate :: datadogV2:: model:: RecommendationsFilterRequestSortItems > ,
@@ -98,7 +89,6 @@ impl<'de> Deserialize<'de> for RecommendationsFilterRequest {
9889 M : MapAccess < ' a > ,
9990 {
10091 let mut filter: Option < String > = None ;
101- let mut scope: Option < String > = None ;
10292 let mut sort: Option <
10393 Vec < crate :: datadogV2:: model:: RecommendationsFilterRequestSortItems > ,
10494 > = None ;
@@ -117,12 +107,6 @@ impl<'de> Deserialize<'de> for RecommendationsFilterRequest {
117107 }
118108 filter = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
119109 }
120- "scope" => {
121- if v. is_null ( ) {
122- continue ;
123- }
124- scope = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
125- }
126110 "sort" => {
127111 if v. is_null ( ) {
128112 continue ;
@@ -145,7 +129,6 @@ impl<'de> Deserialize<'de> for RecommendationsFilterRequest {
145129
146130 let content = RecommendationsFilterRequest {
147131 filter,
148- scope,
149132 sort,
150133 view,
151134 additional_properties,
0 commit comments