
com.zabbix4j.screenitem.ScreenItemGetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Zabbix4j Show documentation
Show all versions of Zabbix4j Show documentation
Zabbix API library for the Java language.
The newest version!
package com.zabbix4j.screenitem;
import com.zabbix4j.GetRequestCommonParams;
import com.zabbix4j.ZabbixApiRequest;
import com.zabbix4j.utils.ZbxListUtils;
import java.util.List;
/**
* @author Suguru Yajima
*/
public class ScreenItemGetRequest extends ZabbixApiRequest {
private Params params = new Params();
public ScreenItemGetRequest() {
setMethod("screenitem.get");
}
/**
* Gets params.
*
* @return Value of params.
*/
public Params getParams() {
return params;
}
/**
* Sets new params.
*
* @param params New value of params.
*/
public void setParams(Params params) {
this.params = params;
}
public class Params extends GetRequestCommonParams {
private List screenitemids;
private List screenids;
public void addScreenItemId(Integer id) {
screenitemids = ZbxListUtils.add(screenitemids, id);
}
public void addScreenId(Integer id) {
screenids = ZbxListUtils.add(screenids, id);
}
/**
* Gets screenitemids.
*
* @return Value of screenitemids.
*/
public List getScreenitemids() {
return screenitemids;
}
/**
* Sets new screenitemids.
*
* @param screenitemids New value of screenitemids.
*/
public void setScreenitemids(List screenitemids) {
this.screenitemids = screenitemids;
}
/**
* Gets screenids.
*
* @return Value of screenids.
*/
public List getScreenids() {
return screenids;
}
/**
* Sets new screenids.
*
* @param screenids New value of screenids.
*/
public void setScreenids(List screenids) {
this.screenids = screenids;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy