@@ -55,6 +55,8 @@ pub struct ListFeatureFlagsEnvironmentsOptionalParams {
5555 pub name : Option < String > ,
5656 /// Filter environments by key (partial matching).
5757 pub key : Option < String > ,
58+ /// Filter environments by queries that contain the provided DD_ENV value.
59+ pub dd_env : Option < String > ,
5860 /// Maximum number of results to return.
5961 pub limit : Option < i64 > ,
6062 /// Number of results to skip.
@@ -72,6 +74,11 @@ impl ListFeatureFlagsEnvironmentsOptionalParams {
7274 self . key = Some ( value) ;
7375 self
7476 }
77+ /// Filter environments by queries that contain the provided DD_ENV value.
78+ pub fn dd_env ( mut self , value : String ) -> Self {
79+ self . dd_env = Some ( value) ;
80+ self
81+ }
7582 /// Maximum number of results to return.
7683 pub fn limit ( mut self , value : i64 ) -> Self {
7784 self . limit = Some ( value) ;
@@ -1829,7 +1836,7 @@ impl FeatureFlagsAPI {
18291836 }
18301837
18311838 /// Returns a list of environments for the organization.
1832- /// Supports filtering by name and key .
1839+ /// Supports filtering by name, key, and DD_ENV .
18331840 pub async fn list_feature_flags_environments (
18341841 & self ,
18351842 params : ListFeatureFlagsEnvironmentsOptionalParams ,
@@ -1855,7 +1862,7 @@ impl FeatureFlagsAPI {
18551862 }
18561863
18571864 /// Returns a list of environments for the organization.
1858- /// Supports filtering by name and key .
1865+ /// Supports filtering by name, key, and DD_ENV .
18591866 pub async fn list_feature_flags_environments_with_http_info (
18601867 & self ,
18611868 params : ListFeatureFlagsEnvironmentsOptionalParams ,
@@ -1869,6 +1876,7 @@ impl FeatureFlagsAPI {
18691876 // unbox and build optional parameters
18701877 let name = params. name ;
18711878 let key = params. key ;
1879+ let dd_env = params. dd_env ;
18721880 let limit = params. limit ;
18731881 let offset = params. offset ;
18741882
@@ -1888,6 +1896,10 @@ impl FeatureFlagsAPI {
18881896 if let Some ( ref local_query_param) = key {
18891897 local_req_builder = local_req_builder. query ( & [ ( "key" , & local_query_param. to_string ( ) ) ] ) ;
18901898 } ;
1899+ if let Some ( ref local_query_param) = dd_env {
1900+ local_req_builder =
1901+ local_req_builder. query ( & [ ( "dd_env" , & local_query_param. to_string ( ) ) ] ) ;
1902+ } ;
18911903 if let Some ( ref local_query_param) = limit {
18921904 local_req_builder =
18931905 local_req_builder. query ( & [ ( "limit" , & local_query_param. to_string ( ) ) ] ) ;
0 commit comments