mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 08:28:46 +00:00
Updated bridge to be robust on put/post calls and testing. HAd to add a
body for off types.
This commit is contained in:
@@ -11,6 +11,7 @@ public class DeviceDescriptor{
|
||||
private String httpVerb;
|
||||
private String contentType;
|
||||
private String contentBody;
|
||||
private String contentBodyOff;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
@@ -75,6 +76,14 @@ public class DeviceDescriptor{
|
||||
public void setContentBody(String contentBody) {
|
||||
this.contentBody = contentBody;
|
||||
}
|
||||
|
||||
public String getContentBodyOff() {
|
||||
return contentBodyOff;
|
||||
}
|
||||
|
||||
public void setContentBodyOff(String contentBodyOff) {
|
||||
this.contentBodyOff = contentBodyOff;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user