Table of Contents

Class Scenario

Namespace
OverKizApi.Models
Assembly
OverKizApi.dll

A named scenario (action group) stored in the setup that can be triggered by name or OID. Scenarios can include optional notification settings and scheduled triggers.

public sealed class Scenario
Inheritance
Scenario
Inherited Members

Properties

Actions

The actions (device command sets) that make up this scenario.

public IReadOnlyList<Action> Actions { get; init; }

Property Value

IReadOnlyList<Action>

CreationTime

Unix epoch millisecond timestamp when the scenario was created.

public long CreationTime { get; init; }

Property Value

long

Id

Alias for Oid; provided for convenience.

public string? Id { get; }

Property Value

string

Label

User-visible label for the scenario.

public string? Label { get; init; }

Property Value

string

LastUpdateTime

Unix epoch millisecond timestamp of the most recent update, or null if never updated.

public long? LastUpdateTime { get; init; }

Property Value

long?

Metadata

Arbitrary metadata string attached to this scenario.

public string? Metadata { get; init; }

Property Value

string

NotificationCondition

Condition expression evaluated before sending a notification.

public string? NotificationCondition { get; init; }

Property Value

string

NotificationText

Body text of the push notification sent when this scenario executes.

public string? NotificationText { get; init; }

Property Value

string

NotificationTitle

Title of the push notification sent when this scenario executes.

public string? NotificationTitle { get; init; }

Property Value

string

NotificationTypeMask

Bitmask controlling which notification types fire when this scenario runs.

public int? NotificationTypeMask { get; init; }

Property Value

int?

Oid

Unique OID of this scenario.

public string? Oid { get; init; }

Property Value

string

Shortcut

Whether this scenario appears as a shortcut in the Overkiz app.

public bool? Shortcut { get; init; }

Property Value

bool?