Authored by jack

较少http传输项

... ... @@ -30,7 +30,7 @@ public class HostInterfaceRequest extends ZabbixRequest {
Filter filter;
String output = "extend";
String output[] = {"hostid", "ip"};
public Params(Filter filter) {
... ...
... ... @@ -14,21 +14,9 @@ public class HostInterfaceResponse extends ZabbixResponse {
@Data
public static class HostInterface {
String interfaceid;
String hostid;
String main;
String type;
String useip;
String ip;
String dns;
String port;
}
}
... ...
... ... @@ -25,7 +25,7 @@ public class ItemRequest extends ZabbixRequest {
private String hostids;
private String output = "extend";
private String[] output = {"hostid","itemid","key_"};
private String sortfield = "name";
... ...