Class StateDefinition
- Namespace
- OverKizApi.Models
- Assembly
- OverKizApi.dll
Describes a state that a device can report, including its type and allowed values.
public sealed class StateDefinition
- Inheritance
-
StateDefinition
- Inherited Members
Properties
QualifiedName
Qualified name of the state (e.g. "core:ClosureState").
[JsonPropertyName("qualifiedName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? QualifiedName { get; init; }
Property Value
Type
Data type name as returned by the API (e.g. "Integer").
[JsonPropertyName("type")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Type { get; init; }
Property Value
Values
Allowed string values for enum-type states, or null for numeric/free-form states.
[JsonPropertyName("values")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyList<string>? Values { get; init; }