com.heanbian.block.zabbix.api.ZabbixHostGroupGetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zabbix-client Show documentation
Show all versions of zabbix-client Show documentation
heanbian zabbix client component.
package com.heanbian.block.zabbix.api;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ZabbixHostGroupGetRequest {
private Map params = new HashMap<>();
public Map getParams() {
return params;
}
/**
*
* @param output "extend"
* @return ZabbixHostGroupGetRequest
*/
public ZabbixHostGroupGetRequest setOutput(String output) {
this.params.put("output", output);
return this;
}
public ZabbixHostGroupGetRequest setFilterNames(String... names) {
return this.setFilterNames(Arrays.asList(names));
}
public ZabbixHostGroupGetRequest setFilterNames(List names) {
Map filter = new HashMap<>(1);
filter.put("name", names);
this.params.put("filter", filter);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy