@@ -151,6 +151,8 @@ pub struct ListApplicationKeysOptionalParams {
151151 pub filter_created_at_start : Option < String > ,
152152 /// Only include application keys created on or before the specified date.
153153 pub filter_created_at_end : Option < String > ,
154+ /// Filter application keys by owner ID.
155+ pub filter_owned_by : Option < String > ,
154156 /// Resource path for related resources to include in the response. Only `owned_by` is supported.
155157 pub include : Option < String > ,
156158}
@@ -188,6 +190,11 @@ impl ListApplicationKeysOptionalParams {
188190 self . filter_created_at_end = Some ( value) ;
189191 self
190192 }
193+ /// Filter application keys by owner ID.
194+ pub fn filter_owned_by ( mut self , value : String ) -> Self {
195+ self . filter_owned_by = Some ( value) ;
196+ self
197+ }
191198 /// Resource path for related resources to include in the response. Only `owned_by` is supported.
192199 pub fn include ( mut self , value : String ) -> Self {
193200 self . include = Some ( value) ;
@@ -1946,6 +1953,7 @@ impl KeyManagementAPI {
19461953 let filter = params. filter ;
19471954 let filter_created_at_start = params. filter_created_at_start ;
19481955 let filter_created_at_end = params. filter_created_at_end ;
1956+ let filter_owned_by = params. filter_owned_by ;
19491957 let include = params. include ;
19501958
19511959 let local_client = & self . client ;
@@ -1981,6 +1989,10 @@ impl KeyManagementAPI {
19811989 local_req_builder = local_req_builder
19821990 . query ( & [ ( "filter[created_at][end]" , & local_query_param. to_string ( ) ) ] ) ;
19831991 } ;
1992+ if let Some ( ref local_query_param) = filter_owned_by {
1993+ local_req_builder =
1994+ local_req_builder. query ( & [ ( "filter[owned_by]" , & local_query_param. to_string ( ) ) ] ) ;
1995+ } ;
19841996 if let Some ( ref local_query_param) = include {
19851997 local_req_builder =
19861998 local_req_builder. query ( & [ ( "include" , & local_query_param. to_string ( ) ) ] ) ;
0 commit comments