Class Zone
- Namespace
- OverKizApi.Models
- Assembly
- OverKizApi.dll
A logical zone.
public sealed class Zone
- Inheritance
-
Zone
- Inherited Members
Properties
CreationTime
Unix epoch millisecond timestamp when the zone was created.
[JsonPropertyName("creationTime")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public long CreationTime { get; init; }
Property Value
ExternalOid
External system OID, if this zone is synchronised with a third-party integration.
[JsonPropertyName("externalOid")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ExternalOid { get; init; }
Property Value
Items
Devices belonging to this zone.
[JsonPropertyName("items")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyList<ZoneItem>? Items { get; init; }
Property Value
Label
User-visible label for the zone.
[JsonPropertyName("label")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Label { get; init; }
Property Value
LastUpdateTime
Unix epoch millisecond timestamp of the most recent update.
[JsonPropertyName("lastUpdateTime")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public long LastUpdateTime { get; init; }
Property Value
Metadata
Arbitrary metadata string attached to this zone.
[JsonPropertyName("metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Metadata { get; init; }
Property Value
Oid
Unique OID of this zone.
[JsonPropertyName("oid")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Oid { get; init; }
Property Value
Type
Zone type discriminator (opaque integer).
[JsonPropertyName("type")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public int Type { get; init; }