-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: exposing more information about equipment (#7)
- Loading branch information
1 parent
13fa69e
commit 2c221fe
Showing
5 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
src/main/java/com/bigboxer23/eco_net/data/Constraints.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.bigboxer23.eco_net.data; | ||
|
||
import com.squareup.moshi.Json; | ||
import java.util.List; | ||
import lombok.Data; | ||
|
||
/** */ | ||
@Data | ||
public class Constraints { | ||
@Json(name = "enumText") | ||
private List<String> modes; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.bigboxer23.eco_net.data; | ||
|
||
import com.squareup.moshi.Json; | ||
import lombok.Data; | ||
|
||
/** */ | ||
@Data | ||
public class Modes { | ||
private Constraints constraints; | ||
|
||
@Json(name = "status") | ||
private String activeMode; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.bigboxer23.eco_net.data; | ||
|
||
import lombok.Data; | ||
|
||
/** */ | ||
@Data | ||
public class ValueHolder<T> { | ||
private T value; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters