Table of Contents

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

long

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

string

Items

Devices belonging to this zone.

[JsonPropertyName("items")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public IReadOnlyList<ZoneItem>? Items { get; init; }

Property Value

IReadOnlyList<ZoneItem>

Label

User-visible label for the zone.

[JsonPropertyName("label")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Label { get; init; }

Property Value

string

LastUpdateTime

Unix epoch millisecond timestamp of the most recent update.

[JsonPropertyName("lastUpdateTime")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public long LastUpdateTime { get; init; }

Property Value

long

Metadata

Arbitrary metadata string attached to this zone.

[JsonPropertyName("metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Metadata { get; init; }

Property Value

string

Oid

Unique OID of this zone.

[JsonPropertyName("oid")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Oid { get; init; }

Property Value

string

Type

Zone type discriminator (opaque integer).

[JsonPropertyName("type")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public int Type { get; init; }

Property Value

int