/**
 * Gets a summary of the alerts, optionally filtered by a 'url'. If 'recurse' is true then all alerts that apply to urls that start with the specified 'url' will be returned, otherwise only those on exactly the same 'url' (ignoring url parameters)
*/
Gets a summary of the alerts, optionally filtered by a 'url'.
Gets a summary of the alerts optionally filtered by a ' url ' .
pub fn alerts_by_risk(
    service: &ZapService,
    url: String,
    recurse: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("url".to_string(), url);
    params.insert("recurse".to_string(), recurse);
    super::call(service, "alert", "view", "alertsByRisk", params)
}
pub fn alerts_by_risk ( service : & ZapService , url : String , recurse : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , url ) ; params . insert ( " " . to_string ( ) , recurse ) ; super :: call ( service , " " , " " , " " , params ) }
Gets a summary of the alerts, optionally filtered by a 'url'.
Gets a summary of the alerts optionally filtered by a ' url ' .
service
&ZapService
url
String
recurse
String