- Maven + JDK 8 project - HmacMD5 signature utility - Apache HttpClient wrapper - Storage API (11 endpoints) + Aux API (4 endpoints) - Unified AuvClient entry point - 20 unit tests
29 lines
919 B
Java
29 lines
919 B
Java
package com.auv.locker.model.aux;
|
|
|
|
/**
|
|
* 设备状态变更通知回调参数模型。
|
|
* notifyType: device_status_sync
|
|
*/
|
|
public class DeviceStatusNotify {
|
|
|
|
private String notifyTime;
|
|
private String notifyType;
|
|
private String appId;
|
|
private String charset;
|
|
private String version;
|
|
private String signType;
|
|
private String sign;
|
|
private String deviceId;
|
|
private String deviceStatus; // ONLINE / OFFLINE
|
|
|
|
public String getNotifyTime() { return notifyTime; }
|
|
public String getNotifyType() { return notifyType; }
|
|
public String getAppId() { return appId; }
|
|
public String getCharset() { return charset; }
|
|
public String getVersion() { return version; }
|
|
public String getSignType() { return signType; }
|
|
public String getSign() { return sign; }
|
|
public String getDeviceId() { return deviceId; }
|
|
public String getDeviceStatus() { return deviceStatus; }
|
|
}
|