com.heanbian.block.zabbix.api.ZabbixItemGetRequest 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.HashMap;
import java.util.Map;
public class ZabbixItemGetRequest {
private Map params = new HashMap<>();
public Map getParams() {
return params;
}
public ZabbixItemGetRequest setOutput(String output) {
this.params.put("output", output);
return this;
}
public ZabbixItemGetRequest setHostids(String hostids) {
this.params.put("hostids", hostids);
return this;
}
public ZabbixItemGetRequest setSearchKey(String key_) {
Map search = new HashMap<>(1);
search.put("key_", key_);
this.params.put("search", search);
return this;
}
public ZabbixItemGetRequest setFilterType(String type) {
Map filter = new HashMap<>(1);
filter.put("type", type);
this.params.put("filter", filter);
return this;
}
public ZabbixItemGetRequest setSortfield(String sortfield) {
this.params.put("sortfield", sortfield);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy