All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zabbix4j.script.ScriptGetResponse Maven / Gradle / Ivy

The newest version!
package com.zabbix4j.script;

import com.zabbix4j.ZabbixApiResponse;
import com.zabbix4j.host.HostObject;
import com.zabbix4j.usergroup.UserGroupObject;

import java.util.List;

/**
 * @author Suguru Yajima
 */
public class ScriptGetResponse extends ZabbixApiResponse {
    private List result;

    public ScriptGetResponse() {
        super();
    }

    /**
     * Gets result.
     *
     * @return Value of result.
     */
    public List getResult() {
        return result;
    }

    /**
     * Sets new result.
     *
     * @param result New value of result.
     */
    public void setResult(List result) {
        this.result = result;
    }

    public class Result extends ScriptObject {

        private List groups;
        private List hosts;

        /**
         * Gets groups.
         *
         * @return Value of groups.
         */
        public List getGroups() {
            return groups;
        }

        /**
         * Sets new groups.
         *
         * @param groups New value of groups.
         */
        public void setGroups(List groups) {
            this.groups = groups;
        }

        /**
         * Gets hosts.
         *
         * @return Value of hosts.
         */
        public List getHosts() {
            return hosts;
        }

        /**
         * Sets new hosts.
         *
         * @param hosts New value of hosts.
         */
        public void setHosts(List hosts) {
            this.hosts = hosts;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy