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

com.gizwits.noti2.client.Payload Maven / Gradle / Ivy

Go to download

Enterprise customers can use the secure data transmission channel provided by SNoti, real-time data collection equipment, equipment for information sorting, equipment status statistics, equipment monitoring, etc .; can also remote control function, real-time transmission of business instructions to control online equipment

There is a newer version: 0.1.7
Show newest version
package com.gizwits.noti2.client;

import com.google.gson.annotations.SerializedName;

import java.util.Map;

/**
 * 远程控制设备信息
 */
public final class Payload {

    @SerializedName("product_key")
    private String productKey;
    @SerializedName("mac")
    private String mac;
    @SerializedName("did")
    private String did;
    @SerializedName("attrs")
    private Map attrs;
    @SerializedName("raw")
    private Byte[] raw;

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public Map getAttrs() {
        return attrs;
    }


    public void setAttrs(Map attrs) {
        if (attrs != null) {
            this.attrs = attrs;
        }

    }

    public Byte[] getRaw() {
        return raw;
    }

    public void setRaw(Byte[] raw) {

        if (raw != null) {
            this.raw = raw;
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy