DoorLockTrait.SetWeekDayScheduleCommand.Request

class DoorLockTrait.SetWeekDayScheduleCommand.Request


The request payload for the SetWeekDaySchedule command.

Summary

Public constructors

Request(
    weekDayIndex: UByte,
    userIndex: UShort,
    daysMask: DoorLockTrait.DaysMaskMap,
    startHour: UByte,
    startMinute: UByte,
    endHour: UByte,
    endMinute: UByte
)

Creates a request payload for the SetWeekDaySchedule command.

Public properties

DoorLockTrait.DaysMaskMap

The days that constitute the repeating schedule.

UByte

The end hour of the repeating event.

UByte

The end minute of the repeating event.

UByte

The start hour of the repeating event.

UByte

The start minute of the repeating event.

UShort

The unique identifier for the user for whom the repeating schedule is being set.

UByte

The unique identifier for the week day.

Public constructors

Request

Request(
    weekDayIndex: UByte,
    userIndex: UShort,
    daysMask: DoorLockTrait.DaysMaskMap = DaysMaskMap(),
    startHour: UByte,
    startMinute: UByte,
    endHour: UByte,
    endMinute: UByte
)

Creates a request payload for the SetWeekDaySchedule command.

Public properties

daysMask

val daysMaskDoorLockTrait.DaysMaskMap

The days that constitute the repeating schedule. Valid values are defined by DaysMaskMap.

endHour

val endHourUByte

The end hour of the repeating event.

endMinute

val endMinuteUByte

The end minute of the repeating event.

startHour

val startHourUByte

The start hour of the repeating event.

startMinute

val startMinuteUByte

The start minute of the repeating event.

userIndex

val userIndexUShort

The unique identifier for the user for whom the repeating schedule is being set.

weekDayIndex

val weekDayIndexUByte

The unique identifier for the week day.