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

com.zabbix4j.maintenance.MaintenanceGetResponse Maven / Gradle / Ivy

package com.zabbix4j.maintenance;

import com.zabbix4j.ZabbixApiResponse;
import com.zabbix4j.hostgroup.HostgroupObject;

import java.util.List;

/**
 * @author Suguru Yajima
 */
public class MaintenanceGetResponse extends ZabbixApiResponse {

    private List result;

    public MaintenanceGetResponse() {
        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 MaintenanceObject {

        private List groups;
        private List timeperiods;

        /**
         * Gets timeperiods.
         *
         * @return Value of timeperiods.
         */
        public List getTimeperiods() {
            return timeperiods;
        }

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

        /**
         * 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;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy