Files
ha-bridge/src/main/java/com/bwssystems/HABridge/dao/DeviceDescriptor.java
Admin 7294dbf175 Added the Post Put capabilities for the http eecution. cleaned up css
for list ordering. Cleaned up device management calls.
2015-09-01 13:40:53 -05:00

81 lines
1.4 KiB
Java

package com.bwssystems.HABridge.dao;
/*
* Object to handle the device configuration
*/
public class DeviceDescriptor{
private String id;
private String name;
private String deviceType;
private String offUrl;
private String onUrl;
private String httpVerb;
private String contentType;
private String contentBody;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDeviceType() {
return deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getOffUrl() {
return offUrl;
}
public void setOffUrl(String offUrl) {
this.offUrl = offUrl;
}
public String getOnUrl() {
return onUrl;
}
public void setOnUrl(String onUrl) {
this.onUrl = onUrl;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getHttpVerb() {
return httpVerb;
}
public void setHttpVerb(String httpVerb) {
this.httpVerb = httpVerb;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public String getContentBody() {
return contentBody;
}
public void setContentBody(String contentBody) {
this.contentBody = contentBody;
}
}