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

com.alibaba.schedulerx.worker.discovery.ArmoryResult Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
package com.alibaba.schedulerx.worker.discovery;


/**
 *
 * @author xiaomeng.hxm
 */
public class ArmoryResult {
    public class ArmoryData {
        String appName;
        boolean appUseTypeLocked;
        String app_use_type;
        int cacheMillis;
        String dns_ip;
        long id;
        String manifest;
        String nodegroup;
        String nodename;
        String product_name;
        String site;
        String sn;
        String state;
        long timestamp;
        String unit;
        boolean unitLocked;
        String uuid;
        public String getAppName() {
            return appName;
        }
        public void setAppName(String appName) {
            this.appName = appName;
        }
        public boolean isAppUseTypeLocked() {
            return appUseTypeLocked;
        }
        public void setAppUseTypeLocked(boolean appUseTypeLocked) {
            this.appUseTypeLocked = appUseTypeLocked;
        }
        public String getApp_use_type() {
            return app_use_type;
        }
        public void setApp_use_type(String app_use_type) {
            this.app_use_type = app_use_type;
        }
        public int getCacheMillis() {
            return cacheMillis;
        }
        public void setCacheMillis(int cacheMillis) {
            this.cacheMillis = cacheMillis;
        }
        public String getDns_ip() {
            return dns_ip;
        }
        public void setDns_ip(String dns_ip) {
            this.dns_ip = dns_ip;
        }
        public long getId() {
            return id;
        }
        public void setId(long id) {
            this.id = id;
        }
        public String getManifest() {
            return manifest;
        }
        public void setManifest(String manifest) {
            this.manifest = manifest;
        }
        public String getNodegroup() {
            return nodegroup;
        }
        public void setNodegroup(String nodegroup) {
            this.nodegroup = nodegroup;
        }
        public String getNodename() {
            return nodename;
        }
        public void setNodename(String nodename) {
            this.nodename = nodename;
        }
        public String getProduct_name() {
            return product_name;
        }
        public void setProduct_name(String product_name) {
            this.product_name = product_name;
        }
        public String getSite() {
            return site;
        }
        public void setSite(String site) {
            this.site = site;
        }
        public String getSn() {
            return sn;
        }
        public void setSn(String sn) {
            this.sn = sn;
        }
        public String getState() {
            return state;
        }
        public void setState(String state) {
            this.state = state;
        }
        public long getTimestamp() {
            return timestamp;
        }
        public void setTimestamp(long timestamp) {
            this.timestamp = timestamp;
        }
        public String getUnit() {
            return unit;
        }
        public void setUnit(String unit) {
            this.unit = unit;
        }
        public boolean isUnitLocked() {
            return unitLocked;
        }
        public void setUnitLocked(boolean unitLocked) {
            this.unitLocked = unitLocked;
        }
        public String getUuid() {
            return uuid;
        }
        public void setUuid(String uuid) {
            this.uuid = uuid;
        }

        @Override
        public String toString() {
            return "ArmoryData [appName=" + appName + ", appUseTypeLocked=" + appUseTypeLocked + ", app_use_type="
                    + app_use_type + ", cacheMillis=" + cacheMillis + ", dns_ip=" + dns_ip + ", id=" + id
                    + ", manifest=" + manifest + ", nodegroup=" + nodegroup + ", nodename=" + nodename
                    + ", product_name=" + product_name + ", site=" + site + ", sn=" + sn + ", state=" + state
                    + ", timestamp=" + timestamp + ", unit=" + unit + ", unitLocked=" + unitLocked + ", uuid=" + uuid
                    + "]";
        }

    }


    private boolean success;
    private ArmoryData data;

    public boolean isSuccess() {
        return success;
    }
    public void setSuccess(boolean success) {
        this.success = success;
    }
    public ArmoryData getData() {
        return data;
    }
    public void setData(ArmoryData data) {
        this.data = data;
    }
    @Override
    public String toString() {
        return "ArmoryResult [success=" + success + ", data=" + data + "]";
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy