-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
254 additions
and
82 deletions.
There are no files selected for viewing
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,30 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Text.Json.Serialization; | ||
using System.Threading.Tasks; | ||
|
||
namespace openHAB.Core.Client.Models | ||
{ | ||
public partial class Metadata | ||
{ | ||
[JsonPropertyName("additionalProp1")] | ||
public object AdditionalProp1 | ||
{ | ||
get; set; | ||
} | ||
|
||
[JsonPropertyName("additionalProp2")] | ||
public object AdditionalProp2 | ||
{ | ||
get; set; | ||
} | ||
|
||
[JsonPropertyName("additionalProp3")] | ||
public object AdditionalProp3 | ||
{ | ||
get; set; | ||
} | ||
} | ||
} |
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,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Text.Json.Serialization; | ||
using System.Threading.Tasks; | ||
|
||
namespace openHAB.Core.Client.Models | ||
{ | ||
public class Option | ||
{ | ||
[JsonPropertyName("value")] | ||
public string Value | ||
{ | ||
get; set; | ||
} | ||
|
||
[JsonPropertyName("label")] | ||
public string Label | ||
{ | ||
get; set; | ||
} | ||
} | ||
} |
Oops, something went wrong.