mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-16 18:24:36 +00:00
81 lines
1.4 KiB
Java
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;
|
|
}
|
|
|
|
|
|
}
|