77 lines
1.5 KiB
Java
77 lines
1.5 KiB
Java
/*
|
|||
|
|
* 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;
|
||
|
|
|
||
import java.util.List;
|
|||
|
|
|
||
public class OutputDevice {
|
|||
|
|
private int state;
|
||
|
|
private String deviceId;
|
||
|
|
private String token;
|
||
|
|
private String secret;
|
||
private List<String> owners;
|
|||
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;
|
||
|
|
}
|
||
|
|
|
||
public List<String> getOwners() {
|
|||
|
|
return owners;
|
||
}
|
|||
|
|
|
||
public void setOwners(List<String> owners) {
|
|||
|
|
this.owners = owners;
|
||
}
|
|||
|
|
|
||
|
|
public String getExtra() {
|
||
|
|
return extra;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setExtra(String extra) {
|
||
|
|
this.extra = extra;
|
||
|
|
}
|
||
|
|
}
|