DoorLockTrait.SetHolidayScheduleCommand.Request

class DoorLockTrait.SetHolidayScheduleCommand.Request


The request payload for the SetHolidaySchedule command.

Summary

Public constructors

Request(
    holidayIndex: UByte,
    localStartTime: UInt,
    localEndTime: UInt,
    operatingMode: DoorLockTrait.OperatingModeEnum
)

Creates a request payload for the SetHolidaySchedule command.

Public properties

UByte

The unique identifier for the holiday whose schedule is to be set.

UInt

The ending time for the holiday schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

UInt

The starting time for the holiday schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

DoorLockTrait.OperatingModeEnum

The operating mode to use for the specified holiday schedule start and end time.

Public constructors

Request

Request(
    holidayIndex: UByte,
    localStartTime: UInt,
    localEndTime: UInt,
    operatingMode: DoorLockTrait.OperatingModeEnum = OperatingModeEnum.Normal
)

Creates a request payload for the SetHolidaySchedule command.

Public properties

holidayIndex

val holidayIndexUByte

The unique identifier for the holiday whose schedule is to be set.

localEndTime

val localEndTimeUInt

The ending time for the holiday schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

localStartTime

val localStartTimeUInt

The starting time for the holiday schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

operatingMode

val operatingModeDoorLockTrait.OperatingModeEnum

The operating mode to use for the specified holiday schedule start and end time. Valid values are defined by OperatingModeEnum.