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

com.zabbix4j.screen.ScreenCreateRequest Maven / Gradle / Ivy

There is a newer version: 0.1.9
Show newest version
package com.zabbix4j.screen;

import com.zabbix4j.ZabbixApiRequest;
import com.zabbix4j.screenitem.ScreenItemObject;

import java.util.List;

/**
 * @author Suguru Yajima
 */
public class ScreenCreateRequest extends ZabbixApiRequest {
    private Params params = new Params();

    public ScreenCreateRequest() {
        setMethod("screen.create");
    }

    /**
     * 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 ScreenObject {
        private List screenitems;

        /**
         * Gets screenitems.
         *
         * @return Value of screenitems.
         */
        public List getScreenitems() {
            return screenitems;
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy