Removed Example Console Project
Removed Old Api Classes Added new Http Api Service and Classes TODO Dynamic Effect Methods
This commit is contained in:
21
GoveeCSharpConnector/Objects/Misc/Field.cs
Normal file
21
GoveeCSharpConnector/Objects/Misc/Field.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace GoveeCSharpConnector.Objects.Misc;
|
||||
|
||||
public class Field
|
||||
{
|
||||
[JsonPropertyName("fieldName")]
|
||||
public string FieldName { get; set; }
|
||||
[JsonPropertyName("dataType")]
|
||||
public string DataType { get; set; }
|
||||
[JsonPropertyName("options")]
|
||||
public List<Option> Options { get; set; }
|
||||
[JsonPropertyName("required")]
|
||||
public bool Required { get; set; }
|
||||
[JsonPropertyName("range")]
|
||||
public Range Range { get; set; }
|
||||
[JsonPropertyName("unit")]
|
||||
public string Unit { get; set; }
|
||||
[JsonPropertyName("reauired")]
|
||||
public bool? Reauired { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user