Files
IM-server-new/common/src/main/java/cn/wildfirechat/pojos/OutputDevice.java
T

77 lines
1.5 KiB
Java
Raw Normal View History

2020-04-30 20:49:48 +08:00
/*
* This file is part of the Wildfire Chat package.
* (c) Heavyrain2012 <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
package cn.wildfirechat.pojos;
import cn.wildfirechat.proto.WFCMessage;
2020-05-01 09:39:08 +08:00
import java.util.List;
2020-04-30 20:49:48 +08:00
public class OutputDevice {
private int state;
private String deviceId;
private String token;
private String secret;
2020-05-01 09:39:08 +08:00
private List<String> owners;
2020-04-30 20:49:48 +08:00
private String extra;
public OutputDevice(String deviceId, String token, String secret) {
this.deviceId = deviceId;
this.token = token;
this.secret = secret;
}
public String getDeviceId() {
return deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public String getSecret() {
return secret;
}
public void setSecret(String secret) {
this.secret = secret;
}
public int getState() {
return state;
}
public void setState(int state) {
this.state = state;
}
2020-05-01 09:39:08 +08:00
public List<String> getOwners() {
return owners;
2020-04-30 20:49:48 +08:00
}
2020-05-01 09:39:08 +08:00
public void setOwners(List<String> owners) {
this.owners = owners;
2020-04-30 20:49:48 +08:00
}
public String getExtra() {
return extra;
}
public void setExtra(String extra) {
this.extra = extra;
}
}