mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 08:13:23 +00:00
Start building HomeAssistant interface.
This commit is contained in:
52
src/main/java/com/bwssystems/hass/FieldElement.java
Normal file
52
src/main/java/com/bwssystems/hass/FieldElement.java
Normal file
@@ -0,0 +1,52 @@
|
||||
|
||||
package com.bwssystems.hass;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class FieldElement {
|
||||
|
||||
@SerializedName("description")
|
||||
@Expose
|
||||
private String description;
|
||||
@SerializedName("example")
|
||||
@Expose
|
||||
private String example;
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* The description
|
||||
*/
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param description
|
||||
* The description
|
||||
*/
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* The example
|
||||
*/
|
||||
public String getExample() {
|
||||
return example;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param example
|
||||
* The example
|
||||
*/
|
||||
public void setExample(String example) {
|
||||
this.example = example;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user