/**
 * Gets the alerts raised by ZAP, optionally filtering by URL or riskId, and paginating with 'start' position and 'count' of alerts
*/
Gets the alerts raised by ZAP, optionally filtering by URL or riskId, and paginating with 'start' position and 'count' of alerts
Gets the alerts raised by ZAP optionally filtering by URL or riskId and paginating with ' start ' position and ' count ' of alerts
pub fn alerts(
    service: &ZapService,
    baseurl: String,
    start: String,
    count: String,
    riskid: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("baseurl".to_string(), baseurl);
    params.insert("start".to_string(), start);
    params.insert("count".to_string(), count);
    params.insert("riskId".to_string(), riskid);
    super::call(service, "alert", "view", "alerts", params)
}
pub fn alerts ( service : & ZapService , baseurl : String , start : String , count : String , riskid : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , baseurl ) ; params . insert ( " " . to_string ( ) , start ) ; params . insert ( " " . to_string ( ) , count ) ; params . insert ( " " . to_string ( ) , riskid ) ; super :: call ( service , " " , " " , " " , params ) }
Gets the alerts raised by ZAP, optionally filtering by URL or riskId, and paginating with 'start' position and 'count' of alerts
Gets the alerts raised by ZAP optionally filtering by URL or riskId and paginating with ' start ' position and ' count ' of alerts
service
&ZapService
baseurl
String
start
String
count
String
riskid
String