|
@@ -1,20 +1,31 @@
|
|
|
package me.chanjar.weixin.mp.bean.device;
|
|
|
|
|
|
+import com.google.gson.annotations.SerializedName;
|
|
|
+
|
|
|
/**
|
|
|
* Created by keungtung on 10/12/2016.
|
|
|
*/
|
|
|
public class WxDevice {
|
|
|
private String id;
|
|
|
private String mac;
|
|
|
- private String connect_protocol;
|
|
|
- private String auth_key;
|
|
|
- private String close_strategy;
|
|
|
- private String conn_strategy;
|
|
|
- private String crypt_method;
|
|
|
- private String auth_ver;
|
|
|
- private String manu_mac_pos;
|
|
|
- private String ser_mac_pos;
|
|
|
- private String ble_simple_protocol;
|
|
|
+ @SerializedName("connect_protocol")
|
|
|
+ private String connectProtocol;
|
|
|
+ @SerializedName("auth_key")
|
|
|
+ private String authKey;
|
|
|
+ @SerializedName("close_strategy")
|
|
|
+ private String closeStrategy;
|
|
|
+ @SerializedName("conn_strategy")
|
|
|
+ private String connStrategy;
|
|
|
+ @SerializedName("crypt_method")
|
|
|
+ private String cryptMethod;
|
|
|
+ @SerializedName("auth_ver")
|
|
|
+ private String authVer;
|
|
|
+ @SerializedName("manu_mac_pos")
|
|
|
+ private String manuMacPos;
|
|
|
+ @SerializedName("ser_mac_pos")
|
|
|
+ private String serMacPos;
|
|
|
+ @SerializedName("ble_simple_protocol")
|
|
|
+ private String bleSimpleProtocol;
|
|
|
|
|
|
public String getId() {
|
|
|
return id;
|
|
@@ -32,75 +43,75 @@ public class WxDevice {
|
|
|
this.mac = mac;
|
|
|
}
|
|
|
|
|
|
- public String getConnect_protocol() {
|
|
|
- return connect_protocol;
|
|
|
+ public String getConnectProtocol() {
|
|
|
+ return connectProtocol;
|
|
|
}
|
|
|
|
|
|
- public void setConnect_protocol(String connect_protocol) {
|
|
|
- this.connect_protocol = connect_protocol;
|
|
|
+ public void setConnectProtocol(String connectProtocol) {
|
|
|
+ this.connectProtocol = connectProtocol;
|
|
|
}
|
|
|
|
|
|
- public String getAuth_key() {
|
|
|
- return auth_key;
|
|
|
+ public String getAuthKey() {
|
|
|
+ return authKey;
|
|
|
}
|
|
|
|
|
|
- public void setAuth_key(String auth_key) {
|
|
|
- this.auth_key = auth_key;
|
|
|
+ public void setAuthKey(String authKey) {
|
|
|
+ this.authKey = authKey;
|
|
|
}
|
|
|
|
|
|
- public String getClose_strategy() {
|
|
|
- return close_strategy;
|
|
|
+ public String getCloseStrategy() {
|
|
|
+ return closeStrategy;
|
|
|
}
|
|
|
|
|
|
- public void setClose_strategy(String close_strategy) {
|
|
|
- this.close_strategy = close_strategy;
|
|
|
+ public void setCloseStrategy(String closeStrategy) {
|
|
|
+ this.closeStrategy = closeStrategy;
|
|
|
}
|
|
|
|
|
|
- public String getConn_strategy() {
|
|
|
- return conn_strategy;
|
|
|
+ public String getConnStrategy() {
|
|
|
+ return connStrategy;
|
|
|
}
|
|
|
|
|
|
- public void setConn_strategy(String conn_strategy) {
|
|
|
- this.conn_strategy = conn_strategy;
|
|
|
+ public void setConnStrategy(String connStrategy) {
|
|
|
+ this.connStrategy = connStrategy;
|
|
|
}
|
|
|
|
|
|
- public String getCrypt_method() {
|
|
|
- return crypt_method;
|
|
|
+ public String getCryptMethod() {
|
|
|
+ return cryptMethod;
|
|
|
}
|
|
|
|
|
|
- public void setCrypt_method(String crypt_method) {
|
|
|
- this.crypt_method = crypt_method;
|
|
|
+ public void setCryptMethod(String cryptMethod) {
|
|
|
+ this.cryptMethod = cryptMethod;
|
|
|
}
|
|
|
|
|
|
- public String getAuth_ver() {
|
|
|
- return auth_ver;
|
|
|
+ public String getAuthVer() {
|
|
|
+ return authVer;
|
|
|
}
|
|
|
|
|
|
- public void setAuth_ver(String auth_ver) {
|
|
|
- this.auth_ver = auth_ver;
|
|
|
+ public void setAuthVer(String authVer) {
|
|
|
+ this.authVer = authVer;
|
|
|
}
|
|
|
|
|
|
- public String getManu_mac_pos() {
|
|
|
- return manu_mac_pos;
|
|
|
+ public String getManuMacPos() {
|
|
|
+ return manuMacPos;
|
|
|
}
|
|
|
|
|
|
- public void setManu_mac_pos(String manu_mac_pos) {
|
|
|
- this.manu_mac_pos = manu_mac_pos;
|
|
|
+ public void setManuMacPos(String manuMacPos) {
|
|
|
+ this.manuMacPos = manuMacPos;
|
|
|
}
|
|
|
|
|
|
- public String getSer_mac_pos() {
|
|
|
- return ser_mac_pos;
|
|
|
+ public String getSerMacPos() {
|
|
|
+ return serMacPos;
|
|
|
}
|
|
|
|
|
|
- public void setSer_mac_pos(String ser_mac_pos) {
|
|
|
- this.ser_mac_pos = ser_mac_pos;
|
|
|
+ public void setSerMacPos(String serMacPos) {
|
|
|
+ this.serMacPos = serMacPos;
|
|
|
}
|
|
|
|
|
|
- public String getBle_simple_protocol() {
|
|
|
- return ble_simple_protocol;
|
|
|
+ public String getBleSimpleProtocol() {
|
|
|
+ return bleSimpleProtocol;
|
|
|
}
|
|
|
|
|
|
- public void setBle_simple_protocol(String ble_simple_protocol) {
|
|
|
- this.ble_simple_protocol = ble_simple_protocol;
|
|
|
+ public void setBleSimpleProtocol(String bleSimpleProtocol) {
|
|
|
+ this.bleSimpleProtocol = bleSimpleProtocol;
|
|
|
}
|
|
|
}
|